Home
last modified time | relevance | path

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

/drivers/char/tpm/
A Dtpm2-sessions.c240 slot = (tpm_buf_length(buf) - TPM_HEADER_SIZE) / 4; in tpm_buf_append_name()
246 WARN(auth->session != tpm_buf_length(buf), in tpm_buf_append_name()
275 if (tpm_buf_length(buf) != offset) { in tpm_buf_append_auth()
352 if (auth->session != tpm_buf_length(buf)) { in tpm_buf_append_hmac_session()
355 if (4 + len + auth->session != tpm_buf_length(buf)) { in tpm_buf_append_hmac_session()
509 x = &buf->data[tpm_buf_length(buf)]; in tpm_buf_append_salt()
512 y = &buf->data[tpm_buf_length(buf)]; in tpm_buf_append_salt()
701 if (offset_s != tpm_buf_length(buf)) in tpm_buf_fill_hmac_session()
703 tpm_buf_length(buf) - offset_s); in tpm_buf_fill_hmac_session()
797 if (offset_s + len > tpm_buf_length(buf)) in tpm_buf_check_hmac_response()
[all …]
A Dtpm-buf.c93 u32 tpm_buf_length(struct tpm_buf *buf) in tpm_buf_length() function
97 EXPORT_SYMBOL_GPL(tpm_buf_length);
A Dtpm1-cmd.c563 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()
A Dtpm2-cmd.c347 if (tpm_buf_length(&buf) < in tpm2_get_random()
A Dtpm2-space.c154 body_size = tpm_buf_length(&tbuf) - TPM_HEADER_SIZE; in tpm2_save_context()

Completed in 14 milliseconds