summaryrefslogtreecommitdiff
path: root/src/include/tcs_int_literals.h
blob: 8f06432da28d56147af619391ff95d0934156f8f (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

/*
 * Licensed Materials - Property of IBM
 *
 * trousers - An open source TCG Software Stack
 *
 * (C) Copyright International Business Machines Corp. 2004
 *
 */

#ifndef _TCS_INT_LITERALS_H_
#define _TCS_INT_LITERALS_H_

#define	TPM_VENDOR_UNKNOWN  0
#define TPM_VENDOR_ATMEL	1
#define TPM_VENDOR_IFX		2
#define TPM_VENDOR_NATL		3

#define TPM_PARAMSIZE_OFFSET 0x02

#define NULL_TPM_HANDLE	((TCPA_KEY_HANDLE)-1)
#define NULL_TCS_HANDLE	((TCS_KEY_HANDLE)-1)
#define SRK_TPM_HANDLE	(0x40000000)
#define EK_TPM_HANDLE	(0x40000001)

#define FIXED_TCS_MANUFACTURER "IBM "

#endif