aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/command_all.sh
diff options
context:
space:
mode:
authorAlexey Smirnov <s.alexey@gmail.com>2022-01-10 12:16:40 +0300
committerHauke Mehrtens <hauke@hauke-m.de>2022-01-16 21:42:19 +0100
commite23ca355b0cf11f043e4fd2484fae6623c602135 (patch)
treede6b28b10997b7750bb612599cd5887b9b034efa /scripts/command_all.sh
parent78057b559540b9c99c1295ae656be80be5757827 (diff)
downloadupstream-e23ca355b0cf11f043e4fd2484fae6623c602135.tar.gz
upstream-e23ca355b0cf11f043e4fd2484fae6623c602135.tar.bz2
upstream-e23ca355b0cf11f043e4fd2484fae6623c602135.zip
omap: add support for the TRNG Hardware Accelerator
According to TI docs (Processor SDK Linux Getting Started Guide) the Random Number Generator hardware is found on OMAP16xx, OMAP2/3/4/5, AM33xx/AM43xx boards. It already defined in device tree files. Let's enable it. Some tests: root@RTS1_OI:~# rngtest -c 1000 </dev/hwrng rngtest 6.10 Copyright (c) 2004 by Henrique de Moraes Holschuh This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. rngtest: starting FIPS tests... rngtest: bits received from input: 20000032 rngtest: FIPS 140-2 successes: 999 rngtest: FIPS 140-2 failures: 1 rngtest: FIPS 140-2(2001-10-10) Monobit: 0 rngtest: FIPS 140-2(2001-10-10) Poker: 0 rngtest: FIPS 140-2(2001-10-10) Runs: 1 rngtest: FIPS 140-2(2001-10-10) Long run: 0 rngtest: FIPS 140-2(2001-10-10) Continuous run: 0 rngtest: input channel speed: (min=198.710; avg=1265.501; max=2976.417)Kibits/s rngtest: FIPS tests speed: (min=1.780; avg=37.085; max=39.736)Mibits/s rngtest: Program run time: 15961329 microseconds Signed-off-by: Alexey Smirnov <s.alexey@gmail.com>
Diffstat (limited to 'scripts/command_all.sh')
0 files changed, 0 insertions, 0 deletions