Home
last modified time | relevance | path

Searched refs:huk (Results 1 – 5 of 5) sorted by relevance

/optee_os-3.20.0/core/kernel/
A Dhuk_subkey.c66 struct tee_hw_unique_key huk = { }; in huk_subkey_derive() local
78 res = tee_otp_get_hw_unique_key(&huk); in huk_subkey_derive()
82 res = crypto_mac_init(ctx, huk.data, sizeof(huk.data)); in huk_subkey_derive()
104 memzero_explicit(&huk, sizeof(huk)); in huk_subkey_derive()
/optee_os-3.20.0/core/drivers/
A Dzynqmp_huk.c23 } huk; variable
121 if (huk.ready) in tee_otp_get_hw_unique_key()
137 sizeof(device_dna), huk.key, in tee_otp_get_hw_unique_key()
138 sizeof(huk.key)); in tee_otp_get_hw_unique_key()
144 huk.ready = true; in tee_otp_get_hw_unique_key()
218 memcpy(huk.key, dst, sizeof(huk.key)); in tee_otp_get_hw_unique_key()
219 huk.ready = true; in tee_otp_get_hw_unique_key()
221 memcpy(hwkey->data, huk.key, HW_UNIQUE_KEY_LENGTH); in tee_otp_get_hw_unique_key()
A Dversal_huk.c24 } huk; variable
301 if (huk.ready) in tee_otp_get_hw_unique_key()
318 huk.key, sizeof(huk.key))) { in tee_otp_get_hw_unique_key()
331 huk.ready = true; in tee_otp_get_hw_unique_key()
333 memcpy(hwkey->data, huk.key, HW_UNIQUE_KEY_LENGTH); in tee_otp_get_hw_unique_key()
/optee_os-3.20.0/core/arch/arm/plat-marvell/
A Dmain.c115 void *huk = phys_to_virt(PLAT_MARVELL_FUSF_FUSE_BASE + in tee_otp_get_hw_unique_key() local
118 if (!huk) { in tee_otp_get_hw_unique_key()
123 memcpy(&hwkey->data[0], huk, sizeof(hwkey->data)); in tee_otp_get_hw_unique_key()
/optee_os-3.20.0/core/arch/arm/plat-ti/
A Dmain.c80 uint8_t huk[PLAT_HW_UNIQUE_KEY_LENGTH]; member
116 memcpy(plat_huk, plat_boot_args->huk, sizeof(plat_boot_args->huk)); in init_sec_mon()

Completed in 6 milliseconds