Searched refs:otp_hash (Results 1 – 1 of 1) sorted by relevance
99 uint8_t otp_hash[BOOT_API_SHA256_DIGEST_SIZE_IN_BYTES]; in get_rotpk_hash() local126 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()