Home
last modified time | relevance | path

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

/linux-4.4.14/security/keys/
Dtrusted.h19 struct tpm_buf { struct
100 static inline void store8(struct tpm_buf *buf, const unsigned char value) in store8()
105 static inline void store16(struct tpm_buf *buf, const uint16_t value) in store16()
111 static inline void store32(struct tpm_buf *buf, const uint32_t value) in store32()
117 static inline void storebytes(struct tpm_buf *buf, const unsigned char *in, in storebytes()
Dtrusted.c393 static int osap(struct tpm_buf *tb, struct osapsess *s, in osap()
428 static int oiap(struct tpm_buf *tb, uint32_t *handle, unsigned char *nonce) in oiap()
458 static int tpm_seal(struct tpm_buf *tb, uint16_t keytype, in tpm_seal()
573 static int tpm_unseal(struct tpm_buf *tb, in tpm_unseal()
664 struct tpm_buf *tb; in key_seal()
690 struct tpm_buf *tb; in key_unseal()
/linux-4.4.14/drivers/char/tpm/
Dtpm.h411 struct tpm_buf { struct
417 static inline int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_init() argument
437 static inline void tpm_buf_destroy(struct tpm_buf *buf) in tpm_buf_destroy()
443 static inline u32 tpm_buf_length(struct tpm_buf *buf) in tpm_buf_length()
450 static inline u16 tpm_buf_tag(struct tpm_buf *buf) in tpm_buf_tag()
457 static inline void tpm_buf_append(struct tpm_buf *buf, in tpm_buf_append()
478 static inline void tpm_buf_append_u8(struct tpm_buf *buf, const u8 value) in tpm_buf_append_u8()
483 static inline void tpm_buf_append_u16(struct tpm_buf *buf, const u16 value) in tpm_buf_append_u16()
490 static inline void tpm_buf_append_u32(struct tpm_buf *buf, const u32 value) in tpm_buf_append_u32()
Dtpm2-cmd.c399 static void tpm2_buf_append_auth(struct tpm_buf *buf, u32 session_handle, in tpm2_buf_append_auth()
431 struct tpm_buf buf; in tpm2_seal_trusted()
502 struct tpm_buf buf; in tpm2_load()
551 struct tpm_buf buf; in tpm2_flush_context()
576 struct tpm_buf buf; in tpm2_unseal()