tpm2_protocol/message/
vendor.rs

1// SPDX-License-Identifier: MIT OR Apache-2.0
2// Copyright (c) 2025 Opinsys Oy
3
4use 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    handles: {},
16    parameters: {
17        pub input_data: Tpm2bData,
18    }
19}
20
21tpm_struct! {
22    #[derive(Debug, PartialEq, Eq, Clone)]
23    kind: Response,
24    name: TpmVendorTcgTestResponse,
25    cc: TpmCc::VendorTcgTest,
26    handles: {},
27    parameters: {
28        pub output_data: Tpm2bData,
29    }
30}