Home
last modified time | relevance | path

Searched refs:tpm_buf_append_u16 (Results 1 – 5 of 5) sorted by relevance

/linux/security/keys/trusted-keys/
H A Dtrusted_tpm2.c211 tpm_buf_append_u16(buf, nonce_len); in tpm2_buf_append_auth()
217 tpm_buf_append_u16(buf, hmac_len); in tpm2_buf_append_auth()
279 tpm_buf_append_u16(&sized, options->blobauth_len); in tpm2_seal_trusted()
284 tpm_buf_append_u16(&sized, payload->key_len); in tpm2_seal_trusted()
290 tpm_buf_append_u16(&sized, TPM_ALG_KEYEDHASH); in tpm2_seal_trusted()
291 tpm_buf_append_u16(&sized, hash); in tpm2_seal_trusted()
300 tpm_buf_append_u16(&sized, options->policydigest_len); in tpm2_seal_trusted()
305 tpm_buf_append_u16(&sized, TPM_ALG_NULL); in tpm2_seal_trusted()
306 tpm_buf_append_u16(&sized, 0); in tpm2_seal_trusted()
311 tpm_buf_append_u16(&buf, 0); in tpm2_seal_trusted()
H A Dtrusted_tpm1.c379 tpm_buf_append_u16(tb, type); in osap()
/linux/drivers/char/tpm/
H A Dtpm-buf.c133 void tpm_buf_append_u16(struct tpm_buf *buf, const u16 value) in tpm_buf_append_u16() function
139 EXPORT_SYMBOL_GPL(tpm_buf_append_u16);
H A Dtpm1-cmd.c335 tpm_buf_append_u16(&buf, TPM_ST_CLEAR); in tpm1_startup()
/linux/include/linux/
H A Dtpm.h426 void tpm_buf_append_u16(struct tpm_buf *buf, const u16 value);
487 tpm_buf_append_u16(buf, 0); /* nonce len */ in tpm_buf_append_empty_auth()
489 tpm_buf_append_u16(buf, 0); /* hmac len */ in tpm_buf_append_empty_auth()