Improve the descriptions of some entropy test cases

This commit is contained in:
Gilles Peskine 2019-10-08 14:21:18 +02:00
parent 9ab7c07f1f
commit c34b839d85

View file

@ -1,43 +1,43 @@
Create NV seed_file Create NV seed_file
nv_seed_file_create: nv_seed_file_create:
Entropy write/update seed file [#1] Entropy write/update seed file: good
entropy_seed_file:"data_files/entropy_seed":0 entropy_seed_file:"data_files/entropy_seed":0
Entropy write/update seed file [#2] Entropy write/update seed file: nonexistent
entropy_seed_file:"no_such_dir/file":MBEDTLS_ERR_ENTROPY_FILE_IO_ERROR entropy_seed_file:"no_such_dir/file":MBEDTLS_ERR_ENTROPY_FILE_IO_ERROR
Entropy too many sources Entropy too many sources
entropy_too_many_sources: entropy_too_many_sources:
Entropy output length #1 Entropy output length: 0
entropy_func_len:0:0 entropy_func_len:0:0
Entropy output length #2 Entropy output length: 1
entropy_func_len:1:0 entropy_func_len:1:0
Entropy output length #3 Entropy output length: 2
entropy_func_len:2:0 entropy_func_len:2:0
Entropy output length #4 Entropy output length: 31
entropy_func_len:31:0 entropy_func_len:31:0
Entropy output length #5 Entropy output length: 65 > BLOCK_SIZE
entropy_func_len:65:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED entropy_func_len:65:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED
Entropy failing source Entropy failing source
entropy_source_fail:"data_files/entropy_seed" entropy_source_fail:"data_files/entropy_seed"
Entropy threshold #1 Entropy threshold: 16=2*8
entropy_threshold:16:2:8 entropy_threshold:16:2:8
Entropy threshold #2 Entropy threshold: 32=1*32
entropy_threshold:32:1:32 entropy_threshold:32:1:32
Entropy threshold #3 Entropy threshold: 0* never reaches the threshold
entropy_threshold:16:0:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED entropy_threshold:16:0:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED
Entropy threshold #4 Entropy threshold: 1024 never reached
entropy_threshold:1024:1:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED entropy_threshold:1024:1:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED
Check NV seed standard IO Check NV seed standard IO