Searched refs:tpm_buf_length (Results 1 – 4 of 4) sorted by relevance
458 static inline u32 tpm_buf_length(struct tpm_buf *buf) in tpm_buf_length() function477 u32 len = tpm_buf_length(buf); in tpm_buf_append()
331 if (tpm_buf_length(&buf) < in tpm2_get_random()501 if (tpm_buf_length(&buf) < TPM_HEADER_SIZE + 4 + blob_len) { in tpm2_seal_trusted()638 if (tpm_buf_length(&buf) < TPM_HEADER_SIZE + 6 + data_len) { in tpm2_unseal_cmd()
419 rc = tpm_transmit_cmd(chip, NULL, buf.data, tpm_buf_length(&buf), 0, in vtpm_proxy_request_locality()
155 body_size = tpm_buf_length(&tbuf) - TPM_HEADER_SIZE; in tpm2_save_context()