Searched refs:otp_key (Results 1 – 1 of 1) sorted by relevance
127 uint32_t otp_key[4] = { 0 }; in tee_otp_get_hw_unique_key() local128 size_t len = sizeof(otp_key); in tee_otp_get_hw_unique_key()130 uint32_t *key = otp_key; in tee_otp_get_hw_unique_key()155 static_assert(sizeof(otp_key) == HW_UNIQUE_KEY_LENGTH); in tee_otp_get_hw_unique_key()156 memcpy(hwkey->data, otp_key, HW_UNIQUE_KEY_LENGTH); in tee_otp_get_hw_unique_key()162 ret = aes_gcm_encrypt_uid((uint8_t *)otp_key, len, hwkey->data, in tee_otp_get_hw_unique_key()172 memzero_explicit(otp_key, HW_UNIQUE_KEY_LENGTH); in tee_otp_get_hw_unique_key()
Completed in 2 milliseconds