Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dtpm.h354 static inline u32 tpm_buf_length(struct tpm_buf *buf) in tpm_buf_length() function
373 u32 len = tpm_buf_length(buf); in tpm_buf_append()
/openbmc/linux/security/keys/trusted-keys/
H A Dtrusted_tpm2.c333 if (tpm_buf_length(&buf) < TPM_HEADER_SIZE + 4 + blob_len) { in tpm2_seal_trusted()
506 if (tpm_buf_length(&buf) < TPM_HEADER_SIZE + 6 + data_len) { in tpm2_unseal_cmd()
/openbmc/linux/drivers/char/tpm/
H 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()
H A Dtpm2-cmd.c322 if (tpm_buf_length(&buf) < in tpm2_get_random()
H A Dtpm2-space.c151 body_size = tpm_buf_length(&tbuf) - TPM_HEADER_SIZE; in tpm2_save_context()