blob: 487246dc015e94c1e621ef78aebe7048799da878 [file] [log] [blame]
Vadim Bendebury9d998c62015-05-29 23:07:44 -07001/*
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_MAKECREDENTIAL_FP_H
8#define __TPM2_MAKECREDENTIAL_FP_H
9
10typedef struct {
11 TPMI_DH_OBJECT handle;
12 TPM2B_DIGEST credential;
13 TPM2B_NAME objectName;
14} MakeCredential_In;
15
16typedef struct {
17 TPM2B_ID_OBJECT credentialBlob;
18 TPM2B_ENCRYPTED_SECRET secret; // OUT: secret structure
19} MakeCredential_Out;
20
21TPM_RC TPM2_MakeCredential(
22 MakeCredential_In *in, // IN: input parameter list
23 MakeCredential_Out *out // OUT: output parameter list
24 );
25
26#endif // __TPM2_MAKECREDENTIAL_FP_H