Searched refs:tpm_buf_length (Results 1 - 7 of 7) sorted by last modified time

/linux-master/security/keys/trusted-keys/
H A Dtrusted_tpm2.c535 if (tpm_buf_length(&buf) < TPM_HEADER_SIZE + 6 + data_len) {
/linux-master/include/linux/
H A Dtpm.h431 u32 tpm_buf_length(struct tpm_buf *buf);
558 if (tpm_buf_length(buf) != offset) {
588 if (tpm_buf_length(buf) == offset)
/linux-master/drivers/char/tpm/
H A Dtpm2-sessions.c284 x = &buf->data[tpm_buf_length(buf)];
287 y = &buf->data[tpm_buf_length(buf)];
390 if (auth->session != tpm_buf_length(buf)) {
393 if (4 + len + auth->session != tpm_buf_length(buf)) {
550 if (offset_s != tpm_buf_length(buf))
552 tpm_buf_length(buf) - offset_s);
639 slot = (tpm_buf_length(buf) - TPM_HEADER_SIZE)/4;
644 WARN(auth->session != tpm_buf_length(buf),
740 if (offset_s + len > tpm_buf_length(buf))
748 if (offset_s + len != tpm_buf_length(bu
[all...]
H A Dtpm2-space.c154 body_size = tpm_buf_length(&tbuf) - TPM_HEADER_SIZE;
H A Dtpm2-cmd.c325 if (tpm_buf_length(&buf) <
H A Dtpm-buf.c88 * tpm_buf_length() - Return the number of bytes consumed by the data
93 u32 tpm_buf_length(struct tpm_buf *buf) function
97 EXPORT_SYMBOL_GPL(tpm_buf_length); variable
H A Dtpm1-cmd.c563 if (tpm_buf_length(&buf) < TPM_HEADER_SIZE +
600 if (tpm_buf_length(&buf) < TPM_DIGEST_SIZE) {

Completed in 158 milliseconds