xref: /linux/include/keys/trusted_tpm.h (revision 68a052239fc4b351e961f698b824f7654a346091)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __TRUSTED_TPM_H
3 #define __TRUSTED_TPM_H
4 
5 #include <keys/trusted-type.h>
6 #include <linux/tpm_command.h>
7 
8 extern struct trusted_key_ops trusted_key_tpm_ops;
9 
10 int tpm2_seal_trusted(struct tpm_chip *chip,
11 		      struct trusted_key_payload *payload,
12 		      struct trusted_key_options *options);
13 int tpm2_unseal_trusted(struct tpm_chip *chip,
14 			struct trusted_key_payload *payload,
15 			struct trusted_key_options *options);
16 
17 #endif
18