coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
tcpa_log_serialized.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef __TCPA_LOG_SERIALIZED_H__
4 #define __TCPA_LOG_SERIALIZED_H__
5 
6 #include <stdint.h>
7 
8 #define MAX_TCPA_LOG_ENTRIES 50
9 #define TCPA_DIGEST_MAX_LENGTH 64
10 #define TCPA_PCR_HASH_NAME 50
11 #define TCPA_PCR_HASH_LEN 10
12 /* Assumption of 2K TCPA log size reserved for CAR/SRAM */
13 #define MAX_PRERAM_TCPA_LOG_ENTRIES 15
14 
15 struct tcpa_entry {
22 
23 struct tcpa_table {
26  struct tcpa_entry entries[0]; /* Variable number of entries */
27 } __packed;
28 
29 #endif
unsigned short uint16_t
Definition: stdint.h:11
unsigned int uint32_t
Definition: stdint.h:14
unsigned char uint8_t
Definition: stdint.h:8
uint8_t digest[TCPA_DIGEST_MAX_LENGTH]
uint32_t pcr
uint32_t digest_length
char name[TCPA_PCR_HASH_NAME]
char digest_type[TCPA_PCR_HASH_LEN]
uint16_t max_entries
uint16_t num_entries
struct tcpa_entry entries[0]
struct tcpa_entry __packed
#define TCPA_DIGEST_MAX_LENGTH
#define TCPA_PCR_HASH_LEN
#define TCPA_PCR_HASH_NAME