Searched refs:tpm_buf_append_u16 (Results 1 – 7 of 7) sorted by relevance
/linux-6.14.4/drivers/char/tpm/ |
D | tpm2-sessions.c | 290 tpm_buf_append_u16(buf, 0); in tpm_buf_append_auth() 294 tpm_buf_append_u16(buf, passphrase_len); in tpm_buf_append_auth() 377 tpm_buf_append_u16(buf, SHA256_DIGEST_SIZE); in tpm_buf_append_hmac_session() 381 tpm_buf_append_u16(buf, SHA256_DIGEST_SIZE); in tpm_buf_append_hmac_session() 506 tpm_buf_append_u16(buf, (EC_PT_SZ + 2)*2); in tpm_buf_append_salt() 513 tpm_buf_append_u16(buf, EC_PT_SZ); in tpm_buf_append_salt() 516 tpm_buf_append_u16(buf, EC_PT_SZ); in tpm_buf_append_salt() 1009 tpm_buf_append_u16(&buf, sizeof(auth->our_nonce)); in tpm2_start_auth_session() 1019 tpm_buf_append_u16(&buf, TPM_ALG_AES); in tpm2_start_auth_session() 1021 tpm_buf_append_u16(&buf, AES_KEY_BITS); in tpm2_start_auth_session() [all …]
|
D | tpm2-cmd.c | 197 tpm_buf_append_u16(&buf, digest->alg_id); in tpm2_pcr_read() 263 tpm_buf_append_u16(&buf, digests[i].alg_id); in tpm2_pcr_extend() 326 tpm_buf_append_u16(&buf, num_bytes); in tpm2_get_random() 465 tpm_buf_append_u16(&buf, shutdown_type); in tpm2_shutdown() 746 tpm_buf_append_u16(&buf, TPM2_SU_CLEAR); in tpm2_startup()
|
D | tpm-buf.c | 133 void tpm_buf_append_u16(struct tpm_buf *buf, const u16 value) in tpm_buf_append_u16() function 139 EXPORT_SYMBOL_GPL(tpm_buf_append_u16);
|
D | tpm1-cmd.c | 335 tpm_buf_append_u16(&buf, TPM_ST_CLEAR); in tpm1_startup()
|
/linux-6.14.4/security/keys/trusted-keys/ |
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() 291 tpm_buf_append_u16(&sized, options->blobauth_len); in tpm2_seal_trusted() 296 tpm_buf_append_u16(&sized, payload->key_len); in tpm2_seal_trusted() 302 tpm_buf_append_u16(&sized, TPM_ALG_KEYEDHASH); in tpm2_seal_trusted() 303 tpm_buf_append_u16(&sized, hash); in tpm2_seal_trusted() 312 tpm_buf_append_u16(&sized, options->policydigest_len); in tpm2_seal_trusted() 317 tpm_buf_append_u16(&sized, TPM_ALG_NULL); in tpm2_seal_trusted() 318 tpm_buf_append_u16(&sized, 0); in tpm2_seal_trusted() 323 tpm_buf_append_u16(&buf, 0); in tpm2_seal_trusted()
|
D | trusted_tpm1.c | 417 tpm_buf_append_u16(tb, type); in osap()
|
/linux-6.14.4/include/linux/ |
D | tpm.h | 420 void tpm_buf_append_u16(struct tpm_buf *buf, const u16 value); 460 tpm_buf_append_u16(buf, 0); /* nonce len */ in tpm_buf_append_empty_auth() 462 tpm_buf_append_u16(buf, 0); /* hmac len */ in tpm_buf_append_empty_auth()
|