OLD | NEW |
1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
4 */ | 4 */ |
5 | 5 |
6 #ifndef TPM_LITE_TLCL_INTERNAL_H_ | 6 #ifndef TPM_LITE_TLCL_INTERNAL_H_ |
7 #define TPM_LITE_TLCL_INTERNAL_H_ | 7 #define TPM_LITE_TLCL_INTERNAL_H_ |
8 | 8 |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 } | 54 } |
55 | 55 |
56 /* | 56 /* |
57 * These numbers derive from adding the sizes of command fields as shown in the | 57 * These numbers derive from adding the sizes of command fields as shown in the |
58 * TPM commands manual. | 58 * TPM commands manual. |
59 */ | 59 */ |
60 const int kTpmRequestHeaderLength = 10; | 60 const int kTpmRequestHeaderLength = 10; |
61 const int kTpmResponseHeaderLength = 10; | 61 const int kTpmResponseHeaderLength = 10; |
62 const int kTpmReadInfoLength = 12; | 62 const int kTpmReadInfoLength = 12; |
63 const int kEncAuthLength = 20; | 63 const int kEncAuthLength = 20; |
| 64 const int kPcrDigestLength = 20; |
64 | 65 |
65 #endif /* TPM_LITE_TLCL_INTERNAL_H_ */ | 66 #endif /* TPM_LITE_TLCL_INTERNAL_H_ */ |
OLD | NEW |