Home
last modified time | relevance | path

Searched refs:memzero_explicit (Results 1 – 25 of 67) sorted by relevance

123

/Linux-v5.4/fs/crypto/
Dhkdf.c100 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()
Dkeysetup.c179 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()
Dkeyring.c30 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/
Ddes.h42 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/
Dprng.c178 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/
Dsmbencrypt.c73 memzero_explicit(&ctx, sizeof(ctx)); in smbhash()
185 memzero_explicit(wpwd, sizeof(wpwd)); in E_md4hash()
/Linux-v5.4/crypto/
Dkeywrap.c187 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()
Dsm3_generic.c132 memzero_explicit(w, sizeof(w)); in sm3_transform()
133 memzero_explicit(wt, sizeof(wt)); in sm3_transform()
Dsha1_generic.c40 memzero_explicit(temp, sizeof(temp)); in sha1_generic_block_fn()
Dtgr192.c610 memzero_explicit(D, TGR192_DIGEST_SIZE); in tgr160_final()
621 memzero_explicit(D, TGR192_DIGEST_SIZE); in tgr128_final()
Dalgif_rng.c90 memzero_explicit(result, len); in rng_recvmsg()
Dghash-generic.c72 memzero_explicit(&k, GHASH_BLOCK_SIZE); in ghash_setkey()
Dwp512.c1106 memzero_explicit(D, WP512_DIGEST_SIZE); in wp384_final()
1117 memzero_explicit(D, WP512_DIGEST_SIZE); in wp256_final()
Dcts.c123 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/
Docteon-sha1.c42 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/
Dsecurity.c509 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()
Ddev-sysfs.c89 memzero_explicit(&ck, sizeof(ck)); in wusb_ck_store()
/Linux-v5.4/security/keys/encrypted-keys/
Dencrypted.c517 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/
Dsafexcel_cipher.c299 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/
Dcrypto.c57 memzero_explicit(in, sizeof(in)); in mlx5_create_encryption_key()
/Linux-v5.4/net/mac80211/
Dwep.c120 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/
Dsha1.c64 memzero_explicit(temp, sizeof(temp)); in sha1_update()
/Linux-v5.4/drivers/char/
Drandom.c1026 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/
Dhash.h601 memzero_explicit(req, sizeof(*req) + in ahash_request_zero()
957 memzero_explicit(desc, in shash_desc_zero()
/Linux-v5.4/drivers/crypto/cavium/nitrox/
Dnitrox_skcipher.c82 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()

123