Searched refs:tpm_buf_append_u16 (Results 1 – 2 of 2) sorted by relevance
/drivers/char/tpm/ |
D | tpm2-cmd.c | 424 tpm_buf_append_u16(buf, nonce_len); in tpm2_buf_append_auth() 430 tpm_buf_append_u16(buf, hmac_len); in tpm2_buf_append_auth() 476 tpm_buf_append_u16(&buf, 4 + TPM_DIGEST_SIZE + payload->key_len + 1); in tpm2_seal_trusted() 478 tpm_buf_append_u16(&buf, TPM_DIGEST_SIZE); in tpm2_seal_trusted() 480 tpm_buf_append_u16(&buf, payload->key_len + 1); in tpm2_seal_trusted() 485 tpm_buf_append_u16(&buf, 14 + options->policydigest_len); in tpm2_seal_trusted() 486 tpm_buf_append_u16(&buf, TPM2_ALG_KEYEDHASH); in tpm2_seal_trusted() 487 tpm_buf_append_u16(&buf, hash); in tpm2_seal_trusted() 492 tpm_buf_append_u16(&buf, options->policydigest_len); in tpm2_seal_trusted() 497 tpm_buf_append_u16(&buf, 0); in tpm2_seal_trusted() [all …]
|
D | tpm.h | 460 static inline void tpm_buf_append_u16(struct tpm_buf *buf, const u16 value) in tpm_buf_append_u16() function
|