1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

15 Commits

Author SHA1 Message Date
Jan Romann
4384795cb9
treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
Ollrogge
427d2bd06e sys/crypto: Enable support for AES-192, AES-256 2021-05-03 17:34:49 +02:00
Fabian Hüßler
848210f16c tests/sys_crypto: add const 2020-10-05 12:32:51 +02:00
f3eae3d468
tests/sys_crypto: fix typo 'neccessary' -> 'necessary' 2020-10-02 08:18:38 +02:00
Francisco Molina
7a39e2e875
tests/sys_crypto/tests-crypto-modes-ccm: add test for input_len=0 2020-04-10 10:41:01 +02:00
Gaëtan Harter
4eb0538e74 tests/sys_crypto: test that the whole plaintext_len is written 2020-01-08 19:49:15 +01:00
Mathias Tausig
44281269e1 crypto: Add testcase for CCM mode with message length > 256 2020-01-07 23:31:35 +01:00
Francisco
4c4cb8a14f
Merge pull request #12362 from mtausig/ccm_aadlen
Fix CCM mode when length of AAD is > 24
2020-01-07 22:26:24 +01:00
Mathias Tausig
c817bc9a11 sys/crypto: Add unit test for CCM mode with AAD length > 24 2020-01-07 21:25:48 +01:00
2d9612b116
tests/sys_crypto: exclude some test for 8 and 16 bit arch
The tests doesn't work when length_encoding is above the maximum uint16
value.

Also add a set that checks the right error code is returned with too
small length_encoding.
2019-11-22 19:21:05 +01:00
Mathias Tausig
89db40b563 sys/crypto: Fix code style 2019-10-08 20:58:52 +02:00
Gaëtan Harter
46c79018f3
tests/sys_crypto: add tests from NIST SP 800-38C
Taken from pycrypto tests input
2019-08-21 17:52:45 +02:00
Gaëtan Harter
d61f3c23ca
tests/sys_crypto: add remaining tests from RFC 3610
Taken from pycrypto tests input
2019-08-21 17:52:45 +02:00
Gaëtan Harter
1e7242ac82
tests/sys_crypto: change naming and formatting
* use names with RFC
* add terminating comma
* remove newlines between tests values

This prepares for the format of the next commit adding all RFC tests.
This will reduce the number of changes in upcoming commit.
2019-08-21 17:52:45 +02:00
Gaëtan Harter
330b9669a3
tests/sys_crypto: move tests-crypto out of unittests
This moves unittests/tests-crypto to its own test.
It should allow adding big test vectors without preventing boards from
running the tests.
2019-08-21 17:52:45 +02:00