• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Entropy init-free-free
2entropy_init_free:0
3
4Entropy init-free-init-free
5entropy_init_free:1
6
7Create NV seed_file
8nv_seed_file_create:
9
10Entropy write/update seed file: good
11entropy_seed_file:"data_files/entropy_seed":0
12
13Entropy write/update seed file: nonexistent
14entropy_seed_file:"no_such_dir/file":MBEDTLS_ERR_ENTROPY_FILE_IO_ERROR
15
16Entropy write/update seed file: base NV seed file
17entropy_write_base_seed_file:0
18
19Entropy no sources
20entropy_no_sources:
21
22Entropy too many sources
23entropy_too_many_sources:
24
25Entropy output length: 0
26entropy_func_len:0:0
27
28Entropy output length: 1
29entropy_func_len:1:0
30
31Entropy output length: 2
32entropy_func_len:2:0
33
34Entropy output length: 31
35entropy_func_len:31:0
36
37Entropy output length: 65 > BLOCK_SIZE
38entropy_func_len:65:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED
39
40Entropy failing source
41entropy_source_fail:"data_files/entropy_seed"
42
43Entropy threshold: 16=2*8
44entropy_threshold:16:2:8
45
46Entropy threshold: 32=1*32
47entropy_threshold:32:1:32
48
49Entropy threshold: 0* never reaches the threshold
50entropy_threshold:16:0:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED
51
52Entropy threshold: 1024 never reached
53entropy_threshold:1024:1:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED
54
55Entropy calls: no strong
56entropy_calls:MBEDTLS_ENTROPY_SOURCE_WEAK:MBEDTLS_ENTROPY_SOURCE_WEAK:1:MBEDTLS_ENTROPY_BLOCK_SIZE:MBEDTLS_ERR_ENTROPY_NO_STRONG_SOURCE
57
58Entropy calls: 1 strong, 1*BLOCK_SIZE
59entropy_calls:MBEDTLS_ENTROPY_SOURCE_STRONG:MBEDTLS_ENTROPY_SOURCE_WEAK:1:MBEDTLS_ENTROPY_BLOCK_SIZE:1
60
61Entropy calls: 1 strong, 2*(BLOCK_SIZE/2)
62entropy_calls:MBEDTLS_ENTROPY_SOURCE_STRONG:MBEDTLS_ENTROPY_SOURCE_WEAK:1:(MBEDTLS_ENTROPY_BLOCK_SIZE+1)/2:2
63
64Entropy calls: 1 strong, BLOCK_SIZE*1
65entropy_calls:MBEDTLS_ENTROPY_SOURCE_STRONG:MBEDTLS_ENTROPY_SOURCE_WEAK:1:1:MBEDTLS_ENTROPY_BLOCK_SIZE
66
67Entropy calls: 1 strong, 2*BLOCK_SIZE to reach threshold
68entropy_calls:MBEDTLS_ENTROPY_SOURCE_STRONG:MBEDTLS_ENTROPY_SOURCE_WEAK:MBEDTLS_ENTROPY_BLOCK_SIZE+1:MBEDTLS_ENTROPY_BLOCK_SIZE:2
69
70Entropy calls: 2 strong, BLOCK_SIZE/2 each
71entropy_calls:MBEDTLS_ENTROPY_SOURCE_STRONG:MBEDTLS_ENTROPY_SOURCE_WEAK:(MBEDTLS_ENTROPY_BLOCK_SIZE+1)/2:(MBEDTLS_ENTROPY_BLOCK_SIZE+1)/2:2
72
73Check NV seed standard IO
74entropy_nv_seed_std_io:
75
76Check NV seed manually #1
77entropy_nv_seed:"00112233445566778899AABBCCDDEEFF00112233445566778899AABBCCDDEEFF00112233445566778899AABBCCDDEEFF00112233445566778899AABBCCDDEEFF"
78
79Check NV seed manually #2
80entropy_nv_seed:"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
81
82Check NV seed manually #3
83entropy_nv_seed:"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
84
85Entropy self test
86entropy_selftest:0
87