Home
last modified time | relevance | path

Searched refs:tpm_buf_append_u32 (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/char/tpm/
Dtpm2-cmd.c192 tpm_buf_append_u32(&buf, 1); in tpm2_pcr_read()
247 tpm_buf_append_u32(&buf, pcr_idx); in tpm2_pcr_extend()
254 tpm_buf_append_u32(&buf, sizeof(struct tpm2_null_auth_area)); in tpm2_pcr_extend()
257 tpm_buf_append_u32(&buf, chip->nr_allocated_banks); in tpm2_pcr_extend()
360 tpm_buf_append_u32(&buf, handle); in tpm2_flush_context()
396 tpm_buf_append_u32(&buf, TPM2_CAP_TPM_PROPERTIES); in tpm2_get_tpm_pt()
397 tpm_buf_append_u32(&buf, property_id); in tpm2_get_tpm_pt()
398 tpm_buf_append_u32(&buf, 1); in tpm2_get_tpm_pt()
501 tpm_buf_append_u32(&buf, TPM2_CAP_TPM_PROPERTIES); in tpm2_probe()
502 tpm_buf_append_u32(&buf, TPM_PT_TOTAL_COMMANDS); in tpm2_probe()
[all …]
Dtpm1-cmd.c473 tpm_buf_append_u32(&buf, pcr_idx); in tpm1_pcr_extend()
494 tpm_buf_append_u32(&buf, subcap_id); in tpm1_getcap()
495 tpm_buf_append_u32(&buf, 0); in tpm1_getcap()
499 tpm_buf_append_u32(&buf, TPM_CAP_FLAG); in tpm1_getcap()
501 tpm_buf_append_u32(&buf, TPM_CAP_PROP); in tpm1_getcap()
503 tpm_buf_append_u32(&buf, 4); in tpm1_getcap()
504 tpm_buf_append_u32(&buf, subcap_id); in tpm1_getcap()
545 tpm_buf_append_u32(&buf, num_bytes); in tpm1_get_random()
593 tpm_buf_append_u32(&buf, pcr_idx); in tpm1_pcr_read()
Dtpm2-space.c133 tpm_buf_append_u32(&tbuf, handle); in tpm2_save_context()
/kernel/linux/linux-5.10/security/keys/trusted-keys/
Dtrusted_tpm2.c39 tpm_buf_append_u32(buf, 9 + nonce_len + hmac_len); in tpm2_buf_append_auth()
40 tpm_buf_append_u32(buf, session_handle); in tpm2_buf_append_auth()
92 tpm_buf_append_u32(&buf, options->keyhandle); in tpm2_seal_trusted()
117 tpm_buf_append_u32(&buf, 0); in tpm2_seal_trusted()
122 tpm_buf_append_u32(&buf, TPM2_OA_USER_WITH_AUTH); in tpm2_seal_trusted()
134 tpm_buf_append_u32(&buf, 0); in tpm2_seal_trusted()
209 tpm_buf_append_u32(&buf, options->keyhandle); in tpm2_load_cmd()
263 tpm_buf_append_u32(&buf, blob_handle); in tpm2_unseal_cmd()
Dtrusted_tpm1.c414 tpm_buf_append_u32(tb, handle); in osap()
542 tpm_buf_append_u32(tb, keyhandle); in tpm_seal()
544 tpm_buf_append_u32(tb, pcrinfosize); in tpm_seal()
546 tpm_buf_append_u32(tb, datalen); in tpm_seal()
548 tpm_buf_append_u32(tb, sess.handle); in tpm_seal()
633 tpm_buf_append_u32(tb, keyhandle); in tpm_unseal()
635 tpm_buf_append_u32(tb, authhandle1); in tpm_unseal()
639 tpm_buf_append_u32(tb, authhandle2); in tpm_unseal()
/kernel/linux/linux-5.10/crypto/asymmetric_keys/
Dasym_tpm.c68 tpm_buf_append_u32(tb, keyhandle); in tpm_loadkey2()
70 tpm_buf_append_u32(tb, authhandle); in tpm_loadkey2()
98 tpm_buf_append_u32(tb, handle); in tpm_flushspecific()
99 tpm_buf_append_u32(tb, TPM_RT_KEY); in tpm_flushspecific()
149 tpm_buf_append_u32(tb, keyhandle); in tpm_unbind()
150 tpm_buf_append_u32(tb, bloblen); in tpm_unbind()
152 tpm_buf_append_u32(tb, authhandle); in tpm_unbind()
232 tpm_buf_append_u32(tb, keyhandle); in tpm_sign()
233 tpm_buf_append_u32(tb, bloblen); in tpm_sign()
235 tpm_buf_append_u32(tb, authhandle); in tpm_sign()
/kernel/linux/linux-5.10/include/linux/
Dtpm.h386 static inline void tpm_buf_append_u32(struct tpm_buf *buf, const u32 value) in tpm_buf_append_u32() function