Vadim Bendebury | 9c19356 | 2015-06-01 17:31:24 -0700 | [diff] [blame] | 1 | /* |
| 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_RSA_ENCRYPT_FP_H_ |
| 8 | #define __TPM2_RSA_ENCRYPT_FP_H_ |
| 9 | |
| 10 | typedef struct { |
| 11 | TPMI_DH_OBJECT keyHandle; |
| 12 | TPM2B_DATA label; |
| 13 | TPM2B_DATA message; |
| 14 | TPMT_RSA_DECRYPT inScheme; |
| 15 | } RSA_Encrypt_In; |
| 16 | |
| 17 | typedef struct { |
| 18 | TPM2B_DATA outData; |
| 19 | } RSA_Encrypt_Out; |
| 20 | |
| 21 | TPM_RC TPM2_RSA_Encrypt( |
| 22 | RSA_Encrypt_In *in, // IN: input parameter list |
| 23 | RSA_Encrypt_Out *out // OUT: output parameter list |
| 24 | ); |
| 25 | |
| 26 | #endif // __TPM2_RSA_ENCRYPT_FP_H_ |