/Linux-v5.15/crypto/ |
D | fips.c | 16 int fips_enabled; variable 17 EXPORT_SYMBOL_GPL(fips_enabled); 25 fips_enabled = !!simple_strtol(str, NULL, 0); in fips_enable() 27 fips_enabled ? "enabled" : "disabled"); in fips_enable() 36 .data = &fips_enabled, 67 if (fips_enabled) in fips_fail_notify()
|
D | jitterentropy-kcapi.c | 65 return fips_enabled; in jent_fips_enabled()
|
D | rsa_helper.c | 27 if (fips_enabled) { in rsa_get_n()
|
D | dh.c | 183 if (fips_enabled) { in dh_compute_value()
|
D | drbg.c | 255 if (!fips_enabled) in drbg_fips_continuous_test() 1595 if (fips_enabled || ret != -ENOENT) in drbg_instantiate() 2014 if (!fips_enabled) in drbg_healthcheck_sanity() 2095 if (fips_enabled) in drbg_fill_array()
|
D | testmgr.c | 2623 if (fips_enabled && template[i].fips_skip) in test_cipher() 2859 if (fips_enabled && vec->fips_skip) in test_skcipher_vec() 5631 if (!fips_enabled && notests) { in alg_test() 5649 if (fips_enabled && !alg_test_descs[i].fips_allowed) in alg_test() 5661 if (fips_enabled && ((i >= 0 && !alg_test_descs[i].fips_allowed) || in alg_test() 5675 if (fips_enabled || panic_on_fail) { in alg_test() 5679 fips_enabled ? "fips" : "panic_on_fail"); in alg_test() 5684 if (fips_enabled) in alg_test()
|
D | algapi.c | 26 if (fips_enabled && mod && !module_sig_ok(mod)) in crypto_check_module_sig()
|
D | tcrypt.c | 1672 if (fips_enabled && ret == -EINVAL) in tcrypt_test() 3085 if (!fips_enabled) in tcrypt_mod_init()
|
/Linux-v5.15/include/crypto/internal/ |
D | des.h | 58 int ret = fips_enabled ? -EINVAL : -ENOKEY; in des3_ede_verify_key() 65 (fips_enabled || check_weak)) in des3_ede_verify_key() 68 if ((!((K[0] ^ K[4]) | (K[1] ^ K[5]))) && fips_enabled) in des3_ede_verify_key()
|
/Linux-v5.15/include/linux/ |
D | fips.h | 6 extern int fips_enabled; 12 #define fips_enabled 0 macro
|
/Linux-v5.15/include/crypto/ |
D | xts.h | 22 if (fips_enabled && !crypto_memneq(key, key + (keylen / 2), keylen / 2)) in xts_check_key() 39 if ((fips_enabled || (crypto_skcipher_get_flags(tfm) & in xts_verify_key()
|
/Linux-v5.15/arch/s390/crypto/ |
D | prng.c | 379 if (fips_enabled) in prng_sha512_instantiate() 427 if (fips_enabled) { in prng_sha512_instantiate() 492 if (fips_enabled) { in prng_sha512_generate()
|
D | aes_s390.c | 402 if (fips_enabled && key_len != 32 && key_len != 64) in xts_aes_set_key()
|
/Linux-v5.15/drivers/crypto/ccree/ |
D | cc_fips.c | 93 if (fips_enabled) in tee_fips_error()
|
/Linux-v5.15/drivers/net/ppp/ |
D | ppp_mppe.c | 179 fips_enabled) in mppe_alloc() 663 if (fips_enabled || !crypto_has_ahash("sha1", 0, CRYPTO_ALG_ASYNC)) in ppp_mppe_init()
|
/Linux-v5.15/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt_wep.c | 40 if (fips_enabled) in prism2_wep_init()
|
D | ieee80211_crypt_tkip.c | 65 if (fips_enabled) in ieee80211_tkip_init()
|
/Linux-v5.15/drivers/staging/rtl8192e/ |
D | rtllib_crypt_wep.c | 35 if (fips_enabled) in prism2_wep_init()
|
D | rtllib_crypt_tkip.c | 61 if (fips_enabled) in rtllib_tkip_init()
|
/Linux-v5.15/net/wireless/ |
D | lib80211_crypt_wep.c | 43 if (fips_enabled) in lib80211_wep_init()
|
D | lib80211_crypt_tkip.c | 94 if (fips_enabled) in lib80211_tkip_init()
|
/Linux-v5.15/drivers/char/hw_random/ |
D | cctrng.c | 334 if (fips_enabled && CC_REG_FLD_GET(RNG_ISR, CRNGT_ERR, isr)) { in cc_trng_compwork_handler()
|
/Linux-v5.15/fs/cifs/ |
D | cifsencrypt.c | 690 if (fips_enabled) in calc_seckey()
|
/Linux-v5.15/drivers/char/ |
D | random.c | 1469 if (fips_enabled) { in extract_entropy() 1486 return _extract_entropy(r, buf, nbytes, fips_enabled); in extract_entropy()
|
/Linux-v5.15/net/mac80211/ |
D | main.c | 779 bool have_wep = !fips_enabled; /* FIPS does not permit the use of RC4 */ in ieee80211_init_cipher_suites()
|