Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/char/tpm/
Dtpm2-cmd.c203 tpm_buf_append_u16(&buf, TPM2_ALG_SHA1); in tpm2_pcr_read()
268 tpm_buf_append_u16(&buf, digests[i].alg_id); in tpm2_pcr_extend()
320 tpm_buf_append_u16(&buf, num_bytes); in tpm2_get_random()
397 tpm_buf_append_u16(buf, nonce_len); in tpm2_buf_append_auth()
403 tpm_buf_append_u16(buf, hmac_len); in tpm2_buf_append_auth()
450 tpm_buf_append_u16(&buf, 4 + TPM_DIGEST_SIZE + payload->key_len + 1); in tpm2_seal_trusted()
452 tpm_buf_append_u16(&buf, TPM_DIGEST_SIZE); in tpm2_seal_trusted()
454 tpm_buf_append_u16(&buf, payload->key_len + 1); in tpm2_seal_trusted()
459 tpm_buf_append_u16(&buf, 14 + options->policydigest_len); in tpm2_seal_trusted()
460 tpm_buf_append_u16(&buf, TPM2_ALG_KEYEDHASH); in tpm2_seal_trusted()
[all …]
Dtpm.h494 static inline void tpm_buf_append_u16(struct tpm_buf *buf, const u16 value) in tpm_buf_append_u16() function
Dtpm-interface.c704 tpm_buf_append_u16(&buf, TPM2_SU_CLEAR); in tpm_startup()
710 tpm_buf_append_u16(&buf, TPM_ST_CLEAR); in tpm_startup()