Lines Matching refs:tpm_buf_append_u32

202 	tpm_buf_append_u32(&buf, 1);  in tpm2_pcr_read()
252 tpm_buf_append_u32(&buf, pcr_idx); in tpm2_pcr_extend()
259 tpm_buf_append_u32(&buf, sizeof(struct tpm2_null_auth_area)); in tpm2_pcr_extend()
262 tpm_buf_append_u32(&buf, count); in tpm2_pcr_extend()
371 tpm_buf_append_u32(&buf, handle); in tpm2_flush_context_cmd()
395 tpm_buf_append_u32(buf, 9 + nonce_len + hmac_len); in tpm2_buf_append_auth()
396 tpm_buf_append_u32(buf, session_handle); in tpm2_buf_append_auth()
442 tpm_buf_append_u32(&buf, options->keyhandle); in tpm2_seal_trusted()
465 tpm_buf_append_u32(&buf, 0); in tpm2_seal_trusted()
470 tpm_buf_append_u32(&buf, TPM2_OA_USER_WITH_AUTH); in tpm2_seal_trusted()
482 tpm_buf_append_u32(&buf, 0); in tpm2_seal_trusted()
558 tpm_buf_append_u32(&buf, options->keyhandle); in tpm2_load_cmd()
614 tpm_buf_append_u32(&buf, blob_handle); in tpm2_unseal_cmd()
711 tpm_buf_append_u32(&buf, TPM2_CAP_TPM_PROPERTIES); in tpm2_get_tpm_pt()
712 tpm_buf_append_u32(&buf, property_id); in tpm2_get_tpm_pt()
713 tpm_buf_append_u32(&buf, 1); in tpm2_get_tpm_pt()
834 tpm_buf_append_u32(&buf, TPM2_CAP_TPM_PROPERTIES); in tpm2_probe()
835 tpm_buf_append_u32(&buf, TPM_PT_TOTAL_COMMANDS); in tpm2_probe()
836 tpm_buf_append_u32(&buf, 1); in tpm2_probe()
872 tpm_buf_append_u32(&buf, TPM2_CAP_PCRS); in tpm2_get_pcr_allocation()
873 tpm_buf_append_u32(&buf, 0); in tpm2_get_pcr_allocation()
874 tpm_buf_append_u32(&buf, 1); in tpm2_get_pcr_allocation()
944 tpm_buf_append_u32(&buf, TPM2_CAP_COMMANDS); in tpm2_get_cc_attrs_tbl()
945 tpm_buf_append_u32(&buf, TPM2_CC_FIRST); in tpm2_get_cc_attrs_tbl()
946 tpm_buf_append_u32(&buf, nr_commands); in tpm2_get_cc_attrs_tbl()