Commit Graph

22 Commits (065ff2645e655b8d5968b84c6fe23205145d35a3)

Author SHA1 Message Date
Jaeden Amero 3d1b8363db Use PSA Crypto API 1.0b3
The PSA Crypto API has moved on from 1.0b2 to 1.0b3, bringing along with
it some breaking changes. Update Mbed OS to use the 1.0b3 API.
2019-09-02 17:10:59 +01:00
int_szyk ae6f8be146 Newline at the end of files 2019-08-01 08:44:58 +02:00
int_szyk a8d8bd6c18 Astyle 2019-07-31 12:27:41 +02:00
int_szyk 8b68a1ea58 Updated testcases 2019-07-31 10:46:38 +02:00
Devaraj Ranganna 7ead3fedb8 Include psa/crypto.h instead of mbedtls/config.h.
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2019-07-08 16:28:58 +01:00
Devaraj Ranganna 6e590cd3e7 Include mbedtls/config.h before evaluating MBEDTLS_PSA_CRYPTO_C
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2019-07-04 16:44:19 +03:00
Oren Cohen fc97a75632 Remove #ifndef NO_GREENTEA from tests 2019-03-14 11:16:44 +02:00
Michael Schwarcz 3edcf455a6 mbed-crypto sanity tests enable run without greentea 2019-03-03 10:55:43 +02:00
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