Closed ggvl closed 1 year ago
As buffer size in do_loop() is FIPS_RNG_BUFFER_SIZE, so the random_step should not bigger. If random_step > FIPS_RNG_BUFFER_SIZE, update_kernel_random() will not write any date.
Signed-off-by: lvgenggeng lvgenggeng@uniontech.com
As buffer size in do_loop() is FIPS_RNG_BUFFER_SIZE, so the random_step should not bigger. If random_step > FIPS_RNG_BUFFER_SIZE, update_kernel_random() will not write any date.
Signed-off-by: lvgenggeng lvgenggeng@uniontech.com