Home
last modified time | relevance | path

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

/optee_os/core/drivers/
H A Dstm32mp15_huk.c174 uint32_t otp_key[HUK_NB_OTP] = { }; in tee_otp_get_hw_unique_key() local
178 uint32_t *key = otp_key; in tee_otp_get_hw_unique_key()
193 static_assert(sizeof(otp_key) == HW_UNIQUE_KEY_LENGTH); in tee_otp_get_hw_unique_key()
194 memcpy(hwkey->data, otp_key, HW_UNIQUE_KEY_LENGTH); in tee_otp_get_hw_unique_key()
200 ret = aes_gcm_encrypt_uid((uint8_t *)otp_key, len, hwkey->data, in tee_otp_get_hw_unique_key()
210 memzero_explicit(otp_key, HW_UNIQUE_KEY_LENGTH); in tee_otp_get_hw_unique_key()