projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66c9a04
)
crypto: cmac - allow usage in FIPS mode
author
Stephan Mueller
<smueller@chronox.de>
Wed, 19 Aug 2015 06:42:07 +0000
(08:42 +0200)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Wed, 19 Aug 2015 14:59:48 +0000
(22:59 +0800)
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: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/testmgr.c
patch
|
blob
|
blame
|
history
diff --git
a/crypto/testmgr.c
b/crypto/testmgr.c
index d0a42bd3aae926fcfef0624c6497452e9a0741c5..a865ea99a057d5c769b0a6c76ba51d6989be6049 100644
(file)
--- a/
crypto/testmgr.c
+++ b/
crypto/testmgr.c
@@
-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 = {