Searched refs:fips_enabled (Results 1 – 25 of 28) sorted by relevance
12
/linux/crypto/ |
A 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()
|
A D | jitterentropy-kcapi.c | 65 return fips_enabled; in jent_fips_enabled()
|
A D | rsa_helper.c | 27 if (fips_enabled) { in rsa_get_n()
|
A D | dh.c | 183 if (fips_enabled) { in dh_compute_value()
|
A 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()
|
A 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()
|
A D | algapi.c | 26 if (fips_enabled && mod && !module_sig_ok(mod)) in crypto_check_module_sig()
|
A D | tcrypt.c | 1671 if (fips_enabled && ret == -EINVAL) in tcrypt_test() 3084 if (!fips_enabled) in tcrypt_mod_init()
|
/linux/include/crypto/internal/ |
A 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/include/linux/ |
A D | fips.h | 6 extern int fips_enabled; 12 #define fips_enabled 0 macro
|
/linux/include/crypto/ |
A 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/arch/s390/crypto/ |
A 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()
|
A D | aes_s390.c | 402 if (fips_enabled && key_len != 32 && key_len != 64) in xts_aes_set_key()
|
/linux/drivers/crypto/ccree/ |
A D | cc_fips.c | 93 if (fips_enabled) in tee_fips_error()
|
/linux/drivers/net/ppp/ |
A 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/drivers/staging/rtl8192u/ieee80211/ |
A D | ieee80211_crypt_wep.c | 40 if (fips_enabled) in prism2_wep_init()
|
A D | ieee80211_crypt_tkip.c | 65 if (fips_enabled) in ieee80211_tkip_init()
|
/linux/drivers/staging/rtl8192e/ |
A D | rtllib_crypt_wep.c | 35 if (fips_enabled) in prism2_wep_init()
|
A D | rtllib_crypt_tkip.c | 61 if (fips_enabled) in rtllib_tkip_init()
|
/linux/net/wireless/ |
A D | lib80211_crypt_wep.c | 43 if (fips_enabled) in lib80211_wep_init()
|
A D | lib80211_crypt_tkip.c | 94 if (fips_enabled) in lib80211_tkip_init()
|
/linux/drivers/char/hw_random/ |
A D | cctrng.c | 334 if (fips_enabled && CC_REG_FLD_GET(RNG_ISR, CRNGT_ERR, isr)) { in cc_trng_compwork_handler()
|
/linux/drivers/char/ |
A D | random.c | 1469 if (fips_enabled) { in extract_entropy() 1486 return _extract_entropy(r, buf, nbytes, fips_enabled); in extract_entropy()
|
/linux/fs/cifs/ |
A D | cifsencrypt.c | 690 if (fips_enabled) in calc_seckey()
|
/linux/net/mac80211/ |
A D | main.c | 779 bool have_wep = !fips_enabled; /* FIPS does not permit the use of RC4 */ in ieee80211_init_cipher_suites()
|
Completed in 50 milliseconds
12