Message ID | 20221108142025.13461-1-nstange@suse.de |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2740728wru; Tue, 8 Nov 2022 06:28:00 -0800 (PST) X-Google-Smtp-Source: AMsMyM4h6PNZkCctrjlt8Dt8IlSy0qVc+wNENA8R5Gzqr3Z1ZBJ6oB5/oTPuOmBRqxYoahIl3Ui2 X-Received: by 2002:a17:907:a0c7:b0:7ad:d945:553d with SMTP id hw7-20020a170907a0c700b007add945553dmr42985663ejc.95.1667917680518; Tue, 08 Nov 2022 06:28:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667917680; cv=none; d=google.com; s=arc-20160816; b=nzO98T8lHzqTFsLLfcIKK3ODyjsP1Ss8FCnZ/SVAuzY/gTZIZeyiHpXJBUCTVzQVYJ JjQrcwU1eFngQJIzAhyMnLObfQwL+7wJFmeEKftyyWtJg8jL7wHspoSYwcTMpaFSRo+3 bs+eNOb56YJ06MkkL/VtOCfGv9V6teiuOsb1F/bUPIun3MP/JsyUUch+2qaQ3aS+i53V fPT0AzOhpTslDyoUuq2iqkbA/EXPpVTqpk9sYEm1BwI4vH6+RjXTzB/q0QpTM/3K8lUC KQ9p9X7qUwD4/1Gk2ciKE9cQg9vZQ6oYE2hVnO6+X+rrpRj9dB8+MI/WGASe8ndokaTl P3tQ== 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:dkim-signature; bh=zEIm8FIV+6p3ETHKPUDk0ZSb7Xtz18tlXw3EGnkfS8c=; b=HyBG5djXq5647GyPerhrsQwIh0FIt/4IhY/uqQS+OLuUnUGWpiWYvMHkGDY39bwshw botdJmmMo8lBoKmHULJehDkD7fC2D9UZjgGdaaGCMPovIw3UtatqxZh7KZyXA4q22CJA uBRbfoDRaK7II67H+k5LpMDqg2inpR3x2cimnsdfjEWad2FgItcleyWlI2KWZhPz8xQq yCxR98QA/ePQBo+ofxmpFPnLkliTxNcD9InoAde6hMDAzlXX1Xr97LeCeyqBxCTg3qhU 7YlkzSP5/6GRHzcSI0nv8cM7yGcz+7pvF6umZyyb2p5Xm0DkQSoiGG9awzzjQM/RTJYs AXJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=lFEhg6Ep; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=WhQJesne; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hz4-20020a1709072ce400b007811e006b46si14536744ejc.470.2022.11.08.06.27.33; Tue, 08 Nov 2022 06:28:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=lFEhg6Ep; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=WhQJesne; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234256AbiKHOUs (ORCPT <rfc822;tony84727@gmail.com> + 99 others); Tue, 8 Nov 2022 09:20:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233762AbiKHOUp (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 8 Nov 2022 09:20:45 -0500 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A961862D3; Tue, 8 Nov 2022 06:20:44 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 598C61FB65; Tue, 8 Nov 2022 14:20:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1667917243; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=zEIm8FIV+6p3ETHKPUDk0ZSb7Xtz18tlXw3EGnkfS8c=; b=lFEhg6EpE0jYcbBG1BXDU5AVguKqeTKYVwLBV8cVFPBb3q2bxgWJiRCDA3bXkZM8av8tUy Q9fg7tbQKczVjISNK8HX1T1+EbK7cSLrTdbqKnWJkYQHyBJZaTq3IJPiqKs/5SMTqjsk/1 8xkjmblhV+5pfU4MDWiZKBqMRLJWmBI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1667917243; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=zEIm8FIV+6p3ETHKPUDk0ZSb7Xtz18tlXw3EGnkfS8c=; b=WhQJesnek4dczWRnT/mqbEXdi7omlk34VRLPhy56Gn6wsAKu1UKsIQoEhwClpf2r9Q0UhO WYEjHCx1eoltHPAg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 479E513398; Tue, 8 Nov 2022 14:20:43 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id PWbQELtlamMIKQAAMHmgww (envelope-from <nstange@suse.de>); Tue, 08 Nov 2022 14:20:43 +0000 From: Nicolai Stange <nstange@suse.de> To: Herbert Xu <herbert@gondor.apana.org.au>, "David S. Miller" <davem@davemloft.net> Cc: Vladis Dronov <vdronov@redhat.com>, Stephan Mueller <smueller@chronox.de>, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Nicolai Stange <nstange@suse.de> Subject: [PATCH 0/4] Trivial set of FIPS 140-3 related changes Date: Tue, 8 Nov 2022 15:20:21 +0100 Message-Id: <20221108142025.13461-1-nstange@suse.de> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748938449596010714?= X-GMAIL-MSGID: =?utf-8?q?1748938449596010714?= |
Series |
Trivial set of FIPS 140-3 related changes
|
|
Message
Nicolai Stange
Nov. 8, 2022, 2:20 p.m. UTC
Hi all, these four rather unrelated patches are basically a dump of some of the more trivial changes required for working towards FIPS 140-3 conformance. Please pick as you deem appropriate. Thanks! Nicolai Nicolai Stange (4): crypto: xts - restrict key lengths to approved values in FIPS mode crypto: testmgr - disallow plain cbcmac(aes) in FIPS mode crypto: testmgr - disallow plain ghash in FIPS mode crypto: testmgr - allow ecdsa-nist-p256 and -p384 in FIPS mode crypto/testmgr.c | 4 ++-- include/crypto/xts.h | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-)
Comments
Hi Nicolai, Robert, Herbert, all, I would like to revive this older upstream email thread. I would like to address notes from reviewers (namely, Robert) by additional patches so the whole patchset can be accepted. This should ease our future kernel work re: FIPS. The below 2 patches address (I hope) both notes Robert and Herbert have provided (thanks!). I hope the whole patchset can be accepted then. Logically my 2 patches should follow [PATCH 1/4] and be patches 2 and 3. Herbert is it possible to reorder them when accepting? Thank you! and Best regards, Vladis Vladis Dronov (2): crypto: xts - drop xts_check_key() crypto: xts - drop redundant xts key check
On Wed, Dec 21, 2022 at 04:24:00PM +0100, Vladis Dronov wrote: > Hi Nicolai, Robert, Herbert, all, > > I would like to revive this older upstream email thread. I would like > to address notes from reviewers (namely, Robert) by additional patches > so the whole patchset can be accepted. This should ease our future > kernel work re: FIPS. > > The below 2 patches address (I hope) both notes Robert and Herbert have > provided (thanks!). I hope the whole patchset can be accepted then. > > Logically my 2 patches should follow [PATCH 1/4] and be patches 2 and 3. > Herbert is it possible to reorder them when accepting? > > Thank you! and > > Best regards, > Vladis Please just resend the whole series, with the --base option to git format-patch used, so that reviewers don't have to try to piece it together. - Eric
Hi, On Wed, Dec 21, 2022 at 9:56 PM Eric Biggers <ebiggers@kernel.org> wrote: > > On Wed, Dec 21, 2022 at 04:24:00PM +0100, Vladis Dronov wrote: > > Hi Nicolai, Robert, Herbert, all, > > > > I would like to revive this older upstream email thread. I would like > > to address notes from reviewers (namely, Robert) by additional patches > > so the whole patchset can be accepted. This should ease our future > > kernel work re: FIPS. > > > > The below 2 patches address (I hope) both notes Robert and Herbert have > > provided (thanks!). I hope the whole patchset can be accepted then. > > > > Logically my 2 patches should follow [PATCH 1/4] and be patches 2 and 3. > > Herbert is it possible to reorder them when accepting? > > > > Thank you! and > > > > Best regards, > > Vladis > > Please just resend the whole series, with the --base option to git format-patch > used, so that reviewers don't have to try to piece it together. Thank you, Eric, the patchset was resend with a proper ordering: https://lore.kernel.org/linux-crypto/20221221224111.19254-1-vdronov@redhat.com/T/#t with a subject: [PATCH 0/6] Trivial set of FIPS 140-3 related changes Best regards, Vladis