blob: 835bd369c3bbb1c7de5738b3286a620951288627 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/*****************************************************************************
* Copyright (c) 2015-2020 IBM Corporation
* All rights reserved.
* This program and the accompanying materials
* are made available under the terms of the BSD License
* which accompanies this distribution, and is available at
* http://www.opensource.org/licenses/bsd-license.php
*
* Contributors:
* IBM Corporation - initial implementation
*****************************************************************************/
#ifndef TCGBIOS_INT_H
#define TCGBIOS_INT_H
#include <stdint.h>
struct tpm_req_header {
uint16_t tag;
uint32_t totlen;
uint32_t ordinal;
} __attribute__((packed));
struct tpm_rsp_header {
uint16_t tag;
uint32_t totlen;
uint32_t errcode;
} __attribute__((packed));
#endif /* TCGBIOS_INT_H */
|