Searched refs:tpm_buf_append_u16 (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/security/keys/trusted-keys/ |
H A D | trusted_tpm2.c | 219 tpm_buf_append_u16(buf, nonce_len); in tpm2_buf_append_auth() 225 tpm_buf_append_u16(buf, hmac_len); in tpm2_buf_append_auth() 282 tpm_buf_append_u16(&buf, 4 + options->blobauth_len + payload->key_len); in tpm2_seal_trusted() 284 tpm_buf_append_u16(&buf, options->blobauth_len); in tpm2_seal_trusted() 288 tpm_buf_append_u16(&buf, payload->key_len); in tpm2_seal_trusted() 292 tpm_buf_append_u16(&buf, 14 + options->policydigest_len); in tpm2_seal_trusted() 293 tpm_buf_append_u16(&buf, TPM_ALG_KEYEDHASH); in tpm2_seal_trusted() 294 tpm_buf_append_u16(&buf, hash); in tpm2_seal_trusted() 304 tpm_buf_append_u16(&buf, options->policydigest_len); in tpm2_seal_trusted() 310 tpm_buf_append_u16(&buf, TPM_ALG_NULL); in tpm2_seal_trusted() [all …]
|
H A D | trusted_tpm1.c | 406 tpm_buf_append_u16(tb, type); in osap()
|
/openbmc/linux/drivers/char/tpm/ |
H A 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()
|
H A D | tpm1-cmd.c | 335 tpm_buf_append_u16(&buf, TPM_ST_CLEAR); in tpm1_startup()
|
/openbmc/linux/include/linux/ |
H A D | tpm.h | 394 static inline void tpm_buf_append_u16(struct tpm_buf *buf, const u16 value) in tpm_buf_append_u16() function
|