Home
last modified time | relevance | path

Searched refs:tpm_get_random (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/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) in tpm_get_random() function
/openbmc/linux/drivers/char/tpm/
H A Dtpm-interface.c460 int tpm_get_random(struct tpm_chip *chip, u8 *out, size_t max) in tpm_get_random() function
486 EXPORT_SYMBOL_GPL(tpm_get_random);
H A Dtpm-chip.c522 return tpm_get_random(chip, data, max); in tpm_hwrng_read()
/openbmc/u-boot/include/
H A Dtpm_api.h281 u32 tpm_get_random(struct udevice *dev, void *data, u32 count);
/openbmc/linux/security/keys/trusted-keys/
H A Dtrusted_tpm1.c398 ret = tpm_get_random(chip, ononce, TPM_NONCE_SIZE); in osap()
494 ret = tpm_get_random(chip, td->nonceodd, TPM_NONCE_SIZE); in tpm_seal()
605 ret = tpm_get_random(chip, nonceodd, TPM_NONCE_SIZE); in tpm_unseal()
978 return tpm_get_random(chip, key, key_len); in trusted_tpm_get_random()
/openbmc/u-boot/lib/
H A Dtpm_api.c277 u32 tpm_get_random(struct udevice *dev, void *data, u32 count) in tpm_get_random() function