blob: d5f3407345254a895fe191c4c209619939855fc3 [file] [log] [blame]
Vadim Bendeburyb209ce12015-06-01 17:47:52 -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_REWRAP_FP_H_
8#define __TPM2_REWRAP_FP_H_
9
10typedef struct {
11 TPM2B_PRIVATE inDuplicate;
12 TPM_RH newParent;
13 TPM_RH oldParent;
14 TPM2B_ENCRYPTED_SECRET inSymSeed;
15 TPM2B_NAME name;
16} Rewrap_In;
17
18typedef struct {
19 TPM2B_PRIVATE outDuplicate;
20 TPM2B_ENCRYPTED_SECRET outSymSeed;
21} Rewrap_Out;
22
23TPM_RC TPM2_Rewrap(
24 Rewrap_In *in, // IN: input parameter list
25 Rewrap_Out *out // OUT: output parameter list
26);
27
28#endif // __TPM2_REWRAP_FP_H_