* [PATCH] crypto: mark authenticated ctr(aes) also as FIPS able
@ 2016-02-04 14:30 Marcus Meissner
2016-02-04 14:36 ` Stephan Mueller
2016-02-06 7:48 ` Herbert Xu
0 siblings, 2 replies; 5+ messages in thread
From: Marcus Meissner @ 2016-02-04 14:30 UTC (permalink / raw
To: herbert, davem, linux-crypto, linux-kernel; +Cc: Marcus Meissner
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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] crypto: mark authenticated ctr(aes) also as FIPS able
2016-02-04 14:30 Marcus Meissner
@ 2016-02-04 14:36 ` Stephan Mueller
2016-02-06 7:48 ` Herbert Xu
1 sibling, 0 replies; 5+ messages in thread
From: Stephan Mueller @ 2016-02-04 14:36 UTC (permalink / raw
To: Marcus Meissner; +Cc: herbert, davem, linux-crypto, linux-kernel
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] crypto: mark authenticated ctr(aes) also as FIPS able
2016-02-04 14:30 Marcus Meissner
2016-02-04 14:36 ` Stephan Mueller
@ 2016-02-06 7:48 ` Herbert Xu
1 sibling, 0 replies; 5+ messages in thread
From: Herbert Xu @ 2016-02-06 7:48 UTC (permalink / raw
To: Marcus Meissner; +Cc: davem, linux-crypto, linux-kernel
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH] crypto: mark authenticated ctr(aes) also as FIPS able
@ 2016-02-06 10:53 Marcus Meissner
2016-02-16 20:22 ` Herbert Xu
0 siblings, 1 reply; 5+ messages in thread
From: Marcus Meissner @ 2016-02-06 10:53 UTC (permalink / raw
To: herbert, davem, linux-crypto, linux-kernel; +Cc: Marcus Meissner
(2nd try that adds missing , to build.)
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..7d66cf8 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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] crypto: mark authenticated ctr(aes) also as FIPS able
2016-02-06 10:53 [PATCH] crypto: mark authenticated ctr(aes) also as FIPS able Marcus Meissner
@ 2016-02-16 20:22 ` Herbert Xu
0 siblings, 0 replies; 5+ messages in thread
From: Herbert Xu @ 2016-02-16 20:22 UTC (permalink / raw
To: Marcus Meissner; +Cc: davem, linux-crypto, linux-kernel
On Sat, Feb 06, 2016 at 11:53:07AM +0100, Marcus Meissner wrote:
> (2nd try that adds missing , to build.)
>
> Signed-off-by: Marcus Meissner <meissner@suse.de>
Applied.
--
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-02-16 20:22 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-06 10:53 [PATCH] crypto: mark authenticated ctr(aes) also as FIPS able Marcus Meissner
2016-02-16 20:22 ` Herbert Xu
-- strict thread matches above, loose matches on Subject: below --
2016-02-04 14:30 Marcus Meissner
2016-02-04 14:36 ` Stephan Mueller
2016-02-06 7:48 ` Herbert Xu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.