Searched refs:tpm_get_random (Results 1 - 4 of 4) sorted by relevance

/linux-master/include/linux/
H A Dtpm.h433 extern int tpm_get_random(struct tpm_chip *chip, u8 *data, size_t max);
457 static inline int tpm_get_random(struct tpm_chip *chip, u8 *data, size_t max) function
/linux-master/drivers/char/tpm/
H A Dtpm-interface.c447 * tpm_get_random() - get random bytes from the TPM's RNG
454 int tpm_get_random(struct tpm_chip *chip, u8 *out, size_t max) function
473 EXPORT_SYMBOL_GPL(tpm_get_random); variable
H A Dtpm-chip.c526 return tpm_get_random(chip, data, max);
/linux-master/security/keys/trusted-keys/
H A Dtrusted_tpm1.c398 ret = tpm_get_random(chip, ononce, TPM_NONCE_SIZE);
494 ret = tpm_get_random(chip, td->nonceodd, TPM_NONCE_SIZE);
605 ret = tpm_get_random(chip, nonceodd, TPM_NONCE_SIZE);
610 pr_info("tpm_get_random failed (%d)\n", ret);
978 return tpm_get_random(chip, key, key_len);

Completed in 109 milliseconds