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

/linux-master/drivers/char/tpm/
H A Dtpm-chip.c532 return tpm_get_random(chip, data, max);
H A Dtpm-interface.c423 * tpm_get_random() - get random bytes from the TPM's RNG
430 int tpm_get_random(struct tpm_chip *chip, u8 *out, size_t max) function
449 EXPORT_SYMBOL_GPL(tpm_get_random); variable
/linux-master/include/linux/
H A Dtpm.h466 extern int tpm_get_random(struct tpm_chip *chip, u8 *data, size_t max);
496 static inline int tpm_get_random(struct tpm_chip *chip, u8 *data, size_t max) function
/linux-master/security/keys/trusted-keys/
H A Dtrusted_tpm1.c409 ret = tpm_get_random(chip, ononce, TPM_NONCE_SIZE);
505 ret = tpm_get_random(chip, td->nonceodd, TPM_NONCE_SIZE);
616 ret = tpm_get_random(chip, nonceodd, TPM_NONCE_SIZE);
621 pr_info("tpm_get_random failed (%d)\n", ret);
989 return tpm_get_random(chip, key, key_len);

Completed in 923 milliseconds