Home
last modified time | relevance | path

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

12

/Linux-v4.19/arch/mips/cavium-octeon/crypto/
Docteon-sha1.c46 memzero_explicit(&hash_tail.word[0], sizeof(hash_tail.word[0])); in octeon_sha1_store_hash()
61 memzero_explicit(&hash_tail.dword, sizeof(hash_tail.dword)); in octeon_sha1_read_hash()
Docteon-sha512.c223 memzero_explicit(D, 64); in octeon_sha384_final()
Docteon-sha256.c208 memzero_explicit(D, SHA256_DIGEST_SIZE); in octeon_sha224_final()
/Linux-v4.19/drivers/usb/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.c90 memzero_explicit(&ck, sizeof(ck)); in wusb_ck_store()
/Linux-v4.19/crypto/
Dsm3_generic.c143 memzero_explicit(w, sizeof(w)); in sm3_transform()
144 memzero_explicit(wt, sizeof(wt)); in sm3_transform()
Dsha1_generic.c45 memzero_explicit(temp, sizeof(temp)); in sha1_generic_block_fn()
Dkeywrap.c194 memzero_explicit(&block, sizeof(struct crypto_kw_block)); in crypto_kw_decrypt()
268 memzero_explicit(&block, sizeof(struct crypto_kw_block)); in crypto_kw_encrypt()
Dtgr192.c615 memzero_explicit(D, TGR192_DIGEST_SIZE); in tgr160_final()
626 memzero_explicit(D, TGR192_DIGEST_SIZE); in tgr128_final()
Dalgif_rng.c90 memzero_explicit(result, len); in rng_recvmsg()
Dcts.c123 memzero_explicit(d, sizeof(d)); in cts_cbc_encrypt()
214 memzero_explicit(d, sizeof(d)); in cts_cbc_decrypt()
Dwp512.c1106 memzero_explicit(D, WP512_DIGEST_SIZE); in wp384_final()
1117 memzero_explicit(D, WP512_DIGEST_SIZE); in wp256_final()
/Linux-v4.19/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()
713 memzero_explicit(derived_key, sizeof(derived_key)); in encrypted_key_decrypt()
951 memzero_explicit(derived_key, sizeof(derived_key)); in encrypted_read()
961 memzero_explicit(derived_key, sizeof(derived_key)); in encrypted_read()
/Linux-v4.19/drivers/char/
Drandom.c950 memzero_explicit(&buf, sizeof(buf)); in crng_reseed()
1073 memzero_explicit(tmp, sizeof(tmp)); in extract_crng_user()
1462 memzero_explicit(workspace, sizeof(workspace)); in extract_buf()
1474 memzero_explicit(&hash, sizeof(hash)); in extract_buf()
1502 memzero_explicit(tmp, sizeof(tmp)); in _extract_entropy()
1583 memzero_explicit(tmp, sizeof(tmp)); in extract_entropy_user()
1641 memzero_explicit(tmp, sizeof(tmp)); in _get_random_bytes()
/Linux-v4.19/include/crypto/
Dhash.h590 memzero_explicit(req, sizeof(*req) + in ahash_request_zero()
938 memzero_explicit(desc, in shash_desc_zero()
/Linux-v4.19/arch/powerpc/crypto/
Dsha1.c69 memzero_explicit(temp, sizeof(temp)); in sha1_update()
Dsha256-spe-glue.c201 memzero_explicit(D, SHA256_DIGEST_SIZE); in ppc_spe_sha224_final()
/Linux-v4.19/net/tls/
Dtls_main.c249 memzero_explicit(&ctx->crypto_send, sizeof(ctx->crypto_send)); in tls_ctx_free()
250 memzero_explicit(&ctx->crypto_recv, sizeof(ctx->crypto_recv)); in tls_ctx_free()
512 memzero_explicit(crypto_info, sizeof(union tls_crypto_context));
/Linux-v4.19/fs/cifs/
Dsmbencrypt.c197 memzero_explicit(wpwd, sizeof(wpwd)); in E_md4hash()
/Linux-v4.19/drivers/crypto/inside-secure/
Dsafexcel_cipher.c181 memzero_explicit(&aes, sizeof(aes)); in safexcel_skcipher_aes_setkey()
252 memzero_explicit(&keys, sizeof(keys)); in safexcel_aead_aes_setkey()
257 memzero_explicit(&keys, sizeof(keys)); in safexcel_aead_aes_setkey()
800 memzero_explicit(ctx->key, sizeof(ctx->key)); in safexcel_cipher_cra_exit()
806 memzero_explicit(ctx->base.ctxr->data, sizeof(ctx->base.ctxr->data)); in safexcel_cipher_cra_exit()
/Linux-v4.19/arch/sparc/crypto/
Dsha512_glue.c142 memzero_explicit(D, 64); in sha384_sparc64_final()
Dsha256_glue.c138 memzero_explicit(D, SHA256_DIGEST_SIZE); in sha224_sparc64_final()
/Linux-v4.19/lib/
Dstring.c720 void memzero_explicit(void *s, size_t count) in memzero_explicit() function
725 EXPORT_SYMBOL(memzero_explicit);
/Linux-v4.19/drivers/crypto/qat/qat_common/
Dqat_algs.c250 memzero_explicit(ipad, block_size); in qat_alg_do_precomputes()
251 memzero_explicit(opad, block_size); in qat_alg_do_precomputes()
549 memzero_explicit(&keys, sizeof(keys)); in qat_alg_aead_init_sessions()
553 memzero_explicit(&keys, sizeof(keys)); in qat_alg_aead_init_sessions()
556 memzero_explicit(&keys, sizeof(keys)); in qat_alg_aead_init_sessions()
/Linux-v4.19/security/keys/
Dgc.c161 memzero_explicit(key, sizeof(*key)); in key_gc_unused_keys()

12