Home
last modified time | relevance | path

Searched refs:tpm_buf_append_u16 (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/char/tpm/
H A Dtpm2-sessions.c285 tpm_buf_append_u16(buf, 0); in tpm_buf_append_auth()
289 tpm_buf_append_u16(buf, passphrase_len); in tpm_buf_append_auth()
372 tpm_buf_append_u16(buf, SHA256_DIGEST_SIZE); in tpm_buf_append_hmac_session()
376 tpm_buf_append_u16(buf, SHA256_DIGEST_SIZE); in tpm_buf_append_hmac_session()
501 tpm_buf_append_u16(buf, (EC_PT_SZ + 2)*2); in tpm_buf_append_salt()
508 tpm_buf_append_u16(buf, EC_PT_SZ); in tpm_buf_append_salt()
511 tpm_buf_append_u16(buf, EC_PT_SZ); in tpm_buf_append_salt()
1001 tpm_buf_append_u16(&buf, sizeof(auth->our_nonce)); in tpm2_start_auth_session()
1011 tpm_buf_append_u16(&buf, TPM_ALG_AES); in tpm2_start_auth_session()
1013 tpm_buf_append_u16(&buf, AES_KEY_BITS); in tpm2_start_auth_session()
[all …]
H A Dtpm-buf.c133 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 Dtpm2-cmd.c197 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()
464 tpm_buf_append_u16(&buf, shutdown_type); in tpm2_shutdown()
745 tpm_buf_append_u16(&buf, TPM2_SU_CLEAR); in tpm2_startup()
H A Dtpm1-cmd.c335 tpm_buf_append_u16(&buf, TPM_ST_CLEAR); in tpm1_startup()
/linux/security/keys/trusted-keys/
H A Dtrusted_tpm2.c219 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()
H A Dtrusted_tpm1.c417 tpm_buf_append_u16(tb, type); in osap()
/linux/include/linux/
H A Dtpm.h423 void tpm_buf_append_u16(struct tpm_buf *buf, const u16 value);
481 tpm_buf_append_u16(buf, 0); /* nonce len */ in tpm_buf_append_empty_auth()
483 tpm_buf_append_u16(buf, 0); /* hmac len */ in tpm_buf_append_empty_auth()