Home
last modified time | relevance | path

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

/drivers/char/tpm/
Dtpm2-cmd.c207 tpm_buf_append_u16(&buf, digest->alg_id); in tpm2_pcr_read()
274 tpm_buf_append_u16(&buf, digests[i].alg_id); in tpm2_pcr_extend()
322 tpm_buf_append_u16(&buf, num_bytes); in tpm2_get_random()
398 tpm_buf_append_u16(buf, nonce_len); in tpm2_buf_append_auth()
404 tpm_buf_append_u16(buf, hmac_len); in tpm2_buf_append_auth()
451 tpm_buf_append_u16(&buf, 4 + TPM_DIGEST_SIZE + payload->key_len + 1); in tpm2_seal_trusted()
453 tpm_buf_append_u16(&buf, TPM_DIGEST_SIZE); in tpm2_seal_trusted()
455 tpm_buf_append_u16(&buf, payload->key_len + 1); in tpm2_seal_trusted()
460 tpm_buf_append_u16(&buf, 14 + options->policydigest_len); in tpm2_seal_trusted()
461 tpm_buf_append_u16(&buf, TPM_ALG_KEYEDHASH); in tpm2_seal_trusted()
[all …]
Dtpm.h359 static inline void tpm_buf_append_u16(struct tpm_buf *buf, const u16 value) in tpm_buf_append_u16() function
Dtpm1-cmd.c335 tpm_buf_append_u16(&buf, TPM_ST_CLEAR); in tpm1_startup()