Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4072016pxf; Mon, 29 Mar 2021 21:01:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZB7yNYzj+6d58u8vKbY4gmnucv9lDmMCKgfQHVXkzG6VyWPEGpgZD79URSQgo0Mowb4LJ X-Received: by 2002:a50:d84e:: with SMTP id v14mr20983517edj.357.1617076910489; Mon, 29 Mar 2021 21:01:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617076910; cv=none; d=google.com; s=arc-20160816; b=P0H2WjJH3WPguMloHHPF5+5c1hIuo7wWbKLxES34uiL4136wXUD3IxMmWH8enFt1h9 LTTCk8xkIdTCk9q+u7XR9LtUKbpizN7hBBn+vn44sQ68oqKis9qGnw+N5ufdf6YshSa4 fhBwFnTjOYz6cCFa3qC8vGloO/SnU4cDHLAMB8cATaGAQHu/whYbk2mBQeuuqDYQ5LLu zarwVjM9gCwaDum9MyDExOHi2WGK0gdCy/ZK+ZBSNCqT/dauzszQ66rb3cch/qRJS3Md qrV04nVj1rPRniszULSaTkFaNPxtdCIb+cGddzYZV4v26xQZ9gND+tmbkMPfueZp7wNe Eq4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=hYfRYTxBigBwTh0JILosDjKFMVzAvZhJg1P7LSziAz8=; b=rMvXNW35cOmPseFEzSYuW9l5+WUJrlz/RC5KOLl8VJ2du2wGYnAOb1tpa49YR+vzli M26BYBxhRKVDU/lp6RPr81ftxCcdK7HLpNd/BGZFgvJAlAQ/ZXVHWJcxayX/VT+eZ8ra YV6+4wY1t8g7hYcb8T6fEXnCmULZUKA2GRykHfi2p3ex2WWxDT/ELYd0GNKLNz6d0KKb p+km9DwYCe9KaJ8n1kGXHcnPImOj4rzvSI2dAve3fjdyTJO2lZeGVpM9XywsVbN+HGyE hBeANnx8yimd3lwpA6zdpMXe41r+76jKnP0Vio60+T69KjMzljSZdeeRMByIwAfVDFY4 EHZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=JcidEuHC; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l11si14171960ejq.118.2021.03.29.21.01.17; Mon, 29 Mar 2021 21:01:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=JcidEuHC; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230244AbhC3EA2 (ORCPT + 99 others); Tue, 30 Mar 2021 00:00:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229737AbhC3EAM (ORCPT ); Tue, 30 Mar 2021 00:00:12 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59B86C061762; Mon, 29 Mar 2021 21:00:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=hYfRYTxBigBwTh0JILosDjKFMVzAvZhJg1P7LSziAz8=; b=JcidEuHCe0eqhcxA64WH3kGKF+ 7ha0FGDncpQ+OVz94HAsQYvsX5yT4YvcJFdXNm0SXJ79H+ytLj7u6/ZE2n1gl9NjxVbPJG4BXbCMk AvLEEOPunbWLaXo9vZ5NSEBnneXgaAy+4Pv+7xrZPMt3TvO3BQNpj3KOBYd14GmgUHZg+jThlsYQ2 KJdi8mWvly0A+pOgg4StUhV/xNL6euiY2xZFdqu1YzDcc8hVtLAo52tgBYkF7KE8ggLNzsS+LXotp hPm4lfc+QWxEnIZoR2pU8lREHM+uD8kNZ/QVEhiefdIZgZkMoFT+4TsPvJ2jInPM5qz77GJwCeN4H yIgLbTeg==; Received: from [2601:1c0:6280:3f0::4557] (helo=smtpauth.infradead.org) by desiato.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1lR5Xy-002dGI-Aj; Tue, 30 Mar 2021 04:00:09 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Dexuan Cui , linux-crypto@vger.kernel.org, Eric Biggers , Herbert Xu , "David S. Miller" , Jonathan Corbet , linux-doc@vger.kernel.org Subject: [PATCH] Documentation: crypto: add info about "fips=" boot option Date: Mon, 29 Mar 2021 21:00:01 -0700 Message-Id: <20210330040001.31524-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Having just seen a report of using "fips=1" on the kernel command line, I could not find it documented anywhere, so add some help for it. Signed-off-by: Randy Dunlap Cc: Dexuan Cui Cc: linux-crypto@vger.kernel.org Cc: Eric Biggers Cc: Herbert Xu Cc: "David S. Miller" Cc: Jonathan Corbet Cc: linux-doc@vger.kernel.org --- Updates/corrections welcome. Documentation/admin-guide/kernel-parameters.txt | 15 ++++++++++++++ 1 file changed, 15 insertions(+) --- linux-next-20210329.orig/Documentation/admin-guide/kernel-parameters.txt +++ linux-next-20210329/Documentation/admin-guide/kernel-parameters.txt @@ -1370,6 +1370,21 @@ See Documentation/admin-guide/sysctl/net.rst for fb_tunnels_only_for_init_ns + fips= Format: { 0 | 1} + Use to disable (0) or enable (1) FIPS mode. + If enabled, any process that is waiting on the + 'fips_fail_notif_chain' will be notified of fips + failures. + This setting can also be modified via sysctl at + /proc/sysctl/crypto/fips_enabled, i.e., + crypto.fips_enabled. + If fips_enabled = 1, some crypto tests are skipped. + It can also effect which ECC curve is used. + If fips_enabled = 1 and a test fails, it will cause a + kernel panic. + If fips_enabled = 1, RSA test requires a key size of + 2K or larger. + floppy= [HW] See Documentation/admin-guide/blockdev/floppy.rst.