tpm2_protocol/basic/
integer.rs

1// SPDX-License-Identifier: MIT OR Apache-2.0
2// Copyright (c) 2025 Opinsys Oy
3// Copyright (c) 2024-2025 Jarkko Sakkinen
4
5crate::integer!(TpmUint8, u8, 1);
6crate::integer!(TpmInt8, i8, 1);
7crate::integer!(TpmUint16, u16, 2);
8crate::integer!(TpmUint32, u32, 4);
9crate::integer!(TpmUint64, u64, 8);
10crate::integer!(TpmInt32, i32, 4);
11
12pub type TpmHandle = crate::basic::TpmUint32;