Home
last modified time | relevance | path

Searched refs:tpm_buf_append (Results 1 – 5 of 5) sorted by relevance

/drivers/char/tpm/
Dtpm2-cmd.c209 tpm_buf_append(&buf, (const unsigned char *)pcr_select, in tpm2_pcr_read()
269 tpm_buf_append(&buf, (const unsigned char *)&auth_area, in tpm2_pcr_extend()
275 tpm_buf_append(&buf, (const unsigned char *)&digests[i].digest, in tpm2_pcr_extend()
401 tpm_buf_append(buf, nonce, nonce_len); in tpm2_buf_append_auth()
407 tpm_buf_append(buf, hmac, hmac_len); in tpm2_buf_append_auth()
454 tpm_buf_append(&buf, options->blobauth, TPM_DIGEST_SIZE); in tpm2_seal_trusted()
456 tpm_buf_append(&buf, payload->key, payload->key_len); in tpm2_seal_trusted()
468 tpm_buf_append(&buf, options->policydigest, in tpm2_seal_trusted()
564 tpm_buf_append(&buf, payload->blob, blob_len); in tpm2_load_cmd()
Dtpm.h333 static inline void tpm_buf_append(struct tpm_buf *buf, in tpm_buf_append() function
356 tpm_buf_append(buf, &value, 1); in tpm_buf_append_u8()
363 tpm_buf_append(buf, (u8 *) &value2, 2); in tpm_buf_append_u16()
370 tpm_buf_append(buf, (u8 *) &value2, 4); in tpm_buf_append_u32()
Dtpm-sysfs.c50 tpm_buf_append(&tpm_buf, anti_replay, sizeof(anti_replay)); in pubek_show()
Dtpm1-cmd.c459 tpm_buf_append(&buf, hash, TPM_DIGEST_SIZE); in tpm1_pcr_extend()
Dtpm2-space.c82 tpm_buf_append(&tbuf, &buf[*offset], body_size); in tpm2_load_context()