Add Rockchip hardware supported random number generator #2462
Conversation
patch/kernel/rockchip64-dev/board-nanopi-r2s-enable-hardware-rng.patch
Outdated
Show resolved
Hide resolved
|
Module is up but not sure how to test its capabilities. |
|
I tested it with Input is a bit faster, even twice as much on average, but it fails the randomness tests for all the blocks. |
Se we have nothing but to close this MR :/ |
|
Was curious about enabling the RNG on a rock chip based board and just found this PR. I had looked at trying to enable the RNG before and saw that in rockchip-linux/kernel#223 there was a solution to the low quality random numbers by expanding the value of CRYPTO_V1_TRNG_SAMPLE_PERIOD in rockchip-rng.c. @igorpecovnik Is there a way to test this PR again with CRYPTO_V1_TRNG_SAMPLE_PERIOD changed? Or is there a way I can build and test this PR myself? |
|
I can provide some data about the rngtest issue. I consulted with a Rockchip engineer who told me that modifying They provide a set of data on the I have tried this on the My personal opinion is that HWRNG can be enabled on the |
Closes AR-578