From patchwork Sat Jul 9 21:18:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Biggers X-Patchwork-Id: 12912321 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 013D7CCA47C for ; Sat, 9 Jul 2022 21:21:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229518AbiGIVVZ (ORCPT ); Sat, 9 Jul 2022 17:21:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229463AbiGIVVZ (ORCPT ); Sat, 9 Jul 2022 17:21:25 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1F68193F9; Sat, 9 Jul 2022 14:21:24 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1EA8460FD6; Sat, 9 Jul 2022 21:21:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4F872C3411E; Sat, 9 Jul 2022 21:21:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657401683; bh=L3YqTVtj2quQbUWGetdHlZbPD/g3nkXrE6pzg8xh81k=; h=From:To:Cc:Subject:Date:From; b=t2jRjcqyW0PNdMBdCUhgeVt7/xXy/UYDSgtCozRGHV/3RhkUvjo6lbVYmgJQ7gWkR AeEKjqTmvXJX+5OEZYSoeuwdprfqB2wgvwxxF7TchUZeoN46WhaOm56X9PgBxV+gpL n5ik/TrnJqMQFrJ2BybiJScARGg7T1Lk6JVGVc3G8YZcKVY8hW9PKS4NpKhbpVFpFF T3XV1CdNxqbwCnsA/OQA2W8gBgW96ZIWoLO/ZwrFk535oY1q5SZ7CSZEe/BKVIbKbO rxCP9Q53H/fPppQzogZR8C9Jzm0brBKiqlYjQOUMF/x0fG++eOZz7TQwz3Jnu76ggB mQ6gDWKUHxlpg== From: Eric Biggers To: linux-crypto@vger.kernel.org Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, "Jason A . Donenfeld " Subject: [PATCH 0/2] crypto: make the sha1 library optional Date: Sat, 9 Jul 2022 14:18:47 -0700 Message-Id: <20220709211849.210850-1-ebiggers@kernel.org> X-Mailer: git-send-email 2.37.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This series makes it possible to build the kernel without SHA-1 support, although for now this is only possible in minimal configurations, due to the uses of SHA-1 in the networking subsystem. Eric Biggers (2): crypto: move lib/sha1.c into lib/crypto/ crypto: make the sha1 library optional crypto/Kconfig | 1 + init/Kconfig | 1 + lib/Makefile | 2 +- lib/crypto/Kconfig | 3 +++ lib/crypto/Makefile | 3 +++ lib/{ => crypto}/sha1.c | 0 net/ipv6/Kconfig | 1 + 7 files changed, 10 insertions(+), 1 deletion(-) rename lib/{ => crypto}/sha1.c (100%) base-commit: 79e6e2f3f3ff345947075341781e900e4f70db81