Searched refs:tpm_buf_append (Results 1 - 9 of 9) sorted by relevance
/linux-master/drivers/char/tpm/ |
H A D | tpm-buf.c | 100 * 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 D | tpm2-sessions.c | 288 tpm_buf_append(buf, encoded_key, EC_PT_SZ); 291 tpm_buf_append(buf, encoded_key, EC_PT_SZ); 414 tpm_buf_append(buf, nonce, SHA256_DIGEST_SIZE); 418 tpm_buf_append(buf, nonce, SHA256_DIGEST_SIZE); 927 tpm_buf_append(&buf, auth->our_nonce, sizeof(auth->our_nonce)); 1243 tpm_buf_append(&buf, template.data, template.length);
|
H A D | tpm2-cmd.c | 195 tpm_buf_append(&buf, (const unsigned char *)pcr_select, 252 tpm_buf_append(&buf, (const unsigned char *)&digests[i].digest,
|
H A D | tpm-sysfs.c | 50 tpm_buf_append(&tpm_buf, anti_replay, sizeof(anti_replay));
|
H A D | tpm1-cmd.c | 474 tpm_buf_append(&buf, hash, TPM_DIGEST_SIZE);
|
H A D | tpm2-space.c | 85 tpm_buf_append(&tbuf, &buf[*offset], body_size);
|
/linux-master/security/keys/trusted-keys/ |
H A D | trusted_tpm2.c | 222 tpm_buf_append(buf, nonce, nonce_len); 228 tpm_buf_append(buf, hmac, hmac_len); 294 tpm_buf_append(&sized, options->blobauth, options->blobauth_len); 297 tpm_buf_append(&sized, payload->key, payload->key_len); 298 tpm_buf_append(&buf, sized.data, sized.length); 314 tpm_buf_append(&sized, options->policydigest, options->policydigest_len); 320 tpm_buf_append(&buf, sized.data, sized.length); 451 tpm_buf_append(&buf, blob, blob_len);
|
H A D | trusted_tpm1.c | 419 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...] |
/linux-master/include/linux/ |
H A D | tpm.h | 417 void tpm_buf_append(struct tpm_buf *buf, const u8 *new_data, u16 new_length); 556 tpm_buf_append(buf, passphrase, passphraselen);
|
Completed in 299 milliseconds