test_suite_entropy.data 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. Entropy init-free-free
  2. entropy_init_free:0
  3. Entropy init-free-init-free
  4. entropy_init_free:1
  5. Create NV seed_file
  6. nv_seed_file_create:
  7. Entropy write/update seed file: good
  8. entropy_seed_file:"data_files/entropy_seed":0
  9. Entropy write/update seed file: nonexistent
  10. entropy_seed_file:"no_such_dir/file":MBEDTLS_ERR_ENTROPY_FILE_IO_ERROR
  11. Entropy write/update seed file: base NV seed file
  12. entropy_write_base_seed_file:0
  13. Entropy no sources
  14. entropy_no_sources:
  15. Entropy too many sources
  16. entropy_too_many_sources:
  17. Entropy output length: 0
  18. entropy_func_len:0:0
  19. Entropy output length: 1
  20. entropy_func_len:1:0
  21. Entropy output length: 2
  22. entropy_func_len:2:0
  23. Entropy output length: 31
  24. entropy_func_len:31:0
  25. Entropy output length: 65 > BLOCK_SIZE
  26. entropy_func_len:65:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED
  27. Entropy failing source
  28. entropy_source_fail:"data_files/entropy_seed"
  29. Entropy threshold: 16=2*8
  30. entropy_threshold:16:2:8
  31. Entropy threshold: 32=1*32
  32. entropy_threshold:32:1:32
  33. Entropy threshold: 0* never reaches the threshold
  34. entropy_threshold:16:0:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED
  35. Entropy threshold: 1024 never reached
  36. entropy_threshold:1024:1:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED
  37. Entropy calls: no strong
  38. entropy_calls:MBEDTLS_ENTROPY_SOURCE_WEAK:MBEDTLS_ENTROPY_SOURCE_WEAK:1:MBEDTLS_ENTROPY_BLOCK_SIZE:MBEDTLS_ERR_ENTROPY_NO_STRONG_SOURCE
  39. Entropy calls: 1 strong, 1*BLOCK_SIZE
  40. entropy_calls:MBEDTLS_ENTROPY_SOURCE_STRONG:MBEDTLS_ENTROPY_SOURCE_WEAK:1:MBEDTLS_ENTROPY_BLOCK_SIZE:1
  41. Entropy calls: 1 strong, 2*(BLOCK_SIZE/2)
  42. entropy_calls:MBEDTLS_ENTROPY_SOURCE_STRONG:MBEDTLS_ENTROPY_SOURCE_WEAK:1:(MBEDTLS_ENTROPY_BLOCK_SIZE+1)/2:2
  43. Entropy calls: 1 strong, BLOCK_SIZE*1
  44. entropy_calls:MBEDTLS_ENTROPY_SOURCE_STRONG:MBEDTLS_ENTROPY_SOURCE_WEAK:1:1:MBEDTLS_ENTROPY_BLOCK_SIZE
  45. Entropy calls: 1 strong, 2*BLOCK_SIZE to reach threshold
  46. entropy_calls:MBEDTLS_ENTROPY_SOURCE_STRONG:MBEDTLS_ENTROPY_SOURCE_WEAK:MBEDTLS_ENTROPY_BLOCK_SIZE+1:MBEDTLS_ENTROPY_BLOCK_SIZE:2
  47. Entropy calls: 2 strong, BLOCK_SIZE/2 each
  48. entropy_calls:MBEDTLS_ENTROPY_SOURCE_STRONG:MBEDTLS_ENTROPY_SOURCE_WEAK:(MBEDTLS_ENTROPY_BLOCK_SIZE+1)/2:(MBEDTLS_ENTROPY_BLOCK_SIZE+1)/2:2
  49. Check NV seed standard IO
  50. entropy_nv_seed_std_io:
  51. Check NV seed manually #1
  52. entropy_nv_seed:"00112233445566778899AABBCCDDEEFF00112233445566778899AABBCCDDEEFF00112233445566778899AABBCCDDEEFF00112233445566778899AABBCCDDEEFF"
  53. Check NV seed manually #2
  54. entropy_nv_seed:"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
  55. Check NV seed manually #3
  56. entropy_nv_seed:"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
  57. Entropy self test
  58. depends_on:!MBEDTLS_TEST_NULL_ENTROPY
  59. entropy_selftest:0
  60. Entropy self test (MBEDTLS_TEST_NULL_ENTROPY)
  61. depends_on:MBEDTLS_TEST_NULL_ENTROPY
  62. entropy_selftest:1