trusted_tpm.h 475 B

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