Home
last modified time | relevance | path

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

12

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

Completed in 50 milliseconds

12