tpm_cmd_hdr
(cmd_size < sizeof (struct tpm_cmd_hdr)) ||
(rsp_size < sizeof (struct tpm_cmd_hdr)) ||
struct tpm_cmd_hdr *req = (struct tpm_cmd_hdr *)&cmd[cmd_off];
if (be32toh(req->len) < sizeof (struct tpm_cmd_hdr) ||