Home
last modified time | relevance | path

Searched refs:sha (Results 1 – 6 of 6) sorted by relevance

/optee_os/core/drivers/
H A Dzynqmp_huk.c113 uint8_t sha[HW_UNIQUE_KEY_LENGTH] = { 0 }; in tee_otp_get_hw_unique_key() local
176 memcpy(sha, src, sizeof(sha)); in tee_otp_get_hw_unique_key()
205 if (memcmp(src, sha, sizeof(sha))) { in tee_otp_get_hw_unique_key()
227 memzero_explicit(sha, sizeof(sha)); in tee_otp_get_hw_unique_key()
H A Dversal_huk.c298 uint8_t sha[48] = { }; in tee_otp_get_hw_unique_key() local
307 if (versal_sha3_384((uint8_t *)dna, sizeof(dna), sha, sizeof(sha))) { in tee_otp_get_hw_unique_key()
312 if (aes_gcm_encrypt(sha, sizeof(sha), enc_data, sizeof(enc_data))) { in tee_otp_get_hw_unique_key()
326 memzero_explicit(sha, sizeof(sha)); in tee_otp_get_hw_unique_key()
/optee_os/core/tee/
H A Dtee_fs_key_manager.c210 uint8_t sha[TEE_SHA256_HASH_SIZE]; in essiv() local
213 res = sha256(sha, sizeof(sha), fek, TEE_FS_KM_FEK_SIZE); in essiv()
220 res = aes_ecb(iv, pad_blkid, sha, 16); in essiv()
222 memzero_explicit(sha, sizeof(sha)); in essiv()
/optee_os/core/arch/arm/plat-telechips/scripts/
H A Dtcmktool.py15 sha = sha256()
21 sha.update(buf.ljust(ALIGN_SIZE, b'\0'))
22 return sha.digest()
/optee_os/core/arch/arm/dts/
H A Dsama5d2.dtsi324 sha@f0028000 {
325 compatible = "atmel,at91sam9g46-sha";
H A Dsama7g5.dtsi880 sha: crypto@e1814000 { label
881 compatible = "atmel,at91sam9g46-sha";