-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathREADME
49 lines (35 loc) · 1.99 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Random Number Generator (RNG) tests
===================================
Directory "dump-stm32" contains tools for dumping random data from STM chip.
Description of the files
------------------------
dev_random_*.dat - data generated from /dev/random (Linux kernel)
dev_urandom_*.dat - data generated from /dev/urandom (Linux kernel)
stm32_rng_*.dat - data generated from STM32 chip using random32() function
stm32_rng_nc_*.dat - data generated from STM32 chip using random32_nc() function
*.dieharder - output from "dieharder" program run for each *.dat file
*.ent - output from "ent" program run for each *.dat file
*.rngtest - output from "rngtest" program run for each *.dat file
Notes
-----
Ubuntu: sudo apt-get install dieharder ent rng-tools
Data generated with:
- Trezor device using python-trezor/tools/rng_entropy_collector.py
rng-test> ../python-trezor/tools/rng_entropy_collector.py stm32_rng_1.dat 1048576
unplug and re-plug Trezor device
rng-test> ../python-trezor/tools/rng_entropy_collector.py stm32_rng_2.dat 1048576
unplug and re-plug Trezor device
rng-test> ../python-trezor/tools/rng_entropy_collector.py stm32_rng_3.dat 1048576
unplug and re-plug Trezor device
rng-test> ../python-trezor/tools/rng_entropy_collector.py stm32_rng_4.dat 1048576
unplug and re-plug Trezor device
rng-test> ../python-trezor/tools/rng_entropy_collector.py stm32_rng_5.dat 1048576
unplug and re-plug Trezor device
rng-test> ../python-trezor/tools/rng_entropy_collector.py stm32_rng_6.dat 1048576
unplug and re-plug Trezor device
rng-test> ../python-trezor/tools/rng_entropy_collector.py stm32_rng_7.dat 1048576
unplug and re-plug Trezor device
rng-test> ../python-trezor/tools/rng_entropy_collector.py stm32_rng_8.dat 1048576
unplug and re-plug Trezor device
- Ubuntu 16.04.2 LTS 4.4.0-64-generic x86_64 GNU/Linux
make osrandom osurandom all