Commit Graph

12 Commits (953acef94c0d5bf0c26a11412053179b90893778)

Author SHA1 Message Date
Oren Cohen 2df2fc7d29
Fix PSA-HAL, TRNG, TLS tests 2018-12-06 01:22:50 +02:00
adustm e775990c6a Fix typo in the printf (no functional change) 2018-10-19 14:15:53 +02:00
Ron Eldor 5817d71ad8 Change mbedtls_platform_context parameter to NULL
Change the parameter being sent to `mbedtls_platform_setup()` and
`mbedtls_platfrm_teardown()` to NULL, as it is now being unused
in Mbed OS.
2018-09-03 08:38:57 +03:00
Martin Kojtal e52bb68f93 tests: astyle fix
All tests should comply to our coding standard now
2018-08-03 10:23:38 +01:00
Andrzej Kurek 29515c589b Update logs and remove unnecessary defines for Mbed TLS tests 2018-05-08 12:53:29 +01:00
Andrzej Kurek 1938faa449 Add platform setup and teardown calls to mbedtls tests 2018-04-26 08:23:33 +01:00
Martin Kojtal 414b2d971d
Revert "Update Mbed TLS HW acceleration partner code to new hashing API" 2018-02-22 11:20:35 +00:00
Krzysztof Stachowiak f913940a0c Prepare test program to work in different MD implementations 2018-02-13 11:02:18 +01:00
Krzysztof Stachowiak 8c412ed886 Resolve compiler and linker issues in MD APIs
The features/mbedtls/targets/TARGET_STM/* files include constant needed
for the error codes returned from the MD functions.

The features/mbedtls/targets/hash_wrappers.c provides thin redirection
layer for the hardware accelerated MD implementations that rely on the
old API.

The TESTS/mbedtls/multi/main.cpp has been changed to use the new API
as its build environment does not rely on the translation unit
containing the necessary wrappers.
2018-02-13 10:07:28 +01:00
adustm 8ea9ca0af9 Add test of sha256_clone function 2017-06-16 10:47:45 +02:00
adustm 021b84a140 Handle context swapping + rename macro ST_SHA256_BLOCK_SIZE
Handle 64 bytes accumulation
2017-06-16 10:47:31 +02:00
Andres AG d6f40b6e89 Port mbedTLS entropy and sha selftest to mbedOS 2016-09-30 11:24:49 +01:00