3 #ifndef TCG_TSS_INTERNAL_H_
4 #define TCG_TSS_INTERNAL_H_
12 #define kTpmRequestHeaderLength 10
13 #define kTpmResponseHeaderLength 10
14 #define kTpmReadInfoLength 12
15 #define kEncAuthLength 20
16 #define kPcrDigestLength 20
23 __attribute__((unused))
35 __attribute__((unused))
47 __attribute__((unused))
57 __attribute__((unused))
u8 buffer[C2P_BUFFER_MAXSIZE]
static void to_tpm_uint16(uint8_t *buffer, uint16_t x)
static void to_tpm_uint32(uint8_t *buffer, uint32_t x)
static void from_tpm_uint16(const uint8_t *buffer, uint16_t *x)
static void from_tpm_uint32(const uint8_t *buffer, uint32_t *x)