Searched refs:tpm_buf (Results 1 - 10 of 10) sorted by relevance
/linux-master/include/linux/ |
H A D | tpm.h | 309 struct tpm_buf { struct 329 static inline void tpm_buf_reset(struct tpm_buf *buf, u16 tag, u32 ordinal) 338 static inline int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal) 349 static inline void tpm_buf_destroy(struct tpm_buf *buf) 354 static inline u32 tpm_buf_length(struct tpm_buf *buf) 361 static inline u16 tpm_buf_tag(struct tpm_buf *buf) 368 static inline void tpm_buf_append(struct tpm_buf *buf, 380 WARN(1, "tpm_buf: overflow\n"); 389 static inline void tpm_buf_append_u8(struct tpm_buf *buf, const u8 value) 394 static inline void tpm_buf_append_u16(struct tpm_buf *bu [all...] |
/linux-master/drivers/char/tpm/ |
H A D | tpm2-cmd.c | 166 struct tpm_buf buf; 238 struct tpm_buf buf; 291 struct tpm_buf buf; 350 struct tpm_buf buf; 390 struct tpm_buf buf; 431 struct tpm_buf buf; 457 struct tpm_buf buf; 495 struct tpm_buf buf; 551 struct tpm_buf buf; 629 struct tpm_buf bu [all...] |
H A D | tpm-sysfs.c | 35 struct tpm_buf tpm_buf; local 47 if (tpm_buf_init(&tpm_buf, TPM_TAG_RQU_COMMAND, TPM_ORD_READPUBEK)) 50 tpm_buf_append(&tpm_buf, anti_replay, sizeof(anti_replay)); 52 if (tpm_transmit_cmd(chip, &tpm_buf, READ_PUBEK_RESULT_MIN_BODY_SIZE, 56 out = (struct tpm_readpubek_out *)&tpm_buf.data[10]; 75 tpm_buf_destroy(&tpm_buf);
|
H A D | tpm1-cmd.c | 326 struct tpm_buf buf; 466 struct tpm_buf buf; 485 struct tpm_buf buf; 534 struct tpm_buf buf; 586 struct tpm_buf buf; 622 struct tpm_buf buf; 745 struct tpm_buf buf;
|
H A D | tpm-interface.c | 213 ssize_t tpm_transmit_cmd(struct tpm_chip *chip, struct tpm_buf *buf, 355 struct tpm_buf buf;
|
H A D | tpm2-space.c | 74 struct tpm_buf tbuf; 125 struct tpm_buf tbuf;
|
H A D | tpm_vtpm_proxy.c | 397 struct tpm_buf buf;
|
/linux-master/include/keys/ |
H A D | trusted_tpm.h | 43 int oiap(struct tpm_buf *tb, uint32_t *handle, unsigned char *nonce);
|
/linux-master/security/keys/trusted-keys/ |
H A D | trusted_tpm2.c | 191 * @buf: an allocated tpm_buf instance 199 static void tpm2_buf_append_auth(struct tpm_buf *buf, u32 session_handle, 232 struct tpm_buf buf; 365 struct tpm_buf buf; 463 struct tpm_buf buf;
|
H A D | trusted_tpm1.c | 391 static int osap(struct tpm_buf *tb, struct osapsess *s, 426 int oiap(struct tpm_buf *tb, uint32_t *handle, unsigned char *nonce) 457 static int tpm_seal(struct tpm_buf *tb, uint16_t keytype, 575 static int tpm_unseal(struct tpm_buf *tb, 664 struct tpm_buf tb; 690 struct tpm_buf tb;
|
Completed in 230 milliseconds