Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 1.54 KB

Appendix_F_Testing.md

File metadata and controls

36 lines (30 loc) · 1.54 KB

Appendix F: Testing

The actual cryptographic functions provided by Oberon PSA Crypto are implemented in Oberon microsystems' ocrypto library. An extensive test suite is run for every release of ocrypto, with test vectors from the official standards, test vectors for border cases, negative tests, and random tests.

For testing Oberon PSA Crypto compatibility using the ocrypto implementation, Oberon microsystems uses the PSA Certified APIs Architecture Test Suite.

In addition, Oberon microsystems also runs these PSA-related Mbed TLS tests:

  • test_suite_psa_crypto
  • test_suite_psa_crypto_attributes
  • test_suite_psa_crypto_driver_wrappers
  • test_suite_psa_crypto_generate_key.generated
  • test_suite_psa_crypto_hash
  • test_suite_psa_crypto_metadata
  • test_suite_psa_crypto_not_supported.generated
  • test_suite_psa_crypto_not_supported.misc
  • test_suite_psa_crypto_op_fail.misc
  • test_suite_psa_crypto_persistent_key
  • test_suite_psa_crypto_slot_management
  • test_suite_psa_crypto_storage_format.current
  • test_suite_psa_crypto_storage_format.misc
  • test_suite_psa_crypto_storage_format.v0
  • test_suite_psa_its

For testing, Oberon PSA Crypto is built for a set of configurations and for variants with and without multi-threading support based on the POSIX mutex reference implementation.

Driver developers and platform integrators should run the same tests with suitable test configurations of Oberon PSA Crypto. See the README document for more information on how to build and run the tests.