Home
last modified time | relevance | path

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

/optee_os/core/drivers/
A Dzynqmp_huk.c21 } huk; variable
35 if (huk.ready) in tee_otp_get_hw_unique_key()
56 memcpy(huk.key, src, sizeof(huk.key)); in tee_otp_get_hw_unique_key()
57 huk.ready = true; in tee_otp_get_hw_unique_key()
115 memcpy(huk.key, dst, sizeof(huk.key)); in tee_otp_get_hw_unique_key()
116 huk.ready = true; in tee_otp_get_hw_unique_key()
118 memcpy(hwkey->data, huk.key, HW_UNIQUE_KEY_LENGTH); in tee_otp_get_hw_unique_key()
/optee_os/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/core/arch/arm/plat-marvell/
A Dmain.c121 void *huk = phys_to_virt(PLAT_MARVELL_FUSF_FUSE_BASE + in tee_otp_get_hw_unique_key() local
124 if (!huk) { in tee_otp_get_hw_unique_key()
129 memcpy(&hwkey->data[0], huk, sizeof(hwkey->data)); in tee_otp_get_hw_unique_key()
/optee_os/core/arch/arm/plat-ti/
A Dmain.c90 uint8_t huk[PLAT_HW_UNIQUE_KEY_LENGTH]; member
126 memcpy(plat_huk, plat_boot_args->huk, sizeof(plat_boot_args->huk)); in init_sec_mon()

Completed in 9 milliseconds