test_suite_psa_crypto_init.data 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. Create NV seed file
  2. create_nv_seed:
  3. PSA init/deinit
  4. init_deinit:2
  5. PSA deinit without init
  6. deinit_without_init:0
  7. PSA deinit twice
  8. deinit_without_init:1
  9. No random without init
  10. validate_module_init_generate_random:0
  11. No key slot access without init
  12. validate_module_init_key_based:0
  13. No random after deinit
  14. validate_module_init_generate_random:1
  15. No key slot access after deinit
  16. validate_module_init_key_based:1
  17. Custom entropy sources: all standard
  18. custom_entropy_sources:0x0000ffff:PSA_SUCCESS
  19. Custom entropy sources: none
  20. custom_entropy_sources:0:PSA_ERROR_INSUFFICIENT_ENTROPY
  21. Fake entropy: never returns anything
  22. fake_entropy_source:MBEDTLS_ENTROPY_BLOCK_SIZE:0:0:0:0:PSA_ERROR_INSUFFICIENT_ENTROPY
  23. Fake entropy: less than the block size
  24. fake_entropy_source:MBEDTLS_ENTROPY_BLOCK_SIZE:MBEDTLS_ENTROPY_BLOCK_SIZE - 1:-1:-1:-1:PSA_ERROR_INSUFFICIENT_ENTROPY
  25. Fake entropy: not enough for a nonce
  26. depends_on:ENTROPY_NONCE_LEN != 0
  27. fake_entropy_source:MBEDTLS_ENTROPY_BLOCK_SIZE:ENTROPY_NONCE_LEN - 1:-1:-1:-1:PSA_ERROR_INSUFFICIENT_ENTROPY
  28. Fake entropy: one block eventually
  29. depends_on:ENTROPY_NONCE_LEN == 0
  30. fake_entropy_source:MBEDTLS_ENTROPY_BLOCK_SIZE:0:0:0:MBEDTLS_ENTROPY_BLOCK_SIZE:PSA_SUCCESS
  31. Fake entropy: one block in two steps
  32. depends_on:ENTROPY_NONCE_LEN == 0
  33. fake_entropy_source:MBEDTLS_ENTROPY_BLOCK_SIZE:MBEDTLS_ENTROPY_BLOCK_SIZE - 1:1:-1:-1:PSA_SUCCESS
  34. Fake entropy: more than one block in two steps
  35. depends_on:ENTROPY_NONCE_LEN == 0
  36. fake_entropy_source:MBEDTLS_ENTROPY_BLOCK_SIZE:MBEDTLS_ENTROPY_BLOCK_SIZE - 1:MBEDTLS_ENTROPY_BLOCK_SIZE - 1:-1:-1:PSA_SUCCESS
  37. Fake entropy: two blocks eventually
  38. fake_entropy_source:MBEDTLS_ENTROPY_BLOCK_SIZE:0:MBEDTLS_ENTROPY_BLOCK_SIZE:0:MBEDTLS_ENTROPY_BLOCK_SIZE:PSA_SUCCESS
  39. NV seed only: less than minimum
  40. entropy_from_nv_seed:MBEDTLS_ENTROPY_MIN_PLATFORM - 1:PSA_ERROR_INSUFFICIENT_ENTROPY
  41. NV seed only: less than one block
  42. entropy_from_nv_seed:MBEDTLS_ENTROPY_BLOCK_SIZE - 1:PSA_ERROR_INSUFFICIENT_ENTROPY
  43. NV seed only: just enough
  44. entropy_from_nv_seed:ENTROPY_MIN_NV_SEED_SIZE:PSA_SUCCESS
  45. Recreate NV seed file
  46. create_nv_seed: