Home
last modified time | relevance | path

Searched refs:device_dna (Results 1 – 2 of 2) sorted by relevance

/optee_os-3.20.0/core/drivers/
A Dzynqmp_huk.c31 return zynqmp_efuse_read(device_dna, size, DNA, false); in tee_zynqmp_get_device_dna()
56 static TEE_Result tee_zynqmp_generate_huk_src(const uint8_t *device_dna, in tee_zynqmp_generate_huk_src() argument
77 res = crypto_hash_update(ctx, device_dna, device_dna_size); in tee_zynqmp_generate_huk_src()
109 uint8_t device_dna[ZYNQMP_EFUSE_LEN(DNA)] = { 0 }; in tee_otp_get_hw_unique_key() local
119 static_assert(sizeof(device_dna) == ZYNQMP_GCM_IV_SIZE); in tee_otp_get_hw_unique_key()
124 ret = tee_zynqmp_get_device_dna(device_dna, sizeof(device_dna)); in tee_otp_get_hw_unique_key()
136 ret = tee_hash_createdigest(TEE_ALG_SHA256, device_dna, in tee_otp_get_hw_unique_key()
137 sizeof(device_dna), huk.key, in tee_otp_get_hw_unique_key()
149 memcpy(iv, device_dna, sizeof(device_dna)); in tee_otp_get_hw_unique_key()
152 ret = tee_zynqmp_generate_huk_src(device_dna, sizeof(device_dna), src, in tee_otp_get_hw_unique_key()
[all …]
/optee_os-3.20.0/core/include/drivers/
A Dzynqmp_huk.h31 TEE_Result tee_zynqmp_get_device_dna(uint8_t *device_dna, size_t size);

Completed in 3 milliseconds