Searched refs:tpm_buf_append (Results 1 - 9 of 9) sorted by path

/linux-master/drivers/char/tpm/
H A Dtpm-buf.c100 * tpm_buf_append() - Append data to an initialized buffer
105 void tpm_buf_append(struct tpm_buf *buf, const u8 *new_data, u16 new_length) function
125 EXPORT_SYMBOL_GPL(tpm_buf_append); variable
129 tpm_buf_append(buf, &value, 1);
137 tpm_buf_append(buf, (u8 *)&value2, 2);
145 tpm_buf_append(buf, (u8 *)&value2, 4);
H A Dtpm-sysfs.c50 tpm_buf_append(&tpm_buf, anti_replay, sizeof(anti_replay));
H A Dtpm1-cmd.c474 tpm_buf_append(&buf, hash, TPM_DIGEST_SIZE);
H A Dtpm2-cmd.c195 tpm_buf_append(&buf, (const unsigned char *)pcr_select,
252 tpm_buf_append(&buf, (const unsigned char *)&digests[i].digest,
H A Dtpm2-sessions.c285 tpm_buf_append(buf, encoded_key, EC_PT_SZ);
288 tpm_buf_append(buf, encoded_key, EC_PT_SZ);
411 tpm_buf_append(buf, nonce, SHA256_DIGEST_SIZE);
415 tpm_buf_append(buf, nonce, SHA256_DIGEST_SIZE);
924 tpm_buf_append(&buf, auth->our_nonce, sizeof(auth->our_nonce));
1226 tpm_buf_append(&buf, template.data, template.length);
H A Dtpm2-space.c85 tpm_buf_append(&tbuf, &buf[*offset], body_size);
/linux-master/include/linux/
H A Dtpm.h432 void tpm_buf_append(struct tpm_buf *buf, const u8 *new_data, u16 new_length);
573 tpm_buf_append(buf, passphrase, passphraselen);
/linux-master/security/keys/trusted-keys/
H A Dtrusted_tpm1.c419 tpm_buf_append(tb, ononce, TPM_NONCE_SIZE);
547 tpm_buf_append(tb, td->encauth, SHA1_DIGEST_SIZE);
549 tpm_buf_append(tb, pcrinfo, pcrinfosize);
551 tpm_buf_append(tb, data, datalen);
553 tpm_buf_append(tb, td->nonceodd, TPM_NONCE_SIZE);
555 tpm_buf_append(tb, td->pubauth, SHA1_DIGEST_SIZE);
638 tpm_buf_append(tb, blob, bloblen);
640 tpm_buf_append(tb, nonceodd, TPM_NONCE_SIZE);
642 tpm_buf_append(tb, authdata1, SHA1_DIGEST_SIZE);
644 tpm_buf_append(t
[all...]
H A Dtrusted_tpm2.c209 tpm_buf_append(buf, nonce, nonce_len);
215 tpm_buf_append(buf, hmac, hmac_len);
281 tpm_buf_append(&sized, options->blobauth, options->blobauth_len);
284 tpm_buf_append(&sized, payload->key, payload->key_len);
285 tpm_buf_append(&buf, sized.data, sized.length);
301 tpm_buf_append(&sized, options->policydigest, options->policydigest_len);
307 tpm_buf_append(&buf, sized.data, sized.length);
438 tpm_buf_append(&buf, blob, blob_len);

Completed in 259 milliseconds