TPM_ALG_AES
tpm_buf_append_u16(&buf, TPM_ALG_AES);
if (val != TPM_ALG_AES)
tpm_buf_append_u16(&template, TPM_ALG_AES);