summaryrefslogtreecommitdiff
path: root/crypto/jitterentropy.c
diff options
context:
space:
mode:
authorBharat Bhushan <bbhushan2@marvell.com>2023-05-25 06:42:00 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2023-06-02 13:21:32 +0300
commit506579e88caf882b91ff2c62a203af793f468183 (patch)
treeb987d3b7a339fe7dd2f67a13501994e2f480d3b9 /crypto/jitterentropy.c
parentefbc7764c4446566edb76ca05e903b5905673d2e (diff)
downloadlinux-506579e88caf882b91ff2c62a203af793f468183.tar.xz
hwrng: cn10k - Add extended trng register support
The way random data is read from hardware has changed from Octeon CN10KA-B0 and later SoCs onwards. A new set of registers have been added to read random data and to verify whether the read data is valid or not. This patch extends and uses RNM_PF_TRNG_DAT and RNM_PF_TRNG_STS CSRs to read random number and status for the applicable silicon variants. Signed-off-by: Bharat Bhushan <bbhushan2@marvell.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/jitterentropy.c')
0 files changed, 0 insertions, 0 deletions