Home
last modified time | relevance | path

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

12

/optee_os/core/drivers/
H A Dzynqmp_huk.c102 memzero_explicit(&user_efuse, sizeof(user_efuse)); in tee_zynqmp_generate_huk_src()
226 memzero_explicit(dst, sizeof(dst)); in tee_otp_get_hw_unique_key()
227 memzero_explicit(sha, sizeof(sha)); in tee_otp_get_hw_unique_key()
228 memzero_explicit(tag, sizeof(tag)); in tee_otp_get_hw_unique_key()
229 memzero_explicit(iv, sizeof(iv)); in tee_otp_get_hw_unique_key()
230 memzero_explicit(src, sizeof(src)); in tee_otp_get_hw_unique_key()
231 memzero_explicit(device_dna, sizeof(device_dna)); in tee_otp_get_hw_unique_key()
H A Dversal_huk.c289 memzero_explicit(&cmd, sizeof(cmd)); in aes_gcm_encrypt()
324 memzero_explicit(enc_data, sizeof(enc_data)); in tee_otp_get_hw_unique_key()
325 memzero_explicit(dna, sizeof(dna)); in tee_otp_get_hw_unique_key()
326 memzero_explicit(sha, sizeof(sha)); in tee_otp_get_hw_unique_key()
H A Dstm32mp15_huk.c125 memzero_explicit(out, *out_len); in aes_gcm_encrypt_uid()
210 memzero_explicit(otp_key, HW_UNIQUE_KEY_LENGTH); in tee_otp_get_hw_unique_key()
/optee_os/core/crypto/
H A Dsm4-xts.c74 memzero_explicit(&c->state, sizeof(c->state)); in sm4_xts_final()
75 memzero_explicit(&c->state_ek, sizeof(c->state_ek)); in sm4_xts_final()
76 memzero_explicit(&c->state_dk, sizeof(c->state_dk)); in sm4_xts_final()
77 memzero_explicit(&c->iv, sizeof(c->iv)); in sm4_xts_final()
H A Dsm4-ctr.c65 memzero_explicit(&c->state, sizeof(c->state)); in sm4_ctr_final()
66 memzero_explicit(&c->ctr, sizeof(c->ctr)); in sm4_ctr_final()
H A Dsm4-cbc.c68 memzero_explicit(&c->state, sizeof(c->state)); in sm4_cbc_final()
69 memzero_explicit(&c->iv, sizeof(c->iv)); in sm4_cbc_final()
H A Dsm3.c264 memzero_explicit(&ctx, sizeof(ctx)); in sm3()
289 memzero_explicit(sum, sizeof(sum)); in sm3_hmac_init()
307 memzero_explicit(tmpbuf, sizeof(tmpbuf)); in sm3_hmac_final()
319 memzero_explicit(&ctx, sizeof(ctx)); in sm3_hmac()
H A Dsm3-hash.c79 memzero_explicit(&hc->sm3_ctx, sizeof(hc->sm3_ctx)); in op_sm3_hash_free_ctx()
H A Dsm4-ecb.c65 memzero_explicit(&c->state, sizeof(c->state)); in sm4_ecb_final()
H A Dsm3-hmac.c78 memzero_explicit(&c->sm3_ctx, sizeof(c->sm3_ctx)); in op_sm3_hmac_free_ctx()
/optee_os/core/tee/
H A Dtee_fs_key_manager.c127 memzero_explicit(tsk, sizeof(tsk)); in tee_fs_fek_crypt()
128 memzero_explicit(dst_key, sizeof(dst_key)); in tee_fs_fek_crypt()
149 memzero_explicit(&tee_fs_ssk, sizeof(tee_fs_ssk)); in tee_fs_init_key_manager()
222 memzero_explicit(sha, sizeof(sha)); in essiv()
271 memzero_explicit(fek, sizeof(fek)); in tee_fs_crypt_block()
272 memzero_explicit(iv, sizeof(iv)); in tee_fs_crypt_block()
H A Dtee_ta_enc_manager.c35 memzero_explicit(key, sizeof(key)); in tee_ta_decrypt_init()
/optee_os/core/arch/arm/plat-k3/drivers/
H A Dti_sci.c338 memzero_explicit(&resp, sizeof(resp)); in ti_sci_get_dkek()
363 memzero_explicit(&resp, sizeof(resp)); in ti_sci_read_otp_mmr()
397 memzero_explicit(&resp, sizeof(resp)); in ti_sci_write_otp_row()
398 memzero_explicit(&req, sizeof(req)); in ti_sci_write_otp_row()
448 memzero_explicit(&req, sizeof(req)); in ti_sci_set_swrev()
471 memzero_explicit(&resp, sizeof(resp)); in ti_sci_get_swrev()
493 memzero_explicit(&resp, sizeof(resp)); in ti_sci_get_keycnt_keyrev()
521 memzero_explicit(&req, sizeof(req)); in ti_sci_set_keyrev()
/optee_os/core/lib/libtomcrypt/
H A Dx25519.c63 memzero_explicit(&ltc_tmp_key, sizeof(ltc_tmp_key)); in crypto_acipher_gen_x25519_key()
97 memzero_explicit(&ltc_private_key, sizeof(ltc_private_key)); in crypto_acipher_x25519_shared_secret()
H A Ded25519.c73 memzero_explicit(&ltc_tmp_key, sizeof(ltc_tmp_key)); in crypto_acipher_gen_ed25519_key()
104 memzero_explicit(&private_key, sizeof(private_key)); in crypto_acipher_ed25519_sign()
146 memzero_explicit(&private_key, sizeof(private_key)); in crypto_acipher_ed25519ctx_sign()
/optee_os/core/lib/libtomcrypt/src/misc/
H A Dzeromem.c19 memzero_explicit((void *)out, outlen); in zeromem()
/optee_os/lib/libutils/ext/
H A Dmemzero_explicit.c20 void memzero_explicit(void *s, size_t count) in memzero_explicit() function
H A Dsub.mk10 srcs-y += memzero_explicit.c
/optee_os/core/kernel/
H A Dhuk_subkey.c103 memzero_explicit(subkey, subkey_len); in __huk_subkey_derive()
104 memzero_explicit(&huk, sizeof(huk)); in __huk_subkey_derive()
/optee_os/lib/libutils/ext/include/
H A Dstring_ext.h53 void memzero_explicit(void *s, size_t count);
/optee_os/core/arch/arm/plat-rockchip/
H A Dplatform_rk3588.c213 memzero_explicit(buffer, sizeof(buffer)); in persist_huk()
247 memzero_explicit(buffer, sizeof(buffer)); in read_huk()
/optee_os/core/arch/arm/plat-k3/
H A Dmain.c119 memzero_explicit(&dkek, sizeof(dkek)); in tee_otp_get_hw_unique_key()
/optee_os/core/drivers/crypto/hisilicon/
H A Dsec_pbkdf2.c283 memzero_explicit(msg->base_key, msg->key_len); in sec_pbkdf2_clean_buf()
284 memzero_explicit(msg->salt, msg->salt_len); in sec_pbkdf2_clean_buf()
H A Dsec_hmac.c79 memzero_explicit(hash_ctx->key, hash_ctx->key_len); in sec_hmac_ctx_free()
/optee_os/ta/trusted_keys/
H A Dentry.c53 memzero_explicit(rng_buf, params[0].memref.size); in get_random()
200 memzero_explicit(huk_key, sizeof(huk_key)); in huk_crypt()

12