Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1326874 > unrolled thread

[PATCH] crypto: mark authenticated ctr(aes) also as FIPS able

Started byMarcus Meissner <meissner@suse.de>
First post2016-02-04 15:40 +0100
Last post2016-02-06 08:50 +0100
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] crypto: mark authenticated ctr(aes) also as FIPS able Marcus Meissner <meissner@suse.de> - 2016-02-04 15:40 +0100
    Re: [PATCH] crypto: mark authenticated ctr(aes) also as FIPS able Stephan Mueller <smueller@chronox.de> - 2016-02-04 15:40 +0100
    Re: [PATCH] crypto: mark authenticated ctr(aes) also as FIPS able Herbert Xu <herbert@gondor.apana.org.au> - 2016-02-06 08:50 +0100

#1326874 — [PATCH] crypto: mark authenticated ctr(aes) also as FIPS able

FromMarcus Meissner <meissner@suse.de>
Date2016-02-04 15:40 +0100
Subject[PATCH] crypto: mark authenticated ctr(aes) also as FIPS able
Message-ID<qYteH-3bN-21@gated-at.bofh.it>
Signed-off-by: Marcus Meissner <meissner@suse.de>
---
 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,
-- 
2.1.4

[toc] | [next] | [standalone]


#1326876

FromStephan Mueller <smueller@chronox.de>
Date2016-02-04 15:40 +0100
Message-ID<qYteH-3bN-33@gated-at.bofh.it>
In reply to#1326874
Am Donnerstag, 4. Februar 2016, 15:30:26 schrieb Marcus Meissner:

Hi Marcus,

> Signed-off-by: Marcus Meissner <meissner@suse.de>

Acked-by: Stephan Mueller <smueller@chronox.de>
> ---
>  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

[toc] | [prev] | [next] | [standalone]


#1328255

FromHerbert Xu <herbert@gondor.apana.org.au>
Date2016-02-06 08:50 +0100
Message-ID<qZ5N0-46X-25@gated-at.bofh.it>
In reply to#1326874
On Thu, Feb 04, 2016 at 03:30:26PM +0100, Marcus Meissner wrote:
> Signed-off-by: Marcus Meissner <meissner@suse.de>

This doesn't compile for me.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web