blob: 8ad8fb8670c7080a381cd66ae787b7acd212c300 [file] [log] [blame]
Vadim Bendebury30f6dee2015-05-29 22:51:10 -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_DUPLICATE_FP_H
8#define __TPM2_DUPLICATE_FP_H
9typedef struct {
10 TPMI_DH_OBJECT objectHandle;
11 TPMI_DH_OBJECT newParentHandle;
12 TPMT_SYM_DEF_OBJECT symmetricAlg;
13 TPM2B_DATA encryptionKeyIn;
14} Duplicate_In;
15
16typedef struct {
17 TPM2B_PRIVATE duplicate;
18 TPM2B_ENCRYPTED_SECRET outSymSeed;
19 TPM2B_DATA encryptionKeyOut;
20} Duplicate_Out;
21
22TPM_RC TPM2_Duplicate(
23 Duplicate_In *in, // IN: input parameter list
24 Duplicate_Out *out // OUT: output parameter list
25 );
26
27#endif // __TPM2_DUPLICATE_FP_H