Vadim Bendebury | d302849 | 2015-05-31 18:15:44 -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_NV_CERTIFY_FP_H |
| 8 | #define __TPM2_NV_CERTIFY_FP_H |
| 9 | typedef struct { |
| 10 | TPMI_RH_NV_INDEX nvIndex; |
| 11 | TPM_HANDLE authHandle; |
| 12 | UINT32 offset; |
| 13 | UINT16 size; |
| 14 | TPMI_DH_OBJECT signHandle; |
| 15 | TPMT_SIG_SCHEME inScheme; |
| 16 | TPM2B_DATA qualifyingData; |
| 17 | } NV_Certify_In; |
| 18 | |
| 19 | typedef struct { |
| 20 | TPM2B_ATTEST certifyInfo; |
| 21 | TPMT_SIGNATURE signature; |
| 22 | } NV_Certify_Out; |
| 23 | |
| 24 | TPM_RC TPM2_NV_Certify( |
| 25 | NV_Certify_In *in, // IN: input parameter list |
| 26 | NV_Certify_Out *out // OUT: output parameter list |
| 27 | ); |
| 28 | |
| 29 | #endif // __TPM2_NV_CERTIFY_FP_H |
| 30 | |