Searched refs:tpm_get_random (Results 1 - 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/drivers/char/tpm/ |
H A D | tpm-interface.c | 435 * tpm_get_random() - get random bytes from the TPM's RNG 442 int tpm_get_random(struct tpm_chip *chip, u8 *out, size_t max) in tpm_get_random() function 461 EXPORT_SYMBOL_GPL(tpm_get_random); variable
|
H A D | tpm-chip.c | 504 return tpm_get_random(chip, data, max); in tpm_hwrng_read()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | tpm.h | 410 extern int tpm_get_random(struct tpm_chip *chip, u8 *data, size_t max); 434 static inline int tpm_get_random(struct tpm_chip *chip, u8 *data, size_t max) in tpm_get_random() function
|
/kernel/linux/linux-6.6/include/linux/ |
H A 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
|
/kernel/linux/linux-6.6/drivers/char/tpm/ |
H A D | tpm-interface.c | 447 * 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) in tpm_get_random() function 473 EXPORT_SYMBOL_GPL(tpm_get_random); variable
|
H A D | tpm-chip.c | 526 return tpm_get_random(chip, data, max); in tpm_hwrng_read()
|
/kernel/linux/linux-6.6/security/keys/trusted-keys/ |
H A 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() 610 pr_info("tpm_get_random failed (%d)\n", ret); in tpm_unseal() 978 return tpm_get_random(chip, key, key_len); in trusted_tpm_get_random()
|
/kernel/linux/linux-5.10/crypto/asymmetric_keys/ |
H A D | asym_tpm.c | 53 ret = tpm_get_random(NULL, nonceodd, TPM_NONCE_SIZE); in tpm_loadkey2() 55 pr_info("tpm_get_random failed (%d)\n", ret); in tpm_loadkey2() 133 ret = tpm_get_random(NULL, nonceodd, TPM_NONCE_SIZE); in tpm_unbind() 135 pr_info("tpm_get_random failed (%d)\n", ret); in tpm_unbind() 216 ret = tpm_get_random(NULL, nonceodd, TPM_NONCE_SIZE); in tpm_sign() 218 pr_info("tpm_get_random failed (%d)\n", ret); in tpm_sign()
|
/kernel/linux/linux-5.10/security/keys/trusted-keys/ |
H A D | trusted_tpm1.c | 405 ret = tpm_get_random(chip, ononce, TPM_NONCE_SIZE); in osap() 501 ret = tpm_get_random(chip, td->nonceodd, TPM_NONCE_SIZE); in tpm_seal() 612 ret = tpm_get_random(chip, nonceodd, TPM_NONCE_SIZE); in tpm_unseal() 617 pr_info("trusted_key: tpm_get_random failed (%d)\n", ret); in tpm_unseal() 1047 ret = tpm_get_random(chip, payload->key, key_len); in trusted_instantiate()
|
Completed in 10 milliseconds