Searched refs:tpm_get_random (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.4/include/linux/ |
| D | tpm.h | 172 extern int tpm_get_random(struct tpm_chip *chip, u8 *data, size_t max); 202 static inline int tpm_get_random(struct tpm_chip *chip, u8 *data, size_t max) in tpm_get_random() function
|
| /Linux-v5.4/drivers/char/tpm/ |
| D | tpm-interface.c | 435 int tpm_get_random(struct tpm_chip *chip, u8 *out, size_t max) in tpm_get_random() function 454 EXPORT_SYMBOL_GPL(tpm_get_random);
|
| D | tpm-chip.c | 539 return tpm_get_random(chip, data, max); in tpm_hwrng_read()
|
| /Linux-v5.4/crypto/asymmetric_keys/ |
| D | asym_tpm.c | 57 ret = tpm_get_random(NULL, nonceodd, TPM_NONCE_SIZE); in tpm_loadkey2() 143 ret = tpm_get_random(NULL, nonceodd, TPM_NONCE_SIZE); in tpm_unbind() 229 ret = tpm_get_random(NULL, nonceodd, TPM_NONCE_SIZE); in tpm_sign()
|
| /Linux-v5.4/security/keys/ |
| D | trusted.c | 405 ret = tpm_get_random(chip, ononce, TPM_NONCE_SIZE); in osap() 504 ret = tpm_get_random(chip, td->nonceodd, TPM_NONCE_SIZE); in tpm_seal() 614 ret = tpm_get_random(chip, nonceodd, TPM_NONCE_SIZE); in tpm_unseal() 1029 ret = tpm_get_random(chip, payload->key, key_len); in trusted_instantiate()
|