blob: 7aa79cc83c0ee70c0a9bc2549d6c7dd1efb85987 [file] [log] [blame]
Vadim Bendebury1a1c3332015-06-01 18:39:22 -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_SIGN_FP_H_
8#define __TPM2_SIGN_FP_H_
9
10typedef struct {
Vadim Bendeburyf788ffb2015-06-05 12:57:27 -070011 TPMI_DH_OBJECT keyHandle;
12 TPMT_SIG_SCHEME inScheme;
13 TPM2B_DIGEST digest;
14 TPMT_TK_COMMON validation;
Vadim Bendebury1a1c3332015-06-01 18:39:22 -070015} Sign_In;
16
Vadim Bendeburyf788ffb2015-06-05 12:57:27 -070017typedef struct { TPMT_SIGNATURE signature; } Sign_Out;
Vadim Bendebury1a1c3332015-06-01 18:39:22 -070018
Vadim Bendeburyf788ffb2015-06-05 12:57:27 -070019TPM_RC TPM2_Sign(Sign_In *in, // IN: input parameter list
20 Sign_Out *out // OUT: output parameter list
21 );
Vadim Bendebury1a1c3332015-06-01 18:39:22 -070022
Vadim Bendeburyf788ffb2015-06-05 12:57:27 -070023#endif // __TPM2_SIGN_FP_H_