OLD | NEW |
1 /* Copyright (c) 2011 The Chromium OS Authors. All rights reserved. | 1 /* Copyright (c) 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 #ifndef TPM_H_ | 6 #ifndef TPM_H_ |
7 #define TPM_H_ | 7 #define TPM_H_ |
8 | 8 |
9 #include <common.h> | 9 #include <common.h> |
10 | 10 |
11 int tpm_init(void); | 11 int tis_init(void); |
12 int tpm_send(const uint8_t *pdata, size_t length); | 12 int tis_open(void); |
13 int tpm_receive(uint8_t *pdata, size_t max_length); | 13 int tis_close(void); |
| 14 int tis_sendrecv(const uint8_t *sendbuf, size_t send_size, uint8_t *recvbuf, |
| 15 » » » size_t *recv_len); |
14 | 16 |
15 #endif /* TPM_H_ */ | 17 #endif /* TPM_H_ */ |
OLD | NEW |