Vadim Bendebury | 1ba1328 | 2015-05-29 22:39:54 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2015 The Chromium OS Authors. All rights reserved. |
| 3 | * Use of this source code is governed by a BSD-style license that can be |
| 4 | * found in the LICENSE file. |
| 5 | */ |
| 6 | |
| 7 | #ifndef __TPM2_CERTIFY_FP_H |
| 8 | #define __TPM2_CERTIFY_FP_H |
| 9 | |
| 10 | typedef struct { |
| 11 | TPMI_DH_OBJECT signHandle; |
| 12 | TPMI_DH_OBJECT objectHandle; |
| 13 | TPMT_SIG_SCHEME inScheme; |
| 14 | TPM2B_DATA qualifyingData; |
| 15 | } Certify_In; |
| 16 | |
| 17 | typedef struct { |
| 18 | TPM2B_ATTEST certifyInfo; |
| 19 | TPMT_SIGNATURE signature; |
| 20 | } Certify_Out; |
| 21 | |
| 22 | TPM_RC TPM2_Certify( |
| 23 | Certify_In *in, // IN: input parameter list |
| 24 | Certify_Out *out // OUT: output parameter list |
| 25 | ); |
| 26 | |
| 27 | #endif // __TPM2_CERTIFY_FP_H |