blob: 620775033f458d4bb234fe2baf106df85efa4c66 [file] [log] [blame]
Vadim Bendeburyc4b77e02015-05-27 15:29:50 -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_ACTIVATECREDENTIAL_FP_H
8#define __TPM2_ACTIVATECREDENTIAL_FP_H
9
10typedef struct {
11 TPMI_DH_OBJECT keyHandle;
12 TPMI_DH_OBJECT activateHandle;
13 TPM2B_ENCRYPTED_SECRET secret;
14 TPM2B_ID_OBJECT credentialBlob;
15} ActivateCredential_In;
16
17typedef struct {
18 TPM2B_DIGEST certInfo;
19} ActivateCredential_Out;
20
21TPM_RC TPM2_ActivateCredential(
22 ActivateCredential_In *in, // IN: input parameter list
23 ActivateCredential_Out *out // OUT: output parameter list
24);
25
26#endif // __TPM2_ACTIVATECREDENTIAL_FP_H