Home
last modified time | relevance | path

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

/linux/drivers/char/tpm/
H A Dtpm2-sessions.c756 u8 rphash[SHA256_DIGEST_SIZE]; in tpm_buf_check_hmac_response() local
825 sha256_final(&sctx, rphash); in tpm_buf_check_hmac_response()
830 sha256_update(&sctx, rphash, sizeof(rphash)); in tpm_buf_check_hmac_response()
836 + auth->passphrase_len, rphash); in tpm_buf_check_hmac_response()
837 if (memcmp(rphash, &buf->data[offset_s], SHA256_DIGEST_SIZE) == 0) { in tpm_buf_check_hmac_response()