Gilles Peskine | 3d979f7 | 2021-02-22 21:24:02 +0100 | [diff] [blame] | 1 | Entropy init-free-free |
| 2 | entropy_init_free:0 |
| 3 | |
| 4 | Entropy init-free-init-free |
| 5 | entropy_init_free:1 |
| 6 | |
Paul Bakker | ffbfb4c | 2016-06-01 15:36:18 +0100 | [diff] [blame] | 7 | Create NV seed_file |
| 8 | nv_seed_file_create: |
| 9 | |
Gilles Peskine | c34b839 | 2019-10-08 14:21:18 +0200 | [diff] [blame] | 10 | Entropy write/update seed file: good |
Manuel Pégourié-Gonnard | 2c25eb0 | 2014-05-30 10:38:18 +0200 | [diff] [blame] | 11 | entropy_seed_file:"data_files/entropy_seed":0 |
| 12 | |
Gilles Peskine | c34b839 | 2019-10-08 14:21:18 +0200 | [diff] [blame] | 13 | Entropy write/update seed file: nonexistent |
Manuel Pégourié-Gonnard | 2cf5a7c | 2015-04-08 12:49:31 +0200 | [diff] [blame] | 14 | entropy_seed_file:"no_such_dir/file":MBEDTLS_ERR_ENTROPY_FILE_IO_ERROR |
Manuel Pégourié-Gonnard | 2c25eb0 | 2014-05-30 10:38:18 +0200 | [diff] [blame] | 15 | |
Victor Krasnoshchok | b3129ba | 2020-08-29 22:54:37 +0300 | [diff] [blame] | 16 | Entropy write/update seed file: base NV seed file |
| 17 | entropy_write_base_seed_file:0 |
| 18 | |
Gilles Peskine | 7f24651 | 2019-10-08 14:51:49 +0200 | [diff] [blame] | 19 | Entropy no sources |
| 20 | entropy_no_sources: |
| 21 | |
Manuel Pégourié-Gonnard | c7c56b2 | 2014-05-30 11:42:01 +0200 | [diff] [blame] | 22 | Entropy too many sources |
| 23 | entropy_too_many_sources: |
| 24 | |
Gilles Peskine | c34b839 | 2019-10-08 14:21:18 +0200 | [diff] [blame] | 25 | Entropy output length: 0 |
Manuel Pégourié-Gonnard | c7c56b2 | 2014-05-30 11:42:01 +0200 | [diff] [blame] | 26 | entropy_func_len:0:0 |
| 27 | |
Gilles Peskine | c34b839 | 2019-10-08 14:21:18 +0200 | [diff] [blame] | 28 | Entropy output length: 1 |
Manuel Pégourié-Gonnard | c7c56b2 | 2014-05-30 11:42:01 +0200 | [diff] [blame] | 29 | entropy_func_len:1:0 |
| 30 | |
Gilles Peskine | c34b839 | 2019-10-08 14:21:18 +0200 | [diff] [blame] | 31 | Entropy output length: 2 |
Manuel Pégourié-Gonnard | c7c56b2 | 2014-05-30 11:42:01 +0200 | [diff] [blame] | 32 | entropy_func_len:2:0 |
| 33 | |
Gilles Peskine | c34b839 | 2019-10-08 14:21:18 +0200 | [diff] [blame] | 34 | Entropy output length: 31 |
Manuel Pégourié-Gonnard | c7c56b2 | 2014-05-30 11:42:01 +0200 | [diff] [blame] | 35 | entropy_func_len:31:0 |
| 36 | |
Gilles Peskine | c34b839 | 2019-10-08 14:21:18 +0200 | [diff] [blame] | 37 | Entropy output length: 65 > BLOCK_SIZE |
Manuel Pégourié-Gonnard | 2cf5a7c | 2015-04-08 12:49:31 +0200 | [diff] [blame] | 38 | entropy_func_len:65:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED |
Manuel Pégourié-Gonnard | c7c56b2 | 2014-05-30 11:42:01 +0200 | [diff] [blame] | 39 | |
| 40 | Entropy failing source |
| 41 | entropy_source_fail:"data_files/entropy_seed" |
| 42 | |
Gilles Peskine | c34b839 | 2019-10-08 14:21:18 +0200 | [diff] [blame] | 43 | Entropy threshold: 16=2*8 |
Manuel Pégourié-Gonnard | c7c56b2 | 2014-05-30 11:42:01 +0200 | [diff] [blame] | 44 | entropy_threshold:16:2:8 |
| 45 | |
Gilles Peskine | c34b839 | 2019-10-08 14:21:18 +0200 | [diff] [blame] | 46 | Entropy threshold: 32=1*32 |
Manuel Pégourié-Gonnard | c7c56b2 | 2014-05-30 11:42:01 +0200 | [diff] [blame] | 47 | entropy_threshold:32:1:32 |
| 48 | |
Gilles Peskine | c34b839 | 2019-10-08 14:21:18 +0200 | [diff] [blame] | 49 | Entropy threshold: 0* never reaches the threshold |
Manuel Pégourié-Gonnard | 2cf5a7c | 2015-04-08 12:49:31 +0200 | [diff] [blame] | 50 | entropy_threshold:16:0:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED |
Manuel Pégourié-Gonnard | c7c56b2 | 2014-05-30 11:42:01 +0200 | [diff] [blame] | 51 | |
Gilles Peskine | c34b839 | 2019-10-08 14:21:18 +0200 | [diff] [blame] | 52 | Entropy threshold: 1024 never reached |
Manuel Pégourié-Gonnard | 2cf5a7c | 2015-04-08 12:49:31 +0200 | [diff] [blame] | 53 | entropy_threshold:1024:1:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED |
Manuel Pégourié-Gonnard | c7c56b2 | 2014-05-30 11:42:01 +0200 | [diff] [blame] | 54 | |
Gilles Peskine | 65fc068 | 2019-10-08 15:01:34 +0200 | [diff] [blame] | 55 | Entropy calls: no strong |
| 56 | entropy_calls:MBEDTLS_ENTROPY_SOURCE_WEAK:MBEDTLS_ENTROPY_SOURCE_WEAK:1:MBEDTLS_ENTROPY_BLOCK_SIZE:MBEDTLS_ERR_ENTROPY_NO_STRONG_SOURCE |
| 57 | |
| 58 | Entropy calls: 1 strong, 1*BLOCK_SIZE |
| 59 | entropy_calls:MBEDTLS_ENTROPY_SOURCE_STRONG:MBEDTLS_ENTROPY_SOURCE_WEAK:1:MBEDTLS_ENTROPY_BLOCK_SIZE:1 |
| 60 | |
| 61 | Entropy calls: 1 strong, 2*(BLOCK_SIZE/2) |
| 62 | entropy_calls:MBEDTLS_ENTROPY_SOURCE_STRONG:MBEDTLS_ENTROPY_SOURCE_WEAK:1:(MBEDTLS_ENTROPY_BLOCK_SIZE+1)/2:2 |
| 63 | |
| 64 | Entropy calls: 1 strong, BLOCK_SIZE*1 |
| 65 | entropy_calls:MBEDTLS_ENTROPY_SOURCE_STRONG:MBEDTLS_ENTROPY_SOURCE_WEAK:1:1:MBEDTLS_ENTROPY_BLOCK_SIZE |
| 66 | |
| 67 | Entropy calls: 1 strong, 2*BLOCK_SIZE to reach threshold |
| 68 | entropy_calls:MBEDTLS_ENTROPY_SOURCE_STRONG:MBEDTLS_ENTROPY_SOURCE_WEAK:MBEDTLS_ENTROPY_BLOCK_SIZE+1:MBEDTLS_ENTROPY_BLOCK_SIZE:2 |
| 69 | |
| 70 | Entropy calls: 2 strong, BLOCK_SIZE/2 each |
| 71 | entropy_calls:MBEDTLS_ENTROPY_SOURCE_STRONG:MBEDTLS_ENTROPY_SOURCE_WEAK:(MBEDTLS_ENTROPY_BLOCK_SIZE+1)/2:(MBEDTLS_ENTROPY_BLOCK_SIZE+1)/2:2 |
| 72 | |
Paul Bakker | ffbfb4c | 2016-06-01 15:36:18 +0100 | [diff] [blame] | 73 | Check NV seed standard IO |
| 74 | entropy_nv_seed_std_io: |
| 75 | |
| 76 | Check NV seed manually #1 |
| 77 | entropy_nv_seed:"00112233445566778899AABBCCDDEEFF00112233445566778899AABBCCDDEEFF00112233445566778899AABBCCDDEEFF00112233445566778899AABBCCDDEEFF" |
| 78 | |
| 79 | Check NV seed manually #2 |
| 80 | entropy_nv_seed:"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" |
| 81 | |
| 82 | Check NV seed manually #3 |
| 83 | entropy_nv_seed:"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" |
| 84 | |
Hanno Becker | 47deec4 | 2017-07-24 12:27:09 +0100 | [diff] [blame] | 85 | Entropy self test |
Simon Butcher | b7f45c5 | 2016-09-15 18:42:26 +0100 | [diff] [blame] | 86 | entropy_selftest:0 |