tpm_buf            34 crypto/asymmetric_keys/asym_tpm.c static int tpm_loadkey2(struct tpm_buf *tb,
tpm_buf           102 crypto/asymmetric_keys/asym_tpm.c static int tpm_flushspecific(struct tpm_buf *tb, uint32_t handle)
tpm_buf           118 crypto/asymmetric_keys/asym_tpm.c static int tpm_unbind(struct tpm_buf *tb,
tpm_buf           204 crypto/asymmetric_keys/asym_tpm.c static int tpm_sign(struct tpm_buf *tb,
tpm_buf           523 crypto/asymmetric_keys/asym_tpm.c 	struct tpm_buf *tb;
tpm_buf           647 crypto/asymmetric_keys/asym_tpm.c 	struct tpm_buf *tb;
tpm_buf           212 drivers/char/tpm/tpm-interface.c ssize_t tpm_transmit_cmd(struct tpm_chip *chip, struct tpm_buf *buf,
tpm_buf           354 drivers/char/tpm/tpm-interface.c 	struct tpm_buf buf;
tpm_buf            35 drivers/char/tpm/tpm-sysfs.c 	struct tpm_buf tpm_buf;
tpm_buf            47 drivers/char/tpm/tpm-sysfs.c 	if (tpm_buf_init(&tpm_buf, TPM_TAG_RQU_COMMAND, TPM_ORD_READPUBEK))
tpm_buf            50 drivers/char/tpm/tpm-sysfs.c 	tpm_buf_append(&tpm_buf, anti_replay, sizeof(anti_replay));
tpm_buf            52 drivers/char/tpm/tpm-sysfs.c 	if (tpm_transmit_cmd(chip, &tpm_buf, READ_PUBEK_RESULT_MIN_BODY_SIZE,
tpm_buf            56 drivers/char/tpm/tpm-sysfs.c 	out = (struct tpm_readpubek_out *)&tpm_buf.data[10];
tpm_buf            86 drivers/char/tpm/tpm-sysfs.c 	tpm_buf_destroy(&tpm_buf);
tpm_buf           292 drivers/char/tpm/tpm.h static inline void tpm_buf_reset(struct tpm_buf *buf, u16 tag, u32 ordinal)
tpm_buf           301 drivers/char/tpm/tpm.h static inline int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal)
tpm_buf           313 drivers/char/tpm/tpm.h static inline void tpm_buf_destroy(struct tpm_buf *buf)
tpm_buf           319 drivers/char/tpm/tpm.h static inline u32 tpm_buf_length(struct tpm_buf *buf)
tpm_buf           326 drivers/char/tpm/tpm.h static inline u16 tpm_buf_tag(struct tpm_buf *buf)
tpm_buf           333 drivers/char/tpm/tpm.h static inline void tpm_buf_append(struct tpm_buf *buf,
tpm_buf           354 drivers/char/tpm/tpm.h static inline void tpm_buf_append_u8(struct tpm_buf *buf, const u8 value)
tpm_buf           359 drivers/char/tpm/tpm.h static inline void tpm_buf_append_u16(struct tpm_buf *buf, const u16 value)
tpm_buf           366 drivers/char/tpm/tpm.h static inline void tpm_buf_append_u32(struct tpm_buf *buf, const u32 value)
tpm_buf           381 drivers/char/tpm/tpm.h ssize_t tpm_transmit_cmd(struct tpm_chip *chip, struct tpm_buf *buf,
tpm_buf           326 drivers/char/tpm/tpm1-cmd.c 	struct tpm_buf buf;
tpm_buf           451 drivers/char/tpm/tpm1-cmd.c 	struct tpm_buf buf;
tpm_buf           470 drivers/char/tpm/tpm1-cmd.c 	struct tpm_buf buf;
tpm_buf           519 drivers/char/tpm/tpm1-cmd.c 	struct tpm_buf buf;
tpm_buf           571 drivers/char/tpm/tpm1-cmd.c 	struct tpm_buf buf;
tpm_buf           607 drivers/char/tpm/tpm1-cmd.c 	struct tpm_buf buf;
tpm_buf           725 drivers/char/tpm/tpm1-cmd.c 	struct tpm_buf buf;
tpm_buf           180 drivers/char/tpm/tpm2-cmd.c 	struct tpm_buf buf;
tpm_buf           252 drivers/char/tpm/tpm2-cmd.c 	struct tpm_buf buf;
tpm_buf           305 drivers/char/tpm/tpm2-cmd.c 	struct tpm_buf buf;
tpm_buf           364 drivers/char/tpm/tpm2-cmd.c 	struct tpm_buf buf;
tpm_buf           391 drivers/char/tpm/tpm2-cmd.c static void tpm2_buf_append_auth(struct tpm_buf *buf, u32 session_handle,
tpm_buf           424 drivers/char/tpm/tpm2-cmd.c 	struct tpm_buf buf;
tpm_buf           538 drivers/char/tpm/tpm2-cmd.c 	struct tpm_buf buf;
tpm_buf           602 drivers/char/tpm/tpm2-cmd.c 	struct tpm_buf buf;
tpm_buf           696 drivers/char/tpm/tpm2-cmd.c 	struct tpm_buf buf;
tpm_buf           728 drivers/char/tpm/tpm2-cmd.c 	struct tpm_buf buf;
tpm_buf           754 drivers/char/tpm/tpm2-cmd.c 	struct tpm_buf buf;
tpm_buf           792 drivers/char/tpm/tpm2-cmd.c 	struct tpm_buf buf;
tpm_buf           848 drivers/char/tpm/tpm2-cmd.c 	struct tpm_buf buf;
tpm_buf           926 drivers/char/tpm/tpm2-cmd.c 	struct tpm_buf buf;
tpm_buf          1004 drivers/char/tpm/tpm2-cmd.c 	struct tpm_buf buf;
tpm_buf            71 drivers/char/tpm/tpm2-space.c 	struct tpm_buf tbuf;
tpm_buf           122 drivers/char/tpm/tpm2-space.c 	struct tpm_buf tbuf;
tpm_buf           397 drivers/char/tpm/tpm_vtpm_proxy.c 	struct tpm_buf buf;
tpm_buf            49 include/keys/trusted.h int oiap(struct tpm_buf *tb, uint32_t *handle, unsigned char *nonce);
tpm_buf           113 include/keys/trusted.h static inline void store8(struct tpm_buf *buf, const unsigned char value)
tpm_buf           118 include/keys/trusted.h static inline void store16(struct tpm_buf *buf, const uint16_t value)
tpm_buf           124 include/keys/trusted.h static inline void store32(struct tpm_buf *buf, const uint32_t value)
tpm_buf           130 include/keys/trusted.h static inline void storebytes(struct tpm_buf *buf, const unsigned char *in,
tpm_buf           398 security/keys/trusted.c static int osap(struct tpm_buf *tb, struct osapsess *s,
tpm_buf           433 security/keys/trusted.c int oiap(struct tpm_buf *tb, uint32_t *handle, unsigned char *nonce)
tpm_buf           467 security/keys/trusted.c static int tpm_seal(struct tpm_buf *tb, uint16_t keytype,
tpm_buf           582 security/keys/trusted.c static int tpm_unseal(struct tpm_buf *tb,
tpm_buf           673 security/keys/trusted.c 	struct tpm_buf *tb;
tpm_buf           699 security/keys/trusted.c 	struct tpm_buf *tb;