Home
last modified time | relevance | path

Searched refs:tpm_buf (Results 1 – 6 of 6) sorted by relevance

/linux-4.19.296/drivers/char/tpm/
Dtpm.h425 struct tpm_buf { struct
431 static inline void tpm_buf_reset(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_reset() argument
440 static inline int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_init()
452 static inline void tpm_buf_destroy(struct tpm_buf *buf) in tpm_buf_destroy()
458 static inline u32 tpm_buf_length(struct tpm_buf *buf) in tpm_buf_length()
465 static inline u16 tpm_buf_tag(struct tpm_buf *buf) in tpm_buf_tag()
472 static inline void tpm_buf_append(struct tpm_buf *buf, in tpm_buf_append()
493 static inline void tpm_buf_append_u8(struct tpm_buf *buf, const u8 value) in tpm_buf_append_u8()
498 static inline void tpm_buf_append_u16(struct tpm_buf *buf, const u16 value) in tpm_buf_append_u16()
505 static inline void tpm_buf_append_u32(struct tpm_buf *buf, const u32 value) in tpm_buf_append_u32()
Dtpm-sysfs.c40 struct tpm_buf tpm_buf; in pubek_show() local
52 if (tpm_buf_init(&tpm_buf, TPM_TAG_RQU_COMMAND, TPM_ORD_READPUBEK)) in pubek_show()
55 tpm_buf_append(&tpm_buf, anti_replay, sizeof(anti_replay)); in pubek_show()
57 if (tpm_transmit_cmd(chip, NULL, tpm_buf.data, PAGE_SIZE, in pubek_show()
62 out = (struct tpm_readpubek_out *)&tpm_buf.data[10]; in pubek_show()
92 tpm_buf_destroy(&tpm_buf); in pubek_show()
Dtpm2-cmd.c189 struct tpm_buf buf; in tpm2_pcr_read()
239 struct tpm_buf buf; in tpm2_pcr_extend()
303 struct tpm_buf buf; in tpm2_get_random()
363 struct tpm_buf buf; in tpm2_flush_context_cmd()
392 static void tpm2_buf_append_auth(struct tpm_buf *buf, u32 session_handle, in tpm2_buf_append_auth()
425 struct tpm_buf buf; in tpm2_seal_trusted()
541 struct tpm_buf buf; in tpm2_load_cmd()
607 struct tpm_buf buf; in tpm2_unseal_cmd()
707 struct tpm_buf buf; in tpm2_get_tpm_pt()
748 struct tpm_buf buf; in tpm2_shutdown()
[all …]
Dtpm2-space.c76 struct tpm_buf tbuf; in tpm2_load_context()
128 struct tpm_buf tbuf; in tpm2_save_context()
Dtpm-interface.c705 struct tpm_buf buf; in tpm_startup()
746 struct tpm_buf buf; in tpm_getcap()
1022 struct tpm_buf buf; in tpm1_pcr_extend()
Dtpm_vtpm_proxy.c402 struct tpm_buf buf; in vtpm_proxy_request_locality()