Home
last modified time | relevance | path

Searched refs:tpm_resp (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/backends/tpm/
H A Dtpm_util.c246 } QEMU_PACKED tpm_resp; in tpm_util_get_buffer_size() local
250 &tpm_resp, sizeof(tpm_resp)); in tpm_util_get_buffer_size()
255 if (be32_to_cpu(tpm_resp.hdr.len) != sizeof(tpm_resp) || in tpm_util_get_buffer_size()
256 be32_to_cpu(tpm_resp.len) != sizeof(uint32_t)) { in tpm_util_get_buffer_size()
258 be32_to_cpu(tpm_resp.hdr.len), in tpm_util_get_buffer_size()
259 sizeof(tpm_resp)); in tpm_util_get_buffer_size()
260 trace_tpm_util_get_buffer_size_len(be32_to_cpu(tpm_resp.len), in tpm_util_get_buffer_size()
264 be32_to_cpu(tpm_resp.hdr.errcode)); in tpm_util_get_buffer_size()
267 *buffersize = be32_to_cpu(tpm_resp.buffersize); in tpm_util_get_buffer_size()
H A Dtrace-events8 tpm_util_get_buffer_size_hdr_len(uint32_t len, size_t expected) "tpm_resp->hdr.len = %u, expected =…
9 tpm_util_get_buffer_size_len(uint32_t len, size_t expected) "tpm_resp->len = %u, expected = %zu"