From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758075AbcBDOgx (ORCPT ); Thu, 4 Feb 2016 09:36:53 -0500 Received: from mail.eperm.de ([89.247.134.16]:60750 "EHLO mail.eperm.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752396AbcBDOgv (ORCPT ); Thu, 4 Feb 2016 09:36:51 -0500 From: Stephan Mueller To: Marcus Meissner Cc: herbert@gondor.apana.org.au, davem@davemloft.net, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] crypto: mark authenticated ctr(aes) also as FIPS able Date: Thu, 04 Feb 2016 15:36:48 +0100 Message-ID: <3713148.5C80UWCsQh@positron.chronox.de> User-Agent: KMail/4.14.10 (Linux/4.3.4-300.fc23.x86_64; KDE/4.14.16; x86_64; ; ) In-Reply-To: <1454596226-27843-1-git-send-email-meissner@suse.de> References: <1454596226-27843-1-git-send-email-meissner@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Donnerstag, 4. Februar 2016, 15:30:26 schrieb Marcus Meissner: Hi Marcus, > Signed-off-by: Marcus Meissner Acked-by: Stephan Mueller > --- > crypto/testmgr.c | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/crypto/testmgr.c b/crypto/testmgr.c > index ae8c57fd..ff6a799 100644 > --- a/crypto/testmgr.c > +++ b/crypto/testmgr.c > @@ -2143,6 +2143,10 @@ static const struct alg_test_desc alg_test_descs[] = > { } > } > }, { > + .alg = "authenc(hmac(sha1),ctr(aes))" > + .test = alg_test_null, > + .fips_allowed = 1, > + }, { > .alg = "authenc(hmac(sha1),ecb(cipher_null))", > .test = alg_test_aead, > .suite = { > @@ -2227,6 +2231,10 @@ static const struct alg_test_desc alg_test_descs[] = > { } > } > }, { > + .alg = "authenc(hmac(sha256),ctr(aes))" > + .test = alg_test_null, > + .fips_allowed = 1, > + }, { > .alg = "authenc(hmac(sha384),cbc(des))", > .test = alg_test_aead, > .suite = { > @@ -2253,6 +2261,10 @@ static const struct alg_test_desc alg_test_descs[] = > { } > } > }, { > + .alg = "authenc(hmac(sha384),ctr(aes))" > + .test = alg_test_null, > + .fips_allowed = 1, > + }, { > .alg = "authenc(hmac(sha512),cbc(aes))", > .test = alg_test_aead, > .suite = { > @@ -2292,6 +2304,10 @@ static const struct alg_test_desc alg_test_descs[] = > { } > } > }, { > + .alg = "authenc(hmac(sha512),ctr(aes))" > + .test = alg_test_null, > + .fips_allowed = 1, > + }, { > .alg = "cbc(aes)", > .test = alg_test_skcipher, > .fips_allowed = 1, Ciao Stephan