Searched refs:tpm_buf_append_u16 (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/security/keys/trusted-keys/ |
D | trusted_tpm2.c | 41 tpm_buf_append_u16(buf, nonce_len); in tpm2_buf_append_auth() 47 tpm_buf_append_u16(buf, hmac_len); in tpm2_buf_append_auth() 94 tpm_buf_append_u16(&buf, 4 + TPM_DIGEST_SIZE + payload->key_len + 1); in tpm2_seal_trusted() 96 tpm_buf_append_u16(&buf, TPM_DIGEST_SIZE); in tpm2_seal_trusted() 98 tpm_buf_append_u16(&buf, payload->key_len + 1); in tpm2_seal_trusted() 103 tpm_buf_append_u16(&buf, 14 + options->policydigest_len); in tpm2_seal_trusted() 104 tpm_buf_append_u16(&buf, TPM_ALG_KEYEDHASH); in tpm2_seal_trusted() 105 tpm_buf_append_u16(&buf, hash); in tpm2_seal_trusted() 110 tpm_buf_append_u16(&buf, options->policydigest_len); in tpm2_seal_trusted() 115 tpm_buf_append_u16(&buf, 0); in tpm2_seal_trusted() [all …]
|
D | trusted_tpm1.c | 410 tpm_buf_append_u16(tb, type); in osap()
|
/Linux-v5.10/drivers/char/tpm/ |
D | tpm2-cmd.c | 193 tpm_buf_append_u16(&buf, digest->alg_id); in tpm2_pcr_read() 260 tpm_buf_append_u16(&buf, digests[i].alg_id); in tpm2_pcr_extend() 308 tpm_buf_append_u16(&buf, num_bytes); in tpm2_get_random() 428 tpm_buf_append_u16(&buf, shutdown_type); in tpm2_shutdown() 708 tpm_buf_append_u16(&buf, TPM2_SU_CLEAR); in tpm2_startup()
|
D | tpm1-cmd.c | 335 tpm_buf_append_u16(&buf, TPM_ST_CLEAR); in tpm1_startup()
|
/Linux-v5.10/include/linux/ |
D | tpm.h | 378 static inline void tpm_buf_append_u16(struct tpm_buf *buf, const u16 value) in tpm_buf_append_u16() function
|