OLD | NEW |
1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 /* Copyright (c) 2010-2011 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 /* TPM Lightweight Command Library. | 6 /* TPM Lightweight Command Library. |
7 * | 7 * |
8 * A low-level library for interfacing to TPM hardware or an emulator. | 8 * A low-level library for interfacing to TPM hardware or an emulator. |
9 */ | 9 */ |
10 | 10 |
11 #ifndef VBOOT_REFERENCE_TLCL_STUB_H_ | 11 #ifndef VBOOT_REFERENCE_TLCL_STUB_H_ |
(...skipping 14 matching lines...) Expand all Loading... |
26 */ | 26 */ |
27 uint32_t TlclCloseDevice(void); | 27 uint32_t TlclCloseDevice(void); |
28 uint32_t TlclOpenDevice(void); | 28 uint32_t TlclOpenDevice(void); |
29 | 29 |
30 /* Send data to the TPM and receive a response. Returns 0 if success, | 30 /* Send data to the TPM and receive a response. Returns 0 if success, |
31 * nonzero if error. */ | 31 * nonzero if error. */ |
32 uint32_t TlclStubSendReceive(const uint8_t* request, int request_length, | 32 uint32_t TlclStubSendReceive(const uint8_t* request, int request_length, |
33 uint8_t* response, int max_length); | 33 uint8_t* response, int max_length); |
34 | 34 |
35 #endif /* VBOOT_REFERENCE_TLCL_STUB_H_ */ | 35 #endif /* VBOOT_REFERENCE_TLCL_STUB_H_ */ |
OLD | NEW |