Home
last modified time | relevance | path

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

/rk3399_ARM-atf/plat/st/common/
H A Dstm32mp_trusted_boot.c99 uint8_t otp_hash[BOOT_API_SHA256_DIGEST_SIZE_IN_BYTES]; in get_rotpk_hash() local
126 ret = copy_hash_from_otp(PKH_OTP, otp_hash, len); in get_rotpk_hash()
132 ret = memcmp(calc_hash, otp_hash, sizeof(calc_hash)); in get_rotpk_hash()
138 ret = sizeof(otp_hash); in get_rotpk_hash()
141 memcpy(hash, param->pk_hashes[pk_idx], sizeof(otp_hash)); in get_rotpk_hash()