Lines Matching refs:tpm_buf_append_u16
41 tpm_buf_append_u16(buf, nonce_len); in tpm2_buf_append_auth()
47 tpm_buf_append_u16(buf, hmac_len); in tpm2_buf_append_auth()
94 tpm_buf_append_u16(&buf, 4 + TPM_DIGEST_SIZE + payload->key_len + 1); in tpm2_seal_trusted()
96 tpm_buf_append_u16(&buf, TPM_DIGEST_SIZE); in tpm2_seal_trusted()
98 tpm_buf_append_u16(&buf, payload->key_len + 1); in tpm2_seal_trusted()
103 tpm_buf_append_u16(&buf, 14 + options->policydigest_len); in tpm2_seal_trusted()
104 tpm_buf_append_u16(&buf, TPM_ALG_KEYEDHASH); in tpm2_seal_trusted()
105 tpm_buf_append_u16(&buf, hash); in tpm2_seal_trusted()
110 tpm_buf_append_u16(&buf, options->policydigest_len); in tpm2_seal_trusted()
115 tpm_buf_append_u16(&buf, 0); in tpm2_seal_trusted()
119 tpm_buf_append_u16(&buf, TPM_ALG_NULL); in tpm2_seal_trusted()
120 tpm_buf_append_u16(&buf, 0); in tpm2_seal_trusted()
123 tpm_buf_append_u16(&buf, 0); in tpm2_seal_trusted()