tpm2_protocol/message/
vendor.rs1use crate::{
5 data::{Tpm2bData, TpmCc},
6 tpm_struct,
7};
8use core::fmt::Debug;
9
10tpm_struct! {
11 #[derive(Debug, PartialEq, Eq, Clone)]
12 kind: Command,
13 name: TpmVendorTcgTestCommand,
14 cc: TpmCc::VendorTcgTest,
15 no_sessions: true,
16 with_sessions: false,
17 handles: {},
18 parameters: {
19 pub input_data: Tpm2bData,
20 }
21}
22
23tpm_struct! {
24 #[derive(Debug, PartialEq, Eq, Clone)]
25 kind: Response,
26 name: TpmVendorTcgTestResponse,
27 cc: TpmCc::VendorTcgTest,
28 no_sessions: true,
29 with_sessions: false,
30 handles: {},
31 parameters: {
32 pub output_data: Tpm2bData,
33 }
34}