Home
last modified time | relevance | path

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

/linux/drivers/char/tpm/
H A Dtpm2-sessions.c591 off_t offset_s = TPM_HEADER_SIZE, offset_p; in tpm_buf_fill_hmac_session() local
637 offset_p = offset_s + val; in tpm_buf_fill_hmac_session()
638 for (i = 1; offset_s < offset_p; i++) { in tpm_buf_fill_hmac_session()
661 if (offset_s != offset_p) { in tpm_buf_fill_hmac_session()
682 len = tpm_buf_read_u16(buf, &offset_p); in tpm_buf_fill_hmac_session()
684 aescfb_encrypt(&auth->aes_key, &buf->data[offset_p], in tpm_buf_fill_hmac_session()
685 &buf->data[offset_p], len, in tpm_buf_fill_hmac_session()
688 offset_p -= 2; in tpm_buf_fill_hmac_session()
766 off_t offset_s, offset_p; in tpm_buf_check_hmac_response() local
803 offset_p = offset_s; in tpm_buf_check_hmac_response()
[all …]