Searched refs:tpm_get_random (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/char/tpm/ |
| H A D | tpm-interface.c | 497 int tpm_get_random(struct tpm_chip *chip, u8 *out, size_t max) in tpm_get_random() function 519 EXPORT_SYMBOL_GPL(tpm_get_random);
|
| H A D | tpm-chip.c | 497 return tpm_get_random(chip, data, max); in tpm_hwrng_read()
|
| /linux/include/linux/ |
| H A D | tpm.h | 253 extern int tpm_get_random(struct tpm_chip *chip, u8 *data, size_t max); 284 static inline int tpm_get_random(struct tpm_chip *chip, u8 *data, size_t max) 508 static inline int tpm_get_random(struct tpm_chip *chip, u8 *data, size_t max) tpm_get_random() function
|
| /linux/security/keys/trusted-keys/ |
| H A D | trusted_tpm1.c | 366 ret = tpm_get_random(chip, ononce, TPM_NONCE_SIZE); in osap() 459 ret = tpm_get_random(chip, td->nonceodd, TPM_NONCE_SIZE); in tpm_seal() 570 ret = tpm_get_random(chip, nonceodd, TPM_NONCE_SIZE); in tpm_unseal() 575 pr_info("tpm_get_random failed (%d)\n", ret); in tpm_unseal() 943 return tpm_get_random(chip, key, key_len); in trusted_tpm_get_random()
|