tpm_buf_append_u16
EXPORT_SYMBOL_GPL(tpm_buf_append_u16);
tpm_buf_append_u16(&buf, TPM_ST_CLEAR);
tpm_buf_append_u16(&buf, digest->alg_id);
tpm_buf_append_u16(&buf, digests[i].alg_id);
tpm_buf_append_u16(&buf, num_bytes);
tpm_buf_append_u16(&buf, shutdown_type);
tpm_buf_append_u16(&buf, TPM2_SU_CLEAR);
tpm_buf_append_u16(&buf, sizeof(auth->our_nonce));
tpm_buf_append_u16(&buf, TPM_ALG_AES);
tpm_buf_append_u16(&buf, AES_KEY_BITS);
tpm_buf_append_u16(&buf, TPM_ALG_CFB);
tpm_buf_append_u16(&buf, TPM_ALG_SHA256);
tpm_buf_append_u16(&template, TPM_ALG_ECC);
tpm_buf_append_u16(&template, TPM_ALG_SHA256);
tpm_buf_append_u16(&template, 0);
tpm_buf_append_u16(&template, TPM_ALG_AES);
tpm_buf_append_u16(&template, AES_KEY_BITS);
tpm_buf_append_u16(&template, TPM_ALG_CFB);
tpm_buf_append_u16(&template, TPM_ALG_NULL);
tpm_buf_append_u16(&template, TPM2_ECC_NIST_P256);
tpm_buf_append_u16(&template, TPM_ALG_NULL);
tpm_buf_append_u16(&template, 0);
tpm_buf_append_u16(&template, 0);
tpm_buf_append_u16(&buf, 4);
tpm_buf_append_u16(&buf, 0);
tpm_buf_append_u16(&buf, 0);
tpm_buf_append_u16(&buf, 0);
tpm_buf_append_u16(buf, 0);
tpm_buf_append_u16(buf, passphrase_len);
tpm_buf_append_u16(buf, SHA256_DIGEST_SIZE);
tpm_buf_append_u16(buf, SHA256_DIGEST_SIZE);
tpm_buf_append_u16(buf, (EC_PT_SZ + 2)*2);
tpm_buf_append_u16(buf, EC_PT_SZ);
tpm_buf_append_u16(buf, EC_PT_SZ);
void tpm_buf_append_u16(struct tpm_buf *buf, const u16 value);
tpm_buf_append_u16(buf, 0); /* nonce len */
tpm_buf_append_u16(buf, 0); /* hmac len */
tpm_buf_append_u16(tb, type);
tpm_buf_append_u16(buf, nonce_len);
tpm_buf_append_u16(buf, hmac_len);
tpm_buf_append_u16(&sized, options->blobauth_len);
tpm_buf_append_u16(&sized, payload->key_len);
tpm_buf_append_u16(&sized, TPM_ALG_KEYEDHASH);
tpm_buf_append_u16(&sized, hash);
tpm_buf_append_u16(&sized, options->policydigest_len);
tpm_buf_append_u16(&sized, TPM_ALG_NULL);
tpm_buf_append_u16(&sized, 0);
tpm_buf_append_u16(&buf, 0);