Home
last modified time | relevance | path

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

/linux/security/keys/trusted-keys/
A Dtrusted_tpm2.c209 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()
A Dtrusted_tpm1.c408 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/crypto/asymmetric_keys/
A Dasym_tpm.c69 tpm_buf_append(tb, keyblob, keybloblen); in tpm_loadkey2()
71 tpm_buf_append(tb, nonceodd, TPM_NONCE_SIZE); in tpm_loadkey2()
73 tpm_buf_append(tb, authdata, SHA1_DIGEST_SIZE); in tpm_loadkey2()
151 tpm_buf_append(tb, blob, bloblen); in tpm_unbind()
153 tpm_buf_append(tb, nonceodd, TPM_NONCE_SIZE); in tpm_unbind()
155 tpm_buf_append(tb, authdata, SHA1_DIGEST_SIZE); in tpm_unbind()
234 tpm_buf_append(tb, blob, bloblen); in tpm_sign()
236 tpm_buf_append(tb, nonceodd, TPM_NONCE_SIZE); in tpm_sign()
238 tpm_buf_append(tb, authdata, SHA1_DIGEST_SIZE); in tpm_sign()
/linux/include/linux/
A Dtpm.h362 static inline void tpm_buf_append(struct tpm_buf *buf, in tpm_buf_append() function
385 tpm_buf_append(buf, &value, 1); in tpm_buf_append_u8()
392 tpm_buf_append(buf, (u8 *) &value2, 2); in tpm_buf_append_u16()
399 tpm_buf_append(buf, (u8 *) &value2, 4); in tpm_buf_append_u32()
/linux/drivers/char/tpm/
A Dtpm2-cmd.c195 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()
A Dtpm-sysfs.c50 tpm_buf_append(&tpm_buf, anti_replay, sizeof(anti_replay)); in pubek_show()
A Dtpm1-cmd.c474 tpm_buf_append(&buf, hash, TPM_DIGEST_SIZE); in tpm1_pcr_extend()
A Dtpm2-space.c85 tpm_buf_append(&tbuf, &buf[*offset], body_size); in tpm2_load_context()

Completed in 15 milliseconds