Home
last modified time | relevance | path

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

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