Searched refs:rphash (Results 1 – 1 of 1) sorted by relevance
764 u8 rphash[SHA256_DIGEST_SIZE]; in tpm_buf_check_hmac_response() local834 sha256_final(&sctx, rphash); in tpm_buf_check_hmac_response()840 hmac_sha256_update(&hctx, rphash, sizeof(rphash)); in tpm_buf_check_hmac_response()845 hmac_sha256_final(&hctx, rphash); in tpm_buf_check_hmac_response()846 if (crypto_memneq(rphash, &buf->data[offset_s], SHA256_DIGEST_SIZE)) { in tpm_buf_check_hmac_response()