2016-06-01 16:36:18 +02:00
|
|
|
Create NV seed_file
|
|
|
|
nv_seed_file_create:
|
|
|
|
|
2019-10-08 14:21:18 +02:00
|
|
|
Entropy write/update seed file: good
|
2014-05-30 10:38:18 +02:00
|
|
|
entropy_seed_file:"data_files/entropy_seed":0
|
|
|
|
|
2019-10-08 14:21:18 +02:00
|
|
|
Entropy write/update seed file: nonexistent
|
2015-04-08 12:49:31 +02:00
|
|
|
entropy_seed_file:"no_such_dir/file":MBEDTLS_ERR_ENTROPY_FILE_IO_ERROR
|
2014-05-30 10:38:18 +02:00
|
|
|
|
2019-10-08 14:51:49 +02:00
|
|
|
Entropy no sources
|
|
|
|
entropy_no_sources:
|
|
|
|
|
2014-05-30 11:42:01 +02:00
|
|
|
Entropy too many sources
|
|
|
|
entropy_too_many_sources:
|
|
|
|
|
2019-10-08 14:21:18 +02:00
|
|
|
Entropy output length: 0
|
2014-05-30 11:42:01 +02:00
|
|
|
entropy_func_len:0:0
|
|
|
|
|
2019-10-08 14:21:18 +02:00
|
|
|
Entropy output length: 1
|
2014-05-30 11:42:01 +02:00
|
|
|
entropy_func_len:1:0
|
|
|
|
|
2019-10-08 14:21:18 +02:00
|
|
|
Entropy output length: 2
|
2014-05-30 11:42:01 +02:00
|
|
|
entropy_func_len:2:0
|
|
|
|
|
2019-10-08 14:21:18 +02:00
|
|
|
Entropy output length: 31
|
2014-05-30 11:42:01 +02:00
|
|
|
entropy_func_len:31:0
|
|
|
|
|
2019-10-08 14:21:18 +02:00
|
|
|
Entropy output length: 65 > BLOCK_SIZE
|
2015-04-08 12:49:31 +02:00
|
|
|
entropy_func_len:65:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED
|
2014-05-30 11:42:01 +02:00
|
|
|
|
|
|
|
Entropy failing source
|
|
|
|
entropy_source_fail:"data_files/entropy_seed"
|
|
|
|
|
2019-10-08 14:21:18 +02:00
|
|
|
Entropy threshold: 16=2*8
|
2014-05-30 11:42:01 +02:00
|
|
|
entropy_threshold:16:2:8
|
|
|
|
|
2019-10-08 14:21:18 +02:00
|
|
|
Entropy threshold: 32=1*32
|
2014-05-30 11:42:01 +02:00
|
|
|
entropy_threshold:32:1:32
|
|
|
|
|
2019-10-08 14:21:18 +02:00
|
|
|
Entropy threshold: 0* never reaches the threshold
|
2015-04-08 12:49:31 +02:00
|
|
|
entropy_threshold:16:0:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED
|
2014-05-30 11:42:01 +02:00
|
|
|
|
2019-10-08 14:21:18 +02:00
|
|
|
Entropy threshold: 1024 never reached
|
2015-04-08 12:49:31 +02:00
|
|
|
entropy_threshold:1024:1:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED
|
2014-05-30 11:42:01 +02:00
|
|
|
|
2019-10-08 15:01:34 +02:00
|
|
|
Entropy calls: no strong
|
|
|
|
entropy_calls:MBEDTLS_ENTROPY_SOURCE_WEAK:MBEDTLS_ENTROPY_SOURCE_WEAK:1:MBEDTLS_ENTROPY_BLOCK_SIZE:MBEDTLS_ERR_ENTROPY_NO_STRONG_SOURCE
|
|
|
|
|
|
|
|
Entropy calls: 1 strong, 1*BLOCK_SIZE
|
|
|
|
entropy_calls:MBEDTLS_ENTROPY_SOURCE_STRONG:MBEDTLS_ENTROPY_SOURCE_WEAK:1:MBEDTLS_ENTROPY_BLOCK_SIZE:1
|
|
|
|
|
|
|
|
Entropy calls: 1 strong, 2*(BLOCK_SIZE/2)
|
|
|
|
entropy_calls:MBEDTLS_ENTROPY_SOURCE_STRONG:MBEDTLS_ENTROPY_SOURCE_WEAK:1:(MBEDTLS_ENTROPY_BLOCK_SIZE+1)/2:2
|
|
|
|
|
|
|
|
Entropy calls: 1 strong, BLOCK_SIZE*1
|
|
|
|
entropy_calls:MBEDTLS_ENTROPY_SOURCE_STRONG:MBEDTLS_ENTROPY_SOURCE_WEAK:1:1:MBEDTLS_ENTROPY_BLOCK_SIZE
|
|
|
|
|
|
|
|
Entropy calls: 1 strong, 2*BLOCK_SIZE to reach threshold
|
|
|
|
entropy_calls:MBEDTLS_ENTROPY_SOURCE_STRONG:MBEDTLS_ENTROPY_SOURCE_WEAK:MBEDTLS_ENTROPY_BLOCK_SIZE+1:MBEDTLS_ENTROPY_BLOCK_SIZE:2
|
|
|
|
|
|
|
|
Entropy calls: 2 strong, BLOCK_SIZE/2 each
|
|
|
|
entropy_calls:MBEDTLS_ENTROPY_SOURCE_STRONG:MBEDTLS_ENTROPY_SOURCE_WEAK:(MBEDTLS_ENTROPY_BLOCK_SIZE+1)/2:(MBEDTLS_ENTROPY_BLOCK_SIZE+1)/2:2
|
|
|
|
|
2016-06-01 16:36:18 +02:00
|
|
|
Check NV seed standard IO
|
|
|
|
entropy_nv_seed_std_io:
|
|
|
|
|
|
|
|
Check NV seed manually #1
|
|
|
|
entropy_nv_seed:"00112233445566778899AABBCCDDEEFF00112233445566778899AABBCCDDEEFF00112233445566778899AABBCCDDEEFF00112233445566778899AABBCCDDEEFF"
|
|
|
|
|
|
|
|
Check NV seed manually #2
|
|
|
|
entropy_nv_seed:"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
|
|
|
|
|
|
Check NV seed manually #3
|
|
|
|
entropy_nv_seed:"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
|
|
|
|
|
2017-07-24 13:27:09 +02:00
|
|
|
Entropy self test
|
|
|
|
depends_on:!MBEDTLS_TEST_NULL_ENTROPY
|
2016-09-15 19:42:26 +02:00
|
|
|
entropy_selftest:0
|
|
|
|
|
|
|
|
Entropy self test (MBEDTLS_TEST_NULL_ENTROPY)
|
|
|
|
depends_on:MBEDTLS_TEST_NULL_ENTROPY
|
|
|
|
entropy_selftest:1
|