Paul Bakker | ffbfb4c | 2016-06-01 15:36:18 +0100 | [diff] [blame] | 1 | Create NV seed_file |
| 2 | nv_seed_file_create: |
| 3 | |
Manuel Pégourié-Gonnard | 2c25eb0 | 2014-05-30 10:38:18 +0200 | [diff] [blame] | 4 | Entropy write/update seed file |
| 5 | entropy_seed_file:"data_files/entropy_seed":0 |
| 6 | |
| 7 | Entropy write/update seed file |
Manuel Pégourié-Gonnard | 2cf5a7c | 2015-04-08 12:49:31 +0200 | [diff] [blame] | 8 | 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] | 9 | |
Manuel Pégourié-Gonnard | c7c56b2 | 2014-05-30 11:42:01 +0200 | [diff] [blame] | 10 | Entropy too many sources |
| 11 | entropy_too_many_sources: |
| 12 | |
| 13 | Entropy output length #1 |
| 14 | entropy_func_len:0:0 |
| 15 | |
| 16 | Entropy output length #2 |
| 17 | entropy_func_len:1:0 |
| 18 | |
| 19 | Entropy output length #3 |
| 20 | entropy_func_len:2:0 |
| 21 | |
| 22 | Entropy output length #4 |
| 23 | entropy_func_len:31:0 |
| 24 | |
| 25 | Entropy output length #5 |
Manuel Pégourié-Gonnard | 2cf5a7c | 2015-04-08 12:49:31 +0200 | [diff] [blame] | 26 | entropy_func_len:65:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED |
Manuel Pégourié-Gonnard | c7c56b2 | 2014-05-30 11:42:01 +0200 | [diff] [blame] | 27 | |
| 28 | Entropy failing source |
| 29 | entropy_source_fail:"data_files/entropy_seed" |
| 30 | |
| 31 | Entropy threshold #1 |
| 32 | entropy_threshold:16:2:8 |
| 33 | |
| 34 | Entropy threshold #2 |
| 35 | entropy_threshold:32:1:32 |
| 36 | |
| 37 | Entropy thershold #3 |
Manuel Pégourié-Gonnard | 2cf5a7c | 2015-04-08 12:49:31 +0200 | [diff] [blame] | 38 | entropy_threshold:16:0:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED |
Manuel Pégourié-Gonnard | c7c56b2 | 2014-05-30 11:42:01 +0200 | [diff] [blame] | 39 | |
| 40 | Entropy thershold #4 |
Manuel Pégourié-Gonnard | 2cf5a7c | 2015-04-08 12:49:31 +0200 | [diff] [blame] | 41 | entropy_threshold:1024:1:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED |
Manuel Pégourié-Gonnard | c7c56b2 | 2014-05-30 11:42:01 +0200 | [diff] [blame] | 42 | |
Paul Bakker | ffbfb4c | 2016-06-01 15:36:18 +0100 | [diff] [blame] | 43 | Check NV seed standard IO |
| 44 | entropy_nv_seed_std_io: |
| 45 | |
| 46 | Check NV seed manually #1 |
| 47 | entropy_nv_seed:"00112233445566778899AABBCCDDEEFF00112233445566778899AABBCCDDEEFF00112233445566778899AABBCCDDEEFF00112233445566778899AABBCCDDEEFF" |
| 48 | |
| 49 | Check NV seed manually #2 |
| 50 | entropy_nv_seed:"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" |
| 51 | |
| 52 | Check NV seed manually #3 |
| 53 | entropy_nv_seed:"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" |
| 54 | |
Manuel Pégourié-Gonnard | 2c25eb0 | 2014-05-30 10:38:18 +0200 | [diff] [blame] | 55 | Entropy self test |
Simon Butcher | b7f45c5 | 2016-09-15 18:42:26 +0100 | [diff] [blame^] | 56 | depends_on:!MBEDTLS_TEST_NULL_ENTROPY |
| 57 | entropy_selftest:0 |
| 58 | |
| 59 | Entropy self test (MBEDTLS_TEST_NULL_ENTROPY) |
| 60 | depends_on:MBEDTLS_TEST_NULL_ENTROPY |
| 61 | entropy_selftest:1 |