Searched refs:tpm_buf_length (Results 1 – 5 of 5) sorted by relevance
350 static inline u32 tpm_buf_length(struct tpm_buf *buf) in tpm_buf_length() function369 u32 len = tpm_buf_length(buf); in tpm_buf_append()
320 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()
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()
322 if (tpm_buf_length(&buf) < in tpm2_get_random()
151 body_size = tpm_buf_length(&tbuf) - TPM_HEADER_SIZE; in tpm2_save_context()