Searched refs:tpm_buf_append_u16 (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/security/keys/trusted-keys/ |
D | trusted_tpm2.c | 206 tpm_buf_append_u16(buf, nonce_len); in tpm2_buf_append_auth() 212 tpm_buf_append_u16(buf, hmac_len); in tpm2_buf_append_auth() 269 tpm_buf_append_u16(&buf, 4 + options->blobauth_len + payload->key_len); in tpm2_seal_trusted() 271 tpm_buf_append_u16(&buf, options->blobauth_len); in tpm2_seal_trusted() 275 tpm_buf_append_u16(&buf, payload->key_len); in tpm2_seal_trusted() 279 tpm_buf_append_u16(&buf, 14 + options->policydigest_len); in tpm2_seal_trusted() 280 tpm_buf_append_u16(&buf, TPM_ALG_KEYEDHASH); in tpm2_seal_trusted() 281 tpm_buf_append_u16(&buf, hash); in tpm2_seal_trusted() 291 tpm_buf_append_u16(&buf, options->policydigest_len); in tpm2_seal_trusted() 297 tpm_buf_append_u16(&buf, TPM_ALG_NULL); in tpm2_seal_trusted() [all …]
|
D | trusted_tpm1.c | 406 tpm_buf_append_u16(tb, type); in osap()
|
/linux-6.1.9/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() 437 tpm_buf_append_u16(&buf, shutdown_type); in tpm2_shutdown() 718 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-6.1.9/include/linux/ |
D | tpm.h | 390 static inline void tpm_buf_append_u16(struct tpm_buf *buf, const u16 value) in tpm_buf_append_u16() function
|