xref: /linux/include/keys/trusted_tpm.h (revision 49bda4826843be0ef97a162009a29ea3a63f3935)
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 
7 extern struct trusted_key_ops trusted_key_tpm_ops;
8 
9 int tpm2_seal_trusted(struct tpm_chip *chip,
10 		      struct trusted_key_payload *payload,
11 		      struct trusted_key_options *options);
12 int tpm2_unseal_trusted(struct tpm_chip *chip,
13 			struct trusted_key_payload *payload,
14 			struct trusted_key_options *options);
15 
16 #endif
17