You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rngtest: Improve robustness and log success ratio even on failure
- Enhanced rngtest run.sh to be resilient to partial failures from rngtest execution.
- Parses FIPS 140-2 success count even if rngtest returns non-zero.
- Adds logging of success count and calculated success percentage.
- Logs detailed diagnostics when rngtest fails to aid CI debugging.
- Automatically falls back to /dev/hwrng if available, otherwise defaults to /dev/urandom.
- Uses a tunable pass threshold (default 997 out of 1000) to avoid CI flakiness due to single-bit anomalies.
Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
0 commit comments