Ronald Cron
72d628f7f5
tests: Add mbedtls_test_ prefix to *hexify functions
...
Add mbedtls_test_ prefix to hexify() and unhexify()
test helper functions.
Command to change *.function files:
find . -name "*.function" -exec awk -i inplace \
'{sub(/(un|)hexify\>/,"mbedtls_test_&")}1' {} \;
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2020-06-12 14:33:08 +02:00
Andrzej Kurek
c470b6b021
Merge development commit 8e76332
into development-psa
...
Additional changes to temporarily enable running tests:
ssl_srv.c and test_suite_ecdh use mbedtls_ecp_group_load instead of
mbedtls_ecdh_setup
test_suite_ctr_drbg uses mbedtls_ctr_drbg_update instead of
mbedtls_ctr_drbg_update_ret
2019-01-31 08:20:20 -05:00
Manuel Pégourié-Gonnard
2aca236881
chacha20: add test for parameter validation
2018-05-24 13:37:31 +02:00
Manuel Pégourié-Gonnard
fce88b2533
Fix selftest verbosity in test suites
2018-05-24 13:37:31 +02:00
Manuel Pégourié-Gonnard
1465602ee1
poly1305: fix bug in starts() and add test for it
2018-05-24 13:37:31 +02:00
Manuel Pégourié-Gonnard
55c0d096b7
chacha20: fix bug in starts() and add test for it
...
Previously the streaming API would fail when encrypting multiple messages with
the same key.
2018-05-24 13:37:31 +02:00
Manuel Pégourié-Gonnard
528524bf3c
Reduce size of buffers in test suites
2018-05-24 13:37:31 +02:00
Daniel King
6155cc82ba
Add ChaCha20 test vectors from RFC 7539
2018-05-24 13:37:31 +02:00
Daniel King
34b822ce7b
Initial implementation of ChaCha20
2018-05-24 13:37:31 +02:00