| /Linux-v5.4/fs/crypto/ |
| D | hkdf.c | 100 memzero_explicit(prk, sizeof(prk)); in fscrypt_init_hkdf() 161 memzero_explicit(tmp, sizeof(tmp)); in fscrypt_hkdf_expand() 173 memzero_explicit(okm, okmlen); /* so caller doesn't need to */ in fscrypt_hkdf_expand()
|
| D | keysetup.c | 179 memzero_explicit(salt, sizeof(salt)); in init_essiv_generator() 233 memzero_explicit(mode_key, mode->keysize); in setup_per_mode_key() 280 memzero_explicit(derived_key, ci->ci_mode->keysize); in fscrypt_setup_v2_file_key()
|
| D | keyring.c | 30 memzero_explicit(secret, sizeof(*secret)); in wipe_master_key_secret() 37 memzero_explicit(src, sizeof(*src)); in move_master_key_secret() 537 memzero_explicit(secret.raw, secret.size); in fscrypt_ioctl_add_key()
|
| /Linux-v5.4/include/crypto/internal/ |
| D | des.h | 42 memzero_explicit(&tmp, sizeof(tmp)); in crypto_des_verify_key() 77 memzero_explicit(K, DES3_EDE_KEY_SIZE); in des3_ede_verify_key()
|
| /Linux-v5.4/arch/s390/crypto/ |
| D | prng.c | 178 memzero_explicit(pblock, sizeof(pblock)); in generate_entropy() 179 memzero_explicit(pg, PAGE_SIZE); in generate_entropy() 423 memzero_explicit(seed, sizeof(seed)); in prng_sha512_instantiate() 470 memzero_explicit(seed, sizeof(seed)); in prng_sha512_reseed() 647 memzero_explicit(p, n); in prng_sha512_read()
|
| /Linux-v5.4/fs/cifs/ |
| D | smbencrypt.c | 73 memzero_explicit(&ctx, sizeof(ctx)); in smbhash() 185 memzero_explicit(wpwd, sizeof(wpwd)); in E_md4hash()
|
| /Linux-v5.4/crypto/ |
| D | keywrap.c | 187 memzero_explicit(&block, sizeof(struct crypto_kw_block)); in crypto_kw_decrypt() 258 memzero_explicit(&block, sizeof(struct crypto_kw_block)); in crypto_kw_encrypt()
|
| D | sm3_generic.c | 132 memzero_explicit(w, sizeof(w)); in sm3_transform() 133 memzero_explicit(wt, sizeof(wt)); in sm3_transform()
|
| D | sha1_generic.c | 40 memzero_explicit(temp, sizeof(temp)); in sha1_generic_block_fn()
|
| D | tgr192.c | 610 memzero_explicit(D, TGR192_DIGEST_SIZE); in tgr160_final() 621 memzero_explicit(D, TGR192_DIGEST_SIZE); in tgr128_final()
|
| D | algif_rng.c | 90 memzero_explicit(result, len); in rng_recvmsg()
|
| D | ghash-generic.c | 72 memzero_explicit(&k, GHASH_BLOCK_SIZE); in ghash_setkey()
|
| D | wp512.c | 1106 memzero_explicit(D, WP512_DIGEST_SIZE); in wp384_final() 1117 memzero_explicit(D, WP512_DIGEST_SIZE); in wp256_final()
|
| D | cts.c | 123 memzero_explicit(d, sizeof(d)); in cts_cbc_encrypt() 216 memzero_explicit(d, sizeof(d)); in cts_cbc_decrypt()
|
| /Linux-v5.4/arch/mips/cavium-octeon/crypto/ |
| D | octeon-sha1.c | 42 memzero_explicit(&hash_tail.word[0], sizeof(hash_tail.word[0])); in octeon_sha1_store_hash() 57 memzero_explicit(&hash_tail.dword, sizeof(hash_tail.dword)); in octeon_sha1_read_hash()
|
| /Linux-v5.4/drivers/staging/wusbcore/ |
| D | security.c | 509 memzero_explicit(&keydvt_out, sizeof(keydvt_out)); in wusb_dev_4way_handshake() 510 memzero_explicit(&keydvt_in, sizeof(keydvt_in)); in wusb_dev_4way_handshake() 511 memzero_explicit(&ccm_n, sizeof(ccm_n)); in wusb_dev_4way_handshake() 512 memzero_explicit(mic, sizeof(mic)); in wusb_dev_4way_handshake()
|
| D | dev-sysfs.c | 89 memzero_explicit(&ck, sizeof(ck)); in wusb_ck_store()
|
| /Linux-v5.4/security/keys/encrypted-keys/ |
| D | encrypted.c | 517 memzero_explicit(derived_key, sizeof(derived_key)); in datablob_hmac_append() 556 memzero_explicit(derived_key, sizeof(derived_key)); in datablob_hmac_verify() 720 memzero_explicit(derived_key, sizeof(derived_key)); in encrypted_key_decrypt() 958 memzero_explicit(derived_key, sizeof(derived_key)); in encrypted_read() 968 memzero_explicit(derived_key, sizeof(derived_key)); in encrypted_read()
|
| /Linux-v5.4/drivers/crypto/inside-secure/ |
| D | safexcel_cipher.c | 299 memzero_explicit(&aes, sizeof(aes)); in safexcel_skcipher_aes_setkey() 397 memzero_explicit(&keys, sizeof(keys)); in safexcel_aead_setkey() 403 memzero_explicit(&keys, sizeof(keys)); in safexcel_aead_setkey() 1083 memzero_explicit(ctx->key, sizeof(ctx->key)); in safexcel_cipher_cra_exit() 1089 memzero_explicit(ctx->base.ctxr->data, sizeof(ctx->base.ctxr->data)); in safexcel_cipher_cra_exit() 1310 memzero_explicit(&aes, sizeof(aes)); in safexcel_skcipher_aesctr_setkey() 2008 memzero_explicit(&aes, sizeof(aes)); in safexcel_skcipher_aesxts_setkey() 2079 memzero_explicit(&aes, sizeof(aes)); in safexcel_aead_gcm_setkey() 2122 memzero_explicit(hashkey, AES_BLOCK_SIZE); in safexcel_aead_gcm_setkey() 2123 memzero_explicit(&aes, sizeof(aes)); in safexcel_aead_gcm_setkey() [all …]
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| D | crypto.c | 57 memzero_explicit(in, sizeof(in)); in mlx5_create_encryption_key()
|
| /Linux-v5.4/net/mac80211/ |
| D | wep.c | 120 memzero_explicit(ctx, sizeof(*ctx)); in ieee80211_wep_encrypt_data() 174 memzero_explicit(ctx, sizeof(*ctx)); in ieee80211_wep_decrypt_data()
|
| /Linux-v5.4/arch/powerpc/crypto/ |
| D | sha1.c | 64 memzero_explicit(temp, sizeof(temp)); in sha1_update()
|
| /Linux-v5.4/drivers/char/ |
| D | random.c | 1026 memzero_explicit(&buf, sizeof(buf)); in crng_reseed() 1149 memzero_explicit(tmp, sizeof(tmp)); in extract_crng_user() 1538 memzero_explicit(workspace, sizeof(workspace)); in extract_buf() 1550 memzero_explicit(&hash, sizeof(hash)); in extract_buf() 1578 memzero_explicit(tmp, sizeof(tmp)); in _extract_entropy() 1664 memzero_explicit(tmp, sizeof(tmp)); in extract_entropy_user() 1722 memzero_explicit(tmp, sizeof(tmp)); in _get_random_bytes()
|
| /Linux-v5.4/include/crypto/ |
| D | hash.h | 601 memzero_explicit(req, sizeof(*req) + in ahash_request_zero() 957 memzero_explicit(desc, in shash_desc_zero()
|
| /Linux-v5.4/drivers/crypto/cavium/nitrox/ |
| D | nitrox_skcipher.c | 82 memzero_explicit(&fctx->crypto, sizeof(struct crypto_keys)); in nitrox_skcipher_exit() 83 memzero_explicit(&fctx->auth, sizeof(struct auth_keys)); in nitrox_skcipher_exit()
|