Searched refs:tpm_buf_length (Results 1 – 7 of 7) sorted by relevance
198 if (offset + 4 > tpm_buf_length(buf)) in tpm2_read_public()209 if (offset + rc > tpm_buf_length(buf)) in tpm2_read_public()258 slot = (tpm_buf_length(buf) - TPM_HEADER_SIZE) / 4; in tpm_buf_append_name()265 if (auth->session != tpm_buf_length(buf)) { in tpm_buf_append_name()316 if (tpm_buf_length(buf) != offset) { in tpm_buf_append_auth()392 if (auth->session != tpm_buf_length(buf)) { in tpm_buf_append_hmac_session()395 if (4 + len + auth->session != tpm_buf_length(buf)) { in tpm_buf_append_hmac_session()506 x = &buf->data[tpm_buf_length(buf)]; in tpm_buf_append_salt()509 y = &buf->data[tpm_buf_length(buf)]; in tpm_buf_append_salt()723 if (offset_s != tpm_buf_length(buf)) in tpm_buf_fill_hmac_session()[all …]
121 u16 tpm_buf_length(struct tpm_buf *buf) in tpm_buf_length() function125 EXPORT_SYMBOL_GPL(tpm_buf_length);
549 if (tpm_buf_length(buf) < TPM_HEADER_SIZE + in tpm1_get_random()584 if (tpm_buf_length(buf) < TPM_DIGEST_SIZE) in tpm1_pcr_read()
279 if (tpm_buf_length(buf) == offset) in tpm2_get_random()307 if (tpm_buf_length(buf) < in tpm2_get_random()
135 body_size = tpm_buf_length(tbuf) - TPM_HEADER_SIZE; in tpm2_save_context()
50 u16 tpm_buf_length(struct tpm_buf *buf);
537 if (tpm_buf_length(buf) == offset) in tpm2_unseal_cmd()555 if (tpm_buf_length(buf) < TPM_HEADER_SIZE + 6 + data_len) in tpm2_unseal_cmd()