Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/char/tpm/
Dtpm2-cmd.c206 tpm_buf_append_u32(&buf, 1); in tpm2_pcr_read()
261 tpm_buf_append_u32(&buf, pcr_idx); in tpm2_pcr_extend()
268 tpm_buf_append_u32(&buf, sizeof(struct tpm2_null_auth_area)); in tpm2_pcr_extend()
271 tpm_buf_append_u32(&buf, chip->nr_allocated_banks); in tpm2_pcr_extend()
374 tpm_buf_append_u32(&buf, handle); in tpm2_flush_context()
396 tpm_buf_append_u32(buf, 9 + nonce_len + hmac_len); in tpm2_buf_append_auth()
397 tpm_buf_append_u32(buf, session_handle); in tpm2_buf_append_auth()
443 tpm_buf_append_u32(&buf, options->keyhandle); in tpm2_seal_trusted()
466 tpm_buf_append_u32(&buf, 0); in tpm2_seal_trusted()
471 tpm_buf_append_u32(&buf, TPM2_OA_USER_WITH_AUTH); in tpm2_seal_trusted()
[all …]
Dtpm1-cmd.c458 tpm_buf_append_u32(&buf, pcr_idx); in tpm1_pcr_extend()
479 tpm_buf_append_u32(&buf, subcap_id); in tpm1_getcap()
480 tpm_buf_append_u32(&buf, 0); in tpm1_getcap()
484 tpm_buf_append_u32(&buf, TPM_CAP_FLAG); in tpm1_getcap()
486 tpm_buf_append_u32(&buf, TPM_CAP_PROP); in tpm1_getcap()
488 tpm_buf_append_u32(&buf, 4); in tpm1_getcap()
489 tpm_buf_append_u32(&buf, subcap_id); in tpm1_getcap()
530 tpm_buf_append_u32(&buf, num_bytes); in tpm1_get_random()
578 tpm_buf_append_u32(&buf, pcr_idx); in tpm1_pcr_read()
Dtpm.h366 static inline void tpm_buf_append_u32(struct tpm_buf *buf, const u32 value) in tpm_buf_append_u32() function
Dtpm2-space.c130 tpm_buf_append_u32(&tbuf, handle); in tpm2_save_context()