Searched refs:tpm_buf_append_u16 (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/char/tpm/ |
| H A D | tpm2-sessions.c | 330 tpm_buf_append_u16(buf, 0); in tpm_buf_append_auth() 334 tpm_buf_append_u16(buf, passphrase_len); in tpm_buf_append_auth() 416 tpm_buf_append_u16(buf, SHA256_DIGEST_SIZE); in tpm_buf_append_hmac_session() 420 tpm_buf_append_u16(buf, SHA256_DIGEST_SIZE); in tpm_buf_append_hmac_session() 500 tpm_buf_append_u16(buf, (EC_PT_SZ + 2)*2); in tpm_buf_append_salt() 507 tpm_buf_append_u16(buf, EC_PT_SZ); in tpm_buf_append_salt() 510 tpm_buf_append_u16(buf, EC_PT_SZ); in tpm_buf_append_salt() 1014 tpm_buf_append_u16(&buf, sizeof(auth->our_nonce)); in tpm2_start_auth_session() 1024 tpm_buf_append_u16(&buf, TPM_ALG_AES); in tpm2_start_auth_session() 1026 tpm_buf_append_u16(&buf, AES_KEY_BITS); in tpm2_start_auth_session() [all …]
|
| H A 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);
|
| H A D | tpm2-cmd.c | 149 tpm_buf_append_u16(&buf, digest->alg_id); in tpm2_pcr_read() 219 tpm_buf_append_u16(&buf, digests[i].alg_id); in tpm2_pcr_extend() 296 tpm_buf_append_u16(&buf, num_bytes); in tpm2_get_random() 439 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()
|
| /linux/security/keys/trusted-keys/ |
| H A D | trusted_tpm2.c | 211 tpm_buf_append_u16(buf, nonce_len); in tpm2_buf_append_auth() 217 tpm_buf_append_u16(buf, hmac_len); in tpm2_buf_append_auth() 279 tpm_buf_append_u16(&sized, options->blobauth_len); in tpm2_seal_trusted() 284 tpm_buf_append_u16(&sized, payload->key_len); in tpm2_seal_trusted() 290 tpm_buf_append_u16(&sized, TPM_ALG_KEYEDHASH); in tpm2_seal_trusted() 291 tpm_buf_append_u16(&sized, hash); in tpm2_seal_trusted() 300 tpm_buf_append_u16(&sized, options->policydigest_len); in tpm2_seal_trusted() 305 tpm_buf_append_u16(&sized, TPM_ALG_NULL); in tpm2_seal_trusted() 306 tpm_buf_append_u16(&sized, 0); in tpm2_seal_trusted() 311 tpm_buf_append_u16(&buf, 0); in tpm2_seal_trusted()
|
| /linux/include/linux/ |
| H A D | tpm.h | 426 void tpm_buf_append_u16(struct tpm_buf *buf, const u16 value); 487 tpm_buf_append_u16(buf, 0); /* nonce len */ in tpm_buf_append_empty_auth() 489 tpm_buf_append_u16(buf, 0); /* hmac len */ in tpm_buf_append_empty_auth()
|