Searched refs:tpm_buf_length (Results 1 – 7 of 7) sorted by relevance
245 slot = (tpm_buf_length(buf) - TPM_HEADER_SIZE) / 4; in tpm_buf_append_name()251 WARN(auth->session != tpm_buf_length(buf), in tpm_buf_append_name()280 if (tpm_buf_length(buf) != offset) { in tpm_buf_append_auth()357 if (auth->session != tpm_buf_length(buf)) { in tpm_buf_append_hmac_session()360 if (4 + len + auth->session != tpm_buf_length(buf)) { in tpm_buf_append_hmac_session()514 x = &buf->data[tpm_buf_length(buf)]; in tpm_buf_append_salt()517 y = &buf->data[tpm_buf_length(buf)]; in tpm_buf_append_salt()706 if (offset_s != tpm_buf_length(buf)) in tpm_buf_fill_hmac_session()708 tpm_buf_length(buf) - offset_s); in tpm_buf_fill_hmac_session()802 if (offset_s + len > tpm_buf_length(buf)) in tpm_buf_check_hmac_response()[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()
154 body_size = tpm_buf_length(&tbuf) - TPM_HEADER_SIZE; in tpm2_save_context()
347 if (tpm_buf_length(&buf) < in tpm2_get_random()
416 u32 tpm_buf_length(struct tpm_buf *buf);530 if (tpm_buf_length(buf) == offset) in tpm_buf_append_hmac_session_opt()
548 if (tpm_buf_length(&buf) < TPM_HEADER_SIZE + 6 + data_len) { in tpm2_unseal_cmd()