Searched refs:tpm_buf_append (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/security/keys/trusted-keys/ |
D | trusted_tpm2.c | 209 tpm_buf_append(buf, nonce, nonce_len); in tpm2_buf_append_auth() 215 tpm_buf_append(buf, hmac, hmac_len); in tpm2_buf_append_auth() 273 tpm_buf_append(&buf, options->blobauth, options->blobauth_len); in tpm2_seal_trusted() 276 tpm_buf_append(&buf, payload->key, payload->key_len); in tpm2_seal_trusted() 293 tpm_buf_append(&buf, options->policydigest, in tpm2_seal_trusted() 423 tpm_buf_append(&buf, blob, blob_len); in tpm2_load_cmd()
|
D | trusted_tpm1.c | 408 tpm_buf_append(tb, ononce, TPM_NONCE_SIZE); in osap() 536 tpm_buf_append(tb, td->encauth, SHA1_DIGEST_SIZE); in tpm_seal() 538 tpm_buf_append(tb, pcrinfo, pcrinfosize); in tpm_seal() 540 tpm_buf_append(tb, data, datalen); in tpm_seal() 542 tpm_buf_append(tb, td->nonceodd, TPM_NONCE_SIZE); in tpm_seal() 544 tpm_buf_append(tb, td->pubauth, SHA1_DIGEST_SIZE); in tpm_seal() 627 tpm_buf_append(tb, blob, bloblen); in tpm_unseal() 629 tpm_buf_append(tb, nonceodd, TPM_NONCE_SIZE); in tpm_unseal() 631 tpm_buf_append(tb, authdata1, SHA1_DIGEST_SIZE); in tpm_unseal() 633 tpm_buf_append(tb, nonceodd, TPM_NONCE_SIZE); in tpm_unseal() [all …]
|
/linux-6.1.9/include/linux/ |
D | tpm.h | 364 static inline void tpm_buf_append(struct tpm_buf *buf, in tpm_buf_append() function 387 tpm_buf_append(buf, &value, 1); in tpm_buf_append_u8() 394 tpm_buf_append(buf, (u8 *) &value2, 2); in tpm_buf_append_u16() 401 tpm_buf_append(buf, (u8 *) &value2, 4); in tpm_buf_append_u32()
|
/linux-6.1.9/drivers/char/tpm/ |
D | tpm2-cmd.c | 195 tpm_buf_append(&buf, (const unsigned char *)pcr_select, in tpm2_pcr_read() 255 tpm_buf_append(&buf, (const unsigned char *)&auth_area, in tpm2_pcr_extend() 261 tpm_buf_append(&buf, (const unsigned char *)&digests[i].digest, in tpm2_pcr_extend()
|
D | tpm-sysfs.c | 50 tpm_buf_append(&tpm_buf, anti_replay, sizeof(anti_replay)); in pubek_show()
|
D | tpm1-cmd.c | 474 tpm_buf_append(&buf, hash, TPM_DIGEST_SIZE); in tpm1_pcr_extend()
|
D | tpm2-space.c | 85 tpm_buf_append(&tbuf, &buf[*offset], body_size); in tpm2_load_context()
|