1 // SPDX-License-Identifier: GPL-2.0
2 #ifndef _LINUX_ASYM_TPM_SUBTYPE_H
3 #define _LINUX_ASYM_TPM_SUBTYPE_H
5 #include <linux/keyctl.h>
10 uint16_t key_len; /* Size in bits of the key */
11 const void *pub_key; /* pointer inside blob to the public key bytes */
12 uint16_t pub_key_len; /* length of the public key */
15 struct tpm_key *tpm_key_create(const void *blob, uint32_t blob_len);
17 extern struct asymmetric_key_subtype asym_tpm_subtype;
19 #endif /* _LINUX_ASYM_TPM_SUBTYPE_H */