Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8f183751 authored by Stephan Mueller's avatar Stephan Mueller Committed by Herbert Xu
Browse files

crypto: cmac - allow usage in FIPS mode



CMAC is an approved cipher in FIPS 140-2. The patch allows the use
of CMAC with TDES and AES in FIPS mode.

Signed-off-by: default avatarStephan Mueller <smueller@chronox.de>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 66c9a04e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2476,6 +2476,7 @@ static const struct alg_test_desc alg_test_descs[] = {
		}
	}, {
		.alg = "cmac(aes)",
		.fips_allowed = 1,
		.test = alg_test_hash,
		.suite = {
			.hash = {
@@ -2485,6 +2486,7 @@ static const struct alg_test_desc alg_test_descs[] = {
		}
	}, {
		.alg = "cmac(des3_ede)",
		.fips_allowed = 1,
		.test = alg_test_hash,
		.suite = {
			.hash = {