Commit Graph

14 Commits (8624fdf0a75dad0b1310606df72cb95c97c00adf)

Author SHA1 Message Date
Jaeden Amero dfab4de4cf crypto: test: Use new PSA error codes
The PSA Framework and PSA Crypto error code names have been unified and
renamed in some cases. Use the new unified names.
2019-02-20 11:31:30 +02:00
itayzafrir fa46e3b499 crypto: Add test of hash clone
Test hash clone by adding a test to TESTS/mbed-crypto/sanity/main.cpp
2019-01-29 11:43:27 +02:00
itayzafrir e66b2203a9 crypto: Add test of key handles
Test key handles by adding a test to TESTS/mbed-crypto/sanity/main.cpp
2019-01-29 11:43:26 +02:00
itayzafrir f882a07708 crypto: Update tests to use key handles
Update tests in TESTS/mbed-crypto/sanity/main.cpp
2019-01-29 11:43:26 +02:00
Oren Cohen 51a462aeea Use entropy injection on any NVseed platform or PSA dual-core/v8 2018-12-05 20:08:35 +02:00
itayzafrir 1431e216ad Skip Mbed Crypto tests when when Mbed Crypto is OFF 2018-11-27 11:56:25 +02:00
Oren Cohen 3e88dcf177 Test modifications
* Add support for entropy injection
* Move psa_crypto_init & mbedtls_psa_crypto_free to setup & teardown handlers
* Skip test_crypto_asymmetric_encrypt_decrypt if RSA generation is not supported
2018-11-27 11:54:10 +02:00
itayzafrir 7fa969f53d Add license 2018-11-26 19:23:17 +02:00
itayzafrir c3a8659c0f Add mbed-crypto key derivation test 2018-11-26 19:23:16 +02:00
itayzafrir 680d9830d1 Add mbed-crypto asymmetric sign verify test 2018-11-26 19:23:16 +02:00
itayzafrir ff3a36abcb Add mbed-crypto symmetric cipher encrypt decrypt test 2018-11-26 19:23:15 +02:00
itayzafrir 29bcb2e327 Add mbed-crypto hash verify test 2018-11-26 19:23:14 +02:00
itayzafrir 118f353e17 Add mbed-crypto asymmetric encrypt decrypt test 2018-11-26 19:23:14 +02:00
itayzafrir f81bb47ffd Introduce mbed-crypto tests
Add tests setup code and random bytes generator test.
2018-11-26 19:23:13 +02:00