Home
last modified time | relevance | path

Searched refs:fips_enabled (Results 1 – 25 of 28) sorted by relevance

12

/Linux-v5.15/crypto/
Dfips.c16 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()
Djitterentropy-kcapi.c65 return fips_enabled; in jent_fips_enabled()
Drsa_helper.c27 if (fips_enabled) { in rsa_get_n()
Ddh.c183 if (fips_enabled) { in dh_compute_value()
Ddrbg.c255 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()
Dtestmgr.c2623 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()
Dalgapi.c26 if (fips_enabled && mod && !module_sig_ok(mod)) in crypto_check_module_sig()
Dtcrypt.c1672 if (fips_enabled && ret == -EINVAL) in tcrypt_test()
3085 if (!fips_enabled) in tcrypt_mod_init()
/Linux-v5.15/include/crypto/internal/
Ddes.h58 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/
Dfips.h6 extern int fips_enabled;
12 #define fips_enabled 0 macro
/Linux-v5.15/include/crypto/
Dxts.h22 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/
Dprng.c379 if (fips_enabled) in prng_sha512_instantiate()
427 if (fips_enabled) { in prng_sha512_instantiate()
492 if (fips_enabled) { in prng_sha512_generate()
Daes_s390.c402 if (fips_enabled && key_len != 32 && key_len != 64) in xts_aes_set_key()
/Linux-v5.15/drivers/crypto/ccree/
Dcc_fips.c93 if (fips_enabled) in tee_fips_error()
/Linux-v5.15/drivers/net/ppp/
Dppp_mppe.c179 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/
Dieee80211_crypt_wep.c40 if (fips_enabled) in prism2_wep_init()
Dieee80211_crypt_tkip.c65 if (fips_enabled) in ieee80211_tkip_init()
/Linux-v5.15/drivers/staging/rtl8192e/
Drtllib_crypt_wep.c35 if (fips_enabled) in prism2_wep_init()
Drtllib_crypt_tkip.c61 if (fips_enabled) in rtllib_tkip_init()
/Linux-v5.15/net/wireless/
Dlib80211_crypt_wep.c43 if (fips_enabled) in lib80211_wep_init()
Dlib80211_crypt_tkip.c94 if (fips_enabled) in lib80211_tkip_init()
/Linux-v5.15/drivers/char/hw_random/
Dcctrng.c334 if (fips_enabled && CC_REG_FLD_GET(RNG_ISR, CRNGT_ERR, isr)) { in cc_trng_compwork_handler()
/Linux-v5.15/fs/cifs/
Dcifsencrypt.c690 if (fips_enabled) in calc_seckey()
/Linux-v5.15/drivers/char/
Drandom.c1469 if (fips_enabled) { in extract_entropy()
1486 return _extract_entropy(r, buf, nbytes, fips_enabled); in extract_entropy()
/Linux-v5.15/net/mac80211/
Dmain.c779 bool have_wep = !fips_enabled; /* FIPS does not permit the use of RC4 */ in ieee80211_init_cipher_suites()

12