Lines Matching refs:tpm_buf_append_u16
206 tpm_buf_append_u16(buf, nonce_len); in tpm2_buf_append_auth()
212 tpm_buf_append_u16(buf, hmac_len); in tpm2_buf_append_auth()
269 tpm_buf_append_u16(&buf, 4 + options->blobauth_len + payload->key_len); in tpm2_seal_trusted()
271 tpm_buf_append_u16(&buf, options->blobauth_len); in tpm2_seal_trusted()
275 tpm_buf_append_u16(&buf, payload->key_len); in tpm2_seal_trusted()
279 tpm_buf_append_u16(&buf, 14 + options->policydigest_len); in tpm2_seal_trusted()
280 tpm_buf_append_u16(&buf, TPM_ALG_KEYEDHASH); in tpm2_seal_trusted()
281 tpm_buf_append_u16(&buf, hash); in tpm2_seal_trusted()
291 tpm_buf_append_u16(&buf, options->policydigest_len); in tpm2_seal_trusted()
297 tpm_buf_append_u16(&buf, TPM_ALG_NULL); in tpm2_seal_trusted()
298 tpm_buf_append_u16(&buf, 0); in tpm2_seal_trusted()
301 tpm_buf_append_u16(&buf, 0); in tpm2_seal_trusted()