Searched refs:tpm_buf_append (Results 1 – 6 of 6) sorted by relevance
| /drivers/char/tpm/ |
| A D | tpm-buf.c | 105 void tpm_buf_append(struct tpm_buf *buf, const u8 *new_data, u16 new_length) in tpm_buf_append() function 125 EXPORT_SYMBOL_GPL(tpm_buf_append); 129 tpm_buf_append(buf, &value, 1); in tpm_buf_append_u8() 137 tpm_buf_append(buf, (u8 *)&value2, 2); in tpm_buf_append_u16() 145 tpm_buf_append(buf, (u8 *)&value2, 4); in tpm_buf_append_u32()
|
| A D | tpm2-sessions.c | 290 tpm_buf_append(buf, passphrase, passphrase_len); in tpm_buf_append_auth() 373 tpm_buf_append(buf, nonce, SHA256_DIGEST_SIZE); in tpm_buf_append_hmac_session() 377 tpm_buf_append(buf, nonce, SHA256_DIGEST_SIZE); in tpm_buf_append_hmac_session() 510 tpm_buf_append(buf, encoded_key, EC_PT_SZ); in tpm_buf_append_salt() 513 tpm_buf_append(buf, encoded_key, EC_PT_SZ); in tpm_buf_append_salt() 1002 tpm_buf_append(&buf, auth->our_nonce, sizeof(auth->our_nonce)); in tpm2_start_auth_session() 1321 tpm_buf_append(&buf, template.data, template.length); in tpm2_create_primary()
|
| A D | tpm2-cmd.c | 199 tpm_buf_append(&buf, (const unsigned char *)pcr_select, in tpm2_pcr_read() 264 tpm_buf_append(&buf, (const unsigned char *)&digests[i].digest, in tpm2_pcr_extend()
|
| A D | tpm-sysfs.c | 50 tpm_buf_append(&tpm_buf, anti_replay, sizeof(anti_replay)); in pubek_show()
|
| A D | tpm1-cmd.c | 474 tpm_buf_append(&buf, hash, TPM_DIGEST_SIZE); in tpm1_pcr_extend()
|
| A D | tpm2-space.c | 85 tpm_buf_append(&tbuf, &buf[*offset], body_size); in tpm2_load_context()
|
Completed in 42 milliseconds