Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/
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()
/Linux-v6.6/security/keys/trusted-keys/
Dtrusted_tpm2.c320 if (tpm_buf_length(&buf) < TPM_HEADER_SIZE + 4 + blob_len) { in tpm2_seal_trusted()
493 if (tpm_buf_length(&buf) < TPM_HEADER_SIZE + 6 + data_len) { in tpm2_unseal_cmd()
/Linux-v6.6/drivers/char/tpm/
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()
Dtpm2-cmd.c322 if (tpm_buf_length(&buf) < in tpm2_get_random()
Dtpm2-space.c151 body_size = tpm_buf_length(&tbuf) - TPM_HEADER_SIZE; in tpm2_save_context()