Searched refs:tpm_buf_append_u16 (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/char/tpm/ |
| H A D | tpm2-sessions.c | 326 tpm_buf_append_u16(buf, 0); in tpm_buf_append_auth() 330 tpm_buf_append_u16(buf, passphrase_len); in tpm_buf_append_auth() 412 tpm_buf_append_u16(buf, SHA256_DIGEST_SIZE); in tpm_buf_append_hmac_session() 416 tpm_buf_append_u16(buf, SHA256_DIGEST_SIZE); in tpm_buf_append_hmac_session() 498 tpm_buf_append_u16(buf, (EC_PT_SZ + 2)*2); in tpm_buf_append_salt() 505 tpm_buf_append_u16(buf, EC_PT_SZ); in tpm_buf_append_salt() 508 tpm_buf_append_u16(buf, EC_PT_SZ); in tpm_buf_append_salt() 1034 tpm_buf_append_u16(buf, sizeof(auth->our_nonce)); in tpm2_start_auth_session() 1049 tpm_buf_append_u16(buf, TPM_ALG_AES); in tpm2_start_auth_session() 1051 tpm_buf_append_u16(buf, AES_KEY_BITS); in tpm2_start_auth_session() [all …]
|
| H A D | tpm2-cmd.c | 142 tpm_buf_append_u16(buf, digest->alg_id); in tpm2_pcr_read() 211 tpm_buf_append_u16(buf, digests[i].alg_id); in tpm2_pcr_extend() 282 tpm_buf_append_u16(buf, num_bytes); in tpm2_get_random() 409 tpm_buf_append_u16(buf, shutdown_type); in tpm2_shutdown() 682 tpm_buf_append_u16(buf, TPM2_SU_CLEAR); in tpm2_startup()
|
| H A D | tpm-buf.c | 162 void tpm_buf_append_u16(struct tpm_buf *buf, const u16 value) in tpm_buf_append_u16() function 168 EXPORT_SYMBOL_GPL(tpm_buf_append_u16);
|
| H A D | tpm1-cmd.c | 331 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() 286 tpm_buf_append_u16(sized, options->blobauth_len); in tpm2_seal_trusted() 291 tpm_buf_append_u16(sized, payload->key_len); in tpm2_seal_trusted() 297 tpm_buf_append_u16(sized, TPM_ALG_KEYEDHASH); in tpm2_seal_trusted() 298 tpm_buf_append_u16(sized, hash); in tpm2_seal_trusted() 307 tpm_buf_append_u16(sized, options->policydigest_len); in tpm2_seal_trusted() 312 tpm_buf_append_u16(sized, TPM_ALG_NULL); in tpm2_seal_trusted() 313 tpm_buf_append_u16(sized, 0); in tpm2_seal_trusted() 318 tpm_buf_append_u16(buf, 0); in tpm2_seal_trusted()
|
| H A D | trusted_tpm1.c | 374 tpm_buf_append_u16(tb, type); in osap()
|
| /linux/include/linux/ |
| H A D | tpm.h | 263 tpm_buf_append_u16(buf, 0); /* nonce len */ in tpm_buf_append_empty_auth() 265 tpm_buf_append_u16(buf, 0); /* hmac len */ in tpm_buf_append_empty_auth()
|
| H A D | tpm_buf.h | 53 void tpm_buf_append_u16(struct tpm_buf *buf, const u16 value);
|