Searched refs:tpm_buf (Results 1 - 12 of 12) sorted by last modified time
/linux-master/security/keys/trusted-keys/ |
H A D | trusted_tpm1.c | 359 struct tpm_buf buf; 402 static int osap(struct tpm_buf *tb, struct osapsess *s, 437 int oiap(struct tpm_buf *tb, uint32_t *handle, unsigned char *nonce) 468 static int tpm_seal(struct tpm_buf *tb, uint16_t keytype, 586 static int tpm_unseal(struct tpm_buf *tb, 675 struct tpm_buf tb; 701 struct tpm_buf tb;
|
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, sized; 377 struct tpm_buf buf; 481 struct tpm_buf buf;
|
/linux-master/include/linux/ |
H A D | tpm.h | 376 struct tpm_buf { struct 426 int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal); 427 void tpm_buf_reset(struct tpm_buf *buf, u16 tag, u32 ordinal); 428 int tpm_buf_init_sized(struct tpm_buf *buf); 429 void tpm_buf_reset_sized(struct tpm_buf *buf); 430 void tpm_buf_destroy(struct tpm_buf *buf); 431 u32 tpm_buf_length(struct tpm_buf *buf); 432 void tpm_buf_append(struct tpm_buf *buf, const u8 *new_data, u16 new_length); 433 void tpm_buf_append_u8(struct tpm_buf *buf, const u8 value); 434 void tpm_buf_append_u16(struct tpm_buf *bu [all...] |
/linux-master/include/keys/ |
H A D | trusted_tpm.h | 41 int oiap(struct tpm_buf *tb, uint32_t *handle, unsigned char *nonce);
|
/linux-master/drivers/char/tpm/ |
H A D | tpm2-sessions.c | 266 static void tpm_buf_append_salt(struct tpm_buf *buf, struct tpm_chip *chip) 365 * As with most tpm_buf operations, success is assumed because failure 369 void tpm_buf_append_hmac_session(struct tpm_chip *chip, struct tpm_buf *buf, 433 * As with most tpm_buf operations, success is assumed because failure 437 void tpm_buf_fill_hmac_session(struct tpm_chip *chip, struct tpm_buf *buf) 567 static int tpm2_parse_read_public(char *name, struct tpm_buf *buf) 593 struct tpm_buf buf; 628 * As with most tpm_buf operations, success is assumed because failure 632 void tpm_buf_append_name(struct tpm_chip *chip, struct tpm_buf *buf, 692 int tpm_buf_check_hmac_response(struct tpm_chip *chip, struct tpm_buf *bu [all...] |
H A D | tpm2-space.c | 74 struct tpm_buf tbuf; 128 struct tpm_buf tbuf;
|
H A D | tpm2-cmd.c | 166 struct tpm_buf buf; 231 struct tpm_buf buf; 284 struct tpm_buf buf; 356 struct tpm_buf buf; 396 struct tpm_buf buf; 437 struct tpm_buf buf; 463 struct tpm_buf buf; 501 struct tpm_buf buf; 557 struct tpm_buf buf; 635 struct tpm_buf bu [all...] |
H A D | tpm-interface.c | 213 ssize_t tpm_transmit_cmd(struct tpm_chip *chip, struct tpm_buf *buf,
|
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 | tpm-buf.c | 12 * @buf: A &tpm_buf 18 int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal) 31 * @buf: A &tpm_buf 35 void tpm_buf_reset(struct tpm_buf *buf, u16 tag, u32 ordinal) 53 * @buf: A @tpm_buf 57 int tpm_buf_init_sized(struct tpm_buf *buf) 70 * @buf: A &tpm_buf 72 void tpm_buf_reset_sized(struct tpm_buf *buf) 81 void tpm_buf_destroy(struct tpm_buf *buf) 89 * @buf: A &tpm_buf [all...] |
H A D | tpm_vtpm_proxy.c | 397 struct tpm_buf 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;
|
Completed in 251 milliseconds