diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2024-02-21 13:19:15 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-03-01 18:35:40 +0800 |
commit | f66a211e8c5d9b1b0531364c1b16874b0499e0d2 (patch) | |
tree | 9ced31bac6d0fe2e57973aa0311adb64c2b32085 /crypto/crypto_user_stat.c | |
parent | a24e3b583ea2db3418f0c6ae1f12b07ca96531cc (diff) |
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/crypto_user_stat.c')
0 files changed, 0 insertions, 0 deletions