Home
last modified time | relevance | path

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

/linux-6.1.9/security/keys/trusted-keys/
Dtrusted_tpm2.c206 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 …]
Dtrusted_tpm1.c406 tpm_buf_append_u16(tb, type); in osap()
/linux-6.1.9/drivers/char/tpm/
Dtpm2-cmd.c193 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()
Dtpm1-cmd.c335 tpm_buf_append_u16(&buf, TPM_ST_CLEAR); in tpm1_startup()
/linux-6.1.9/include/linux/
Dtpm.h390 static inline void tpm_buf_append_u16(struct tpm_buf *buf, const u16 value) in tpm_buf_append_u16() function