diff options
author | Nicolai Stange <nstange@suse.de> | 2022-12-30 00:17:09 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-01-06 12:15:47 +0300 |
commit | 2912eb9b17ac29facd799ffe05fdb7cf10017e82 (patch) | |
tree | ae2e1d378fd659c30589247fab9047af158559e2 /drivers/crypto/caam/qi.c | |
parent | 1ce94a8c2c3721be1d9bc85fd38fc8c520aa37d6 (diff) | |
download | linux-2912eb9b17ac29facd799ffe05fdb7cf10017e82.tar.xz |
crypto: testmgr - disallow plain ghash in FIPS mode
ghash may be used only as part of the gcm(aes) construction in FIPS
mode. Since commit d6097b8d5d55 ("crypto: api - allow algs only in specific
constructions in FIPS mode") there's support for using spawns which by
itself are marked as non-approved from approved template instantiations.
So simply mark plain ghash as non-approved in testmgr to block any attempts
of direct instantiations in FIPS mode.
Signed-off-by: Nicolai Stange <nstange@suse.de>
Signed-off-by: Vladis Dronov <vdronov@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam/qi.c')
0 files changed, 0 insertions, 0 deletions