Home
last modified time | relevance | path

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

12

/dports/multimedia/libv4l/linux-5.13-rc2/include/linux/
H A Dtpm.h302 struct tpm_buf { struct
322 static inline void tpm_buf_reset(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_reset() argument
331 static inline int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_init()
342 static inline void tpm_buf_destroy(struct tpm_buf *buf) in tpm_buf_destroy()
347 static inline u32 tpm_buf_length(struct tpm_buf *buf) in tpm_buf_length()
354 static inline u16 tpm_buf_tag(struct tpm_buf *buf) in tpm_buf_tag()
361 static inline void tpm_buf_append(struct tpm_buf *buf, in tpm_buf_append()
382 static inline void tpm_buf_append_u8(struct tpm_buf *buf, const u8 value) in tpm_buf_append_u8()
387 static inline void tpm_buf_append_u16(struct tpm_buf *buf, const u16 value) in tpm_buf_append_u16()
394 static inline void tpm_buf_append_u32(struct tpm_buf *buf, const u32 value) in tpm_buf_append_u32()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/include/linux/
H A Dtpm.h302 struct tpm_buf { struct
322 static inline void tpm_buf_reset(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_reset() argument
331 static inline int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_init()
342 static inline void tpm_buf_destroy(struct tpm_buf *buf) in tpm_buf_destroy()
347 static inline u32 tpm_buf_length(struct tpm_buf *buf) in tpm_buf_length()
354 static inline u16 tpm_buf_tag(struct tpm_buf *buf) in tpm_buf_tag()
361 static inline void tpm_buf_append(struct tpm_buf *buf, in tpm_buf_append()
382 static inline void tpm_buf_append_u8(struct tpm_buf *buf, const u8 value) in tpm_buf_append_u8()
387 static inline void tpm_buf_append_u16(struct tpm_buf *buf, const u16 value) in tpm_buf_append_u16()
394 static inline void tpm_buf_append_u32(struct tpm_buf *buf, const u32 value) in tpm_buf_append_u32()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/include/linux/
H A Dtpm.h302 struct tpm_buf { struct
322 static inline void tpm_buf_reset(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_reset() argument
331 static inline int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal) in tpm_buf_init()
342 static inline void tpm_buf_destroy(struct tpm_buf *buf) in tpm_buf_destroy()
347 static inline u32 tpm_buf_length(struct tpm_buf *buf) in tpm_buf_length()
354 static inline u16 tpm_buf_tag(struct tpm_buf *buf) in tpm_buf_tag()
361 static inline void tpm_buf_append(struct tpm_buf *buf, in tpm_buf_append()
382 static inline void tpm_buf_append_u8(struct tpm_buf *buf, const u8 value) in tpm_buf_append_u8()
387 static inline void tpm_buf_append_u16(struct tpm_buf *buf, const u16 value) in tpm_buf_append_u16()
394 static inline void tpm_buf_append_u32(struct tpm_buf *buf, const u32 value) in tpm_buf_append_u32()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/char/tpm/
H A Dtpm2-cmd.c166 struct tpm_buf buf; in tpm2_pcr_read()
238 struct tpm_buf buf; in tpm2_pcr_extend()
291 struct tpm_buf buf; in tpm2_get_random()
350 struct tpm_buf buf; in tpm2_flush_context()
390 struct tpm_buf buf; in tpm2_get_tpm_pt()
422 struct tpm_buf buf; in tpm2_shutdown()
448 struct tpm_buf buf; in tpm2_do_selftest()
486 struct tpm_buf buf; in tpm2_probe()
542 struct tpm_buf buf; in tpm2_get_pcr_allocation()
620 struct tpm_buf buf; in tpm2_get_cc_attrs_tbl()
[all …]
H A Dtpm-sysfs.c35 struct tpm_buf tpm_buf; in pubek_show() local
47 if (tpm_buf_init(&tpm_buf, TPM_TAG_RQU_COMMAND, TPM_ORD_READPUBEK)) in pubek_show()
50 tpm_buf_append(&tpm_buf, anti_replay, sizeof(anti_replay)); in pubek_show()
52 if (tpm_transmit_cmd(chip, &tpm_buf, READ_PUBEK_RESULT_MIN_BODY_SIZE, in pubek_show()
56 out = (struct tpm_readpubek_out *)&tpm_buf.data[10]; in pubek_show()
75 tpm_buf_destroy(&tpm_buf); in pubek_show()
H A Dtpm1-cmd.c326 struct tpm_buf buf; in tpm1_startup()
466 struct tpm_buf buf; in tpm1_pcr_extend()
485 struct tpm_buf buf; in tpm1_getcap()
534 struct tpm_buf buf; in tpm1_get_random()
586 struct tpm_buf buf; in tpm1_pcr_read()
622 struct tpm_buf buf; in tpm1_continue_selftest()
740 struct tpm_buf buf; in tpm1_pm_suspend()
H A Dtpm-interface.c213 ssize_t tpm_transmit_cmd(struct tpm_chip *chip, struct tpm_buf *buf, in tpm_transmit_cmd()
355 struct tpm_buf buf; in tpm_send()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/char/tpm/
H A Dtpm2-cmd.c166 struct tpm_buf buf; in tpm2_pcr_read()
238 struct tpm_buf buf; in tpm2_pcr_extend()
291 struct tpm_buf buf; in tpm2_get_random()
350 struct tpm_buf buf; in tpm2_flush_context()
390 struct tpm_buf buf; in tpm2_get_tpm_pt()
422 struct tpm_buf buf; in tpm2_shutdown()
448 struct tpm_buf buf; in tpm2_do_selftest()
486 struct tpm_buf buf; in tpm2_probe()
542 struct tpm_buf buf; in tpm2_get_pcr_allocation()
620 struct tpm_buf buf; in tpm2_get_cc_attrs_tbl()
[all …]
H A Dtpm-sysfs.c35 struct tpm_buf tpm_buf; in pubek_show() local
47 if (tpm_buf_init(&tpm_buf, TPM_TAG_RQU_COMMAND, TPM_ORD_READPUBEK)) in pubek_show()
50 tpm_buf_append(&tpm_buf, anti_replay, sizeof(anti_replay)); in pubek_show()
52 if (tpm_transmit_cmd(chip, &tpm_buf, READ_PUBEK_RESULT_MIN_BODY_SIZE, in pubek_show()
56 out = (struct tpm_readpubek_out *)&tpm_buf.data[10]; in pubek_show()
75 tpm_buf_destroy(&tpm_buf); in pubek_show()
H A Dtpm1-cmd.c326 struct tpm_buf buf; in tpm1_startup()
466 struct tpm_buf buf; in tpm1_pcr_extend()
485 struct tpm_buf buf; in tpm1_getcap()
534 struct tpm_buf buf; in tpm1_get_random()
586 struct tpm_buf buf; in tpm1_pcr_read()
622 struct tpm_buf buf; in tpm1_continue_selftest()
740 struct tpm_buf buf; in tpm1_pm_suspend()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/char/tpm/
H A Dtpm2-cmd.c166 struct tpm_buf buf; in tpm2_pcr_read()
238 struct tpm_buf buf; in tpm2_pcr_extend()
291 struct tpm_buf buf; in tpm2_get_random()
350 struct tpm_buf buf; in tpm2_flush_context()
390 struct tpm_buf buf; in tpm2_get_tpm_pt()
422 struct tpm_buf buf; in tpm2_shutdown()
448 struct tpm_buf buf; in tpm2_do_selftest()
486 struct tpm_buf buf; in tpm2_probe()
542 struct tpm_buf buf; in tpm2_get_pcr_allocation()
620 struct tpm_buf buf; in tpm2_get_cc_attrs_tbl()
[all …]
H A Dtpm-sysfs.c35 struct tpm_buf tpm_buf; in pubek_show() local
47 if (tpm_buf_init(&tpm_buf, TPM_TAG_RQU_COMMAND, TPM_ORD_READPUBEK)) in pubek_show()
50 tpm_buf_append(&tpm_buf, anti_replay, sizeof(anti_replay)); in pubek_show()
52 if (tpm_transmit_cmd(chip, &tpm_buf, READ_PUBEK_RESULT_MIN_BODY_SIZE, in pubek_show()
56 out = (struct tpm_readpubek_out *)&tpm_buf.data[10]; in pubek_show()
75 tpm_buf_destroy(&tpm_buf); in pubek_show()
H A Dtpm1-cmd.c326 struct tpm_buf buf; in tpm1_startup()
466 struct tpm_buf buf; in tpm1_pcr_extend()
485 struct tpm_buf buf; in tpm1_getcap()
534 struct tpm_buf buf; in tpm1_get_random()
586 struct tpm_buf buf; in tpm1_pcr_read()
622 struct tpm_buf buf; in tpm1_continue_selftest()
740 struct tpm_buf buf; in tpm1_pm_suspend()
/dports/multimedia/v4l_compat/linux-5.13-rc2/security/keys/trusted-keys/
H A Dtrusted_tpm2.c199 static void tpm2_buf_append_auth(struct tpm_buf *buf, u32 session_handle, in tpm2_buf_append_auth()
232 struct tpm_buf buf; in tpm2_seal_trusted()
365 struct tpm_buf buf; in tpm2_load_cmd()
463 struct tpm_buf buf; in tpm2_unseal_cmd()
H A Dtrusted_tpm1.c391 static int osap(struct tpm_buf *tb, struct osapsess *s, in osap()
426 int oiap(struct tpm_buf *tb, uint32_t *handle, unsigned char *nonce) in oiap()
457 static int tpm_seal(struct tpm_buf *tb, uint16_t keytype, in tpm_seal()
575 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()
/dports/multimedia/libv4l/linux-5.13-rc2/security/keys/trusted-keys/
H A Dtrusted_tpm2.c199 static void tpm2_buf_append_auth(struct tpm_buf *buf, u32 session_handle, in tpm2_buf_append_auth()
232 struct tpm_buf buf; in tpm2_seal_trusted()
365 struct tpm_buf buf; in tpm2_load_cmd()
463 struct tpm_buf buf; in tpm2_unseal_cmd()
H A Dtrusted_tpm1.c391 static int osap(struct tpm_buf *tb, struct osapsess *s, in osap()
426 int oiap(struct tpm_buf *tb, uint32_t *handle, unsigned char *nonce) in oiap()
457 static int tpm_seal(struct tpm_buf *tb, uint16_t keytype, in tpm_seal()
575 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()
/dports/multimedia/v4l-utils/linux-5.13-rc2/security/keys/trusted-keys/
H A Dtrusted_tpm2.c199 static void tpm2_buf_append_auth(struct tpm_buf *buf, u32 session_handle, in tpm2_buf_append_auth()
232 struct tpm_buf buf; in tpm2_seal_trusted()
365 struct tpm_buf buf; in tpm2_load_cmd()
463 struct tpm_buf buf; in tpm2_unseal_cmd()
H A Dtrusted_tpm1.c391 static int osap(struct tpm_buf *tb, struct osapsess *s, in osap()
426 int oiap(struct tpm_buf *tb, uint32_t *handle, unsigned char *nonce) in oiap()
457 static int tpm_seal(struct tpm_buf *tb, uint16_t keytype, in tpm_seal()
575 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()
/dports/multimedia/v4l-utils/linux-5.13-rc2/crypto/asymmetric_keys/
H A Dasym_tpm.c30 static int tpm_loadkey2(struct tpm_buf *tb, in tpm_loadkey2()
95 static int tpm_flushspecific(struct tpm_buf *tb, uint32_t handle) in tpm_flushspecific()
108 static int tpm_unbind(struct tpm_buf *tb, in tpm_unbind()
191 static int tpm_sign(struct tpm_buf *tb, in tpm_sign()
507 struct tpm_buf tb; in tpm_key_decrypt()
631 struct tpm_buf tb; in tpm_key_sign()
/dports/multimedia/v4l_compat/linux-5.13-rc2/crypto/asymmetric_keys/
H A Dasym_tpm.c30 static int tpm_loadkey2(struct tpm_buf *tb, in tpm_loadkey2()
95 static int tpm_flushspecific(struct tpm_buf *tb, uint32_t handle) in tpm_flushspecific()
108 static int tpm_unbind(struct tpm_buf *tb, in tpm_unbind()
191 static int tpm_sign(struct tpm_buf *tb, in tpm_sign()
507 struct tpm_buf tb; in tpm_key_decrypt()
631 struct tpm_buf tb; in tpm_key_sign()
/dports/multimedia/libv4l/linux-5.13-rc2/crypto/asymmetric_keys/
H A Dasym_tpm.c30 static int tpm_loadkey2(struct tpm_buf *tb, in tpm_loadkey2()
95 static int tpm_flushspecific(struct tpm_buf *tb, uint32_t handle) in tpm_flushspecific()
108 static int tpm_unbind(struct tpm_buf *tb, in tpm_unbind()
191 static int tpm_sign(struct tpm_buf *tb, in tpm_sign()
507 struct tpm_buf tb; in tpm_key_decrypt()
631 struct tpm_buf tb; in tpm_key_sign()
/dports/multimedia/v4l_compat/linux-5.13-rc2/include/keys/
H A Dtrusted_tpm.h43 int oiap(struct tpm_buf *tb, uint32_t *handle, unsigned char *nonce);
/dports/multimedia/libv4l/linux-5.13-rc2/include/keys/
H A Dtrusted_tpm.h43 int oiap(struct tpm_buf *tb, uint32_t *handle, unsigned char *nonce);
/dports/multimedia/v4l-utils/linux-5.13-rc2/include/keys/
H A Dtrusted_tpm.h43 int oiap(struct tpm_buf *tb, uint32_t *handle, unsigned char *nonce);

12