Searched refs:tpm_get_random (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/include/linux/ |
D | tpm.h | 433 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
|
/Linux-v6.6/drivers/char/tpm/ |
D | tpm-interface.c | 454 int tpm_get_random(struct tpm_chip *chip, u8 *out, size_t max) in tpm_get_random() function 473 EXPORT_SYMBOL_GPL(tpm_get_random);
|
D | tpm-chip.c | 526 return tpm_get_random(chip, data, max); in tpm_hwrng_read()
|
/Linux-v6.6/security/keys/trusted-keys/ |
D | trusted_tpm1.c | 398 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()
|