summaryrefslogtreecommitdiff
path: root/crypto/ahash.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2024-02-21 08:19:15 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2024-03-01 13:35:40 +0300
commitf66a211e8c5d9b1b0531364c1b16874b0499e0d2 (patch)
tree9ced31bac6d0fe2e57973aa0311adb64c2b32085 /crypto/ahash.c
parenta24e3b583ea2db3418f0c6ae1f12b07ca96531cc (diff)
downloadlinux-f66a211e8c5d9b1b0531364c1b16874b0499e0d2.tar.xz
crypto: dh - Make public key test FIPS-only
The function dh_is_pubkey_valid was added to for FIPS but it was only partially conditional to fips_enabled. In particular, the first test in the function relies on the last test to work properly, but the last test is only run in FIPS mode. Fix this inconsistency by making the whole function conditional on fips_enabled. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/ahash.c')
0 files changed, 0 insertions, 0 deletions