Skip to contentSkip to conversation

crypto: testmgr - allow authenc(sha224,rfc3686) variant in fips mode

PATCH In review Aleksander Jan Bajkowski 2 participants 2 messages Jan 1 – Jan 23

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto: testmgr - allow authenc(sha224,rfc3686) variant in fips mode

The remaining combinations of AES-CTR-RFC3686 and SHA* have already been marked as allowed in 8888690ef5f7. This commit does the same for SHA224.

rfc3686(ctr(aes)) is already marked fips compliant, so these should be fine.

---
 crypto/testmgr.c | 4 ++++
 1 file changed, 4 insertions(+)
crypto/testmgr.c +4 -0
index a302be53896d..5bae4871690f 100644
@@ -4137,6 +4137,10 @@ static const struct alg_test_desc alg_test_descs[] = {
 		.suite = {
 			.aead = __VECS(hmac_sha224_des3_ede_cbc_tv_temp)
 		}
+	}, {
+		.alg = "authenc(hmac(sha224),rfc3686(ctr(aes)))",
+		.test = alg_test_null,
+		.fips_allowed = 1,
 	}, {
 		.alg = "authenc(hmac(sha256),cbc(aes))",
 		.generic_driver = "authenc(hmac-sha256-lib,cbc(aes-generic))",
Signature · 1 line
2.47.3
maintainer
#1 lore raw
Quoted 10 lines · Aleksander Jan Bajkowski

The remaining combinations of AES-CTR-RFC3686 and SHA* have already been marked as allowed in 8888690ef5f7. This commit does the same for SHA224.

rfc3686(ctr(aes)) is already marked fips compliant, so these should be fine.

---
 crypto/testmgr.c | 4 ++++
 1 file changed, 4 insertions(+)

Patch applied. Thanks.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt