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()214 if (offset + rc > tpm_buf_length(&buf)) { in tpm2_read_public()265 slot = (tpm_buf_length(buf) - TPM_HEADER_SIZE) / 4; in tpm_buf_append_name()272 if (auth->session != tpm_buf_length(buf)) { in tpm_buf_append_name()320 if (tpm_buf_length(buf) != offset) { in tpm_buf_append_auth()396 if (auth->session != tpm_buf_length(buf)) { in tpm_buf_append_hmac_session()399 if (4 + len + auth->session != tpm_buf_length(buf)) { in tpm_buf_append_hmac_session()508 x = &buf->data[tpm_buf_length(buf)]; in tpm_buf_append_salt()511 y = &buf->data[tpm_buf_length(buf)]; in tpm_buf_append_salt()709 if (offset_s != tpm_buf_length(buf)) in tpm_buf_fill_hmac_session()[all …]
93 u32 tpm_buf_length(struct tpm_buf *buf) in tpm_buf_length() function97 EXPORT_SYMBOL_GPL(tpm_buf_length);
563 if (tpm_buf_length(&buf) < TPM_HEADER_SIZE + in tpm1_get_random()600 if (tpm_buf_length(&buf) < TPM_DIGEST_SIZE) { in tpm1_pcr_read()
293 if (tpm_buf_length(&buf) == offset) in tpm2_get_random()322 if (tpm_buf_length(&buf) < in tpm2_get_random()
154 body_size = tpm_buf_length(&tbuf) - TPM_HEADER_SIZE; in tpm2_save_context()
529 if (tpm_buf_length(&buf) == offset) in tpm2_unseal_cmd()549 if (tpm_buf_length(&buf) < TPM_HEADER_SIZE + 6 + data_len) { in tpm2_unseal_cmd()
423 u32 tpm_buf_length(struct tpm_buf *buf);