blob: 8ad8760e21c43146bf221674563928ee99766fb7 [file] [log] [blame]
Gilles Peskine210a0162021-02-22 21:24:02 +01001Entropy init-free-free
2entropy_init_free:0
3
4Entropy init-free-init-free
5entropy_init_free:1
6
Paul Bakkerffbfb4c2016-06-01 15:36:18 +01007Create NV seed_file
8nv_seed_file_create:
9
Manuel Pégourié-Gonnard2c25eb02014-05-30 10:38:18 +020010Entropy write/update seed file
11entropy_seed_file:"data_files/entropy_seed":0
12
13Entropy write/update seed file
Manuel Pégourié-Gonnard2cf5a7c2015-04-08 12:49:31 +020014entropy_seed_file:"no_such_dir/file":MBEDTLS_ERR_ENTROPY_FILE_IO_ERROR
Manuel Pégourié-Gonnard2c25eb02014-05-30 10:38:18 +020015
Manuel Pégourié-Gonnardc7c56b22014-05-30 11:42:01 +020016Entropy too many sources
17entropy_too_many_sources:
18
19Entropy output length #1
20entropy_func_len:0:0
21
22Entropy output length #2
23entropy_func_len:1:0
24
25Entropy output length #3
26entropy_func_len:2:0
27
28Entropy output length #4
29entropy_func_len:31:0
30
31Entropy output length #5
Manuel Pégourié-Gonnard2cf5a7c2015-04-08 12:49:31 +020032entropy_func_len:65:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED
Manuel Pégourié-Gonnardc7c56b22014-05-30 11:42:01 +020033
34Entropy failing source
35entropy_source_fail:"data_files/entropy_seed"
36
37Entropy threshold #1
38entropy_threshold:16:2:8
39
40Entropy threshold #2
41entropy_threshold:32:1:32
42
Hanno Becker1b841cc2017-07-23 10:22:45 +010043Entropy threshold #3
Manuel Pégourié-Gonnard2cf5a7c2015-04-08 12:49:31 +020044entropy_threshold:16:0:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED
Manuel Pégourié-Gonnardc7c56b22014-05-30 11:42:01 +020045
Hanno Becker1b841cc2017-07-23 10:22:45 +010046Entropy threshold #4
Manuel Pégourié-Gonnard2cf5a7c2015-04-08 12:49:31 +020047entropy_threshold:1024:1:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED
Manuel Pégourié-Gonnardc7c56b22014-05-30 11:42:01 +020048
Paul Bakkerffbfb4c2016-06-01 15:36:18 +010049Check NV seed standard IO
50entropy_nv_seed_std_io:
51
52Check NV seed manually #1
53entropy_nv_seed:"00112233445566778899AABBCCDDEEFF00112233445566778899AABBCCDDEEFF00112233445566778899AABBCCDDEEFF00112233445566778899AABBCCDDEEFF"
54
55Check NV seed manually #2
56entropy_nv_seed:"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
57
58Check NV seed manually #3
59entropy_nv_seed:"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
60
Hanno Becker47deec42017-07-24 12:27:09 +010061Entropy self test
62depends_on:!MBEDTLS_TEST_NULL_ENTROPY
Simon Butcherb7f45c52016-09-15 18:42:26 +010063entropy_selftest:0
64
65Entropy self test (MBEDTLS_TEST_NULL_ENTROPY)
66depends_on:MBEDTLS_TEST_NULL_ENTROPY
67entropy_selftest:1