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

29 Commits

Author SHA1 Message Date
Mikolai Gütschow
9300007cf1
sys/hashes: support for SHA-{384,512/{224,256}}
pkg/esp32_sdk: rename sha384_init to avoid name clash
2024-03-25 12:35:10 +01:00
Frederik Haxel
4a1d07ab64 tests/unittests/tests-hashes: fixes wrong string length 2023-12-11 14:15:50 +01:00
Mikolai Gütschow
6935ea21e7
sys/hashes: add SHA-512 support 2023-11-29 19:18:51 +01:00
Karl Fessel
c29d2f1afb test/unittest: cleanup most vera++ complains 2022-10-27 16:31:59 +02:00
Martine Lenders
27e68787c5
tests: rename cmac to aes128_cmac 2022-08-31 10:43:25 +02:00
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
9210630e1a
unittests/hashes: Mark input strings as static const 2020-06-25 15:05:26 +02:00
PeterKietzmann
454d1fe4cf unittests/tests-hashes: add tests for sha224 2020-06-10 09:40:13 +02:00
PeterKietzmann
e5e3724a45 unittests/tests-hashes: add two FIPS test cases fot sha256 2020-06-10 09:40:03 +02:00
PeterKietzmann
d9c73bef51 unittests/tests-hashes: add tests for sha256 wrapper 2020-06-10 09:39:07 +02:00
5332ecec33
tests/crypto*: use crypto_% modules instead of CFLAGS 2020-03-06 19:49:58 +01:00
90d2e6ac8b tests/unittests: fix typos 2019-11-23 22:39:37 +01:00
Mathias Tausig
792137f88d hashes:sha3: Integrate SHA-3 into RIOT API
Add init/update/final interface
Add interface functions for direct SHA3
Add unit tests for SHA-3
Document functions and types
Reduced var scope in Keccak code
Add CCO Copyright notice to Keccak code
2018-03-06 16:18:18 +01:00
0fcc7d3834 cleanup: apply headerguard script output 2017-05-24 17:54:02 +02:00
José Alamos
137d4689da tests/unittests/tests-hashes: add tests for AES-CMAC 2017-05-08 13:52:12 +02:00
BytesGalore
dacc3cba9f Merge pull request #6283 from OTAkeys/pr/hmac_iterative_calc
hashes/sha256: add iterative hmac calc. functions
2017-03-01 17:14:11 +01:00
Hermann Lelong
f2ef9db988 hashes/sha256: add iterative hmac calc. functions
Add init, update, and final functions to do HMAC
calculation using blocks, instead of one shot.

Unit tests: use the PRF-6 test vector to test the case
where data is splitted in 3 different blocks.
2017-03-01 15:51:21 +01:00
Oleg Hahm
7ee7801c10 *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
BytesGalore
9818d053f4 hashes/sha256: changed data pointer parameters to void* 2016-09-27 06:36:08 +02:00
Mathias Tausig
dfee5c3274 hashes: Unified the cryptographic hash functions
- Same signatures for XXX_init, XXX_update and XXX_final
- Same naming conventions and parameter types for all funtions in sha1.h
2016-05-24 16:52:30 +02:00
BytesGalore
f0245bd648 hashes/sha256: add sha256-chain computation and verification functions
* also added unittetst for it

x[SQUASH ME] separated out all waypoints test and increased waypoints
2016-02-24 19:04:17 +01:00
Oleg Hahm
dd15430fce Merge pull request #4856 from BytesGalore/sha256_separate_unittests
unittests/sha256: separated tests to prevent stack corruption on boards
2016-02-24 16:55:17 +01:00
BytesGalore
8a0016a928 unittests/sha256: separated tests to prevent stack corruption on borards 2016-02-24 14:07:49 +01:00
Oleg Hahm
e0732a5a81 Merge pull request #4701 from OlegHahm/sha1
hashes: Import of SHA-1 algorithm
2016-02-23 12:23:21 +01:00
Oleg Hahm
20567d46dc tests: added unittests for SHA-1 2016-02-23 12:09:37 +01:00
BytesGalore
b1537bc17c hashes/sha256: initial commit for hmac-sha256 computation 2016-02-06 08:11:37 +01:00
Oleg Hahm
51db509f7c sha256: move from crypto to hashes 2016-02-04 14:58:34 +01:00
haukepetersen
b708e423ed tests/unittest: added tests for MD5 2015-06-22 21:43:28 +02:00