diff options
author | Bharat Bhushan <bbhushan2@marvell.com> | 2023-05-25 09:12:00 +0530 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-06-02 18:21:32 +0800 |
commit | 506579e88caf882b91ff2c62a203af793f468183 (patch) | |
tree | b987d3b7a339fe7dd2f67a13501994e2f480d3b9 /crypto | |
parent | efbc7764c4446566edb76ca05e903b5905673d2e (diff) |
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')
0 files changed, 0 insertions, 0 deletions