Searched refs:tpm2_resp (Results 1 – 2 of 2) sorted by relevance
295 } QEMU_PACKED tpm2_resp; in tpm_util_get_buffer_size() local299 &tpm2_resp, sizeof(tpm2_resp)); in tpm_util_get_buffer_size()304 if (be32_to_cpu(tpm2_resp.hdr.len) != sizeof(tpm2_resp) || in tpm_util_get_buffer_size()305 be32_to_cpu(tpm2_resp.count) != 2) { in tpm_util_get_buffer_size()307 be32_to_cpu(tpm2_resp.hdr.len), in tpm_util_get_buffer_size()308 sizeof(tpm2_resp)); in tpm_util_get_buffer_size()310 be32_to_cpu(tpm2_resp.count), 2); in tpm_util_get_buffer_size()313 be32_to_cpu(tpm2_resp.hdr.errcode)); in tpm_util_get_buffer_size()316 *buffersize = MAX(be32_to_cpu(tpm2_resp.value1), in tpm_util_get_buffer_size()317 be32_to_cpu(tpm2_resp.value2)); in tpm_util_get_buffer_size()
10 tpm_util_get_buffer_size_hdr_len2(uint32_t len, size_t expected) "tpm2_resp->hdr.len = %u, expected…11 tpm_util_get_buffer_size_len2(uint32_t len, size_t expected) "tpm2_resp->len = %u, expected = %zu"