Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/char/tpm/
Dtpm2-cmd.c205 tpm_buf_append(&buf, (const unsigned char *)pcr_select, in tpm2_pcr_read()
260 tpm_buf_append(&buf, (const unsigned char *)&auth_area, in tpm2_pcr_extend()
269 tpm_buf_append(&buf, (const unsigned char in tpm2_pcr_extend()
400 tpm_buf_append(buf, nonce, nonce_len); in tpm2_buf_append_auth()
406 tpm_buf_append(buf, hmac, hmac_len); in tpm2_buf_append_auth()
453 tpm_buf_append(&buf, options->blobauth, TPM_DIGEST_SIZE); in tpm2_seal_trusted()
455 tpm_buf_append(&buf, payload->key, payload->key_len); in tpm2_seal_trusted()
467 tpm_buf_append(&buf, options->policydigest, in tpm2_seal_trusted()
565 tpm_buf_append(&buf, payload->blob, blob_len); in tpm2_load_cmd()
Dtpm.h468 static inline void tpm_buf_append(struct tpm_buf *buf, in tpm_buf_append() function
491 tpm_buf_append(buf, &value, 1); in tpm_buf_append_u8()
498 tpm_buf_append(buf, (u8 *) &value2, 2); in tpm_buf_append_u16()
505 tpm_buf_append(buf, (u8 *) &value2, 4); in tpm_buf_append_u32()
Dtpm-sysfs.c54 tpm_buf_append(&tpm_buf, anti_replay, sizeof(anti_replay)); in pubek_show()
Dtpm2-space.c84 tpm_buf_append(&tbuf, &buf[*offset], body_size); in tpm2_load_context()
Dtpm-interface.c1019 tpm_buf_append(&buf, hash, TPM_DIGEST_SIZE); in tpm1_pcr_extend()