at master 475 B view raw
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 8extern struct trusted_key_ops trusted_key_tpm_ops; 9 10int tpm2_seal_trusted(struct tpm_chip *chip, 11 struct trusted_key_payload *payload, 12 struct trusted_key_options *options); 13int tpm2_unseal_trusted(struct tpm_chip *chip, 14 struct trusted_key_payload *payload, 15 struct trusted_key_options *options); 16 17#endif