Searched refs:tpm_get_random (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/include/linux/ |
D | tpm.h | 59 extern int tpm_get_random(struct tpm_chip *chip, u8 *data, size_t max); 85 static inline int tpm_get_random(struct tpm_chip *chip, u8 *data, size_t max) in tpm_get_random() function
|
/Linux-v4.19/security/keys/ |
D | trusted.c | 384 ret = tpm_get_random(NULL, hash, SHA1_DIGEST_SIZE); in pcrlock() 400 ret = tpm_get_random(NULL, ononce, TPM_NONCE_SIZE); in osap() 495 ret = tpm_get_random(NULL, td->nonceodd, TPM_NONCE_SIZE); in tpm_seal() 605 ret = tpm_get_random(NULL, nonceodd, TPM_NONCE_SIZE); in tpm_unseal() 1020 ret = tpm_get_random(NULL, payload->key, key_len); in trusted_instantiate()
|
/Linux-v4.19/drivers/char/tpm/ |
D | tpm-chip.c | 424 return tpm_get_random(chip, data, max); in tpm_hwrng_read()
|
D | tpm-interface.c | 1285 int tpm_get_random(struct tpm_chip *chip, u8 *out, size_t max) in tpm_get_random() function 1339 EXPORT_SYMBOL_GPL(tpm_get_random);
|