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

42 Commits

Author SHA1 Message Date
74919d0646
sys/sha3: fix dead assignment of blockSize in Keccak_update 2019-10-27 10:44:54 +01:00
9e9ef3293d
sys/sha1: deduplicate sys_hashes_sha1 group definition 2019-08-05 16:57:36 +02:00
d6390b3685 hashes/sha256: don't call memcpy if len==0 2019-01-17 10:56:34 +01:00
Jose Alamos
cac5944023 doc/hashes: deprecate supports section 2018-08-29 16:08:53 +02:00
Jose Alamos
116118af22 doc/hashes: define new hash groups 2018-08-28 19:06:36 +02:00
Mathias Tausig
ce099c6517 hashes:sha3: Remove unused functions from Keccak code
Remove unused SHAKE functions
Removed unused SHA3-224
2018-03-06 16:18:26 +01:00
Mathias Tausig
91a473a8d9 hashes:sha3: Alterations to Keccak code
Changed integer typedefs to portable stdint types
Added Endianness define
2018-03-06 16:18:23 +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
Mathias Tausig
a44a313e8f hashes:sha3: Import Keccak code from Keccak Code Package 2018-03-06 16:17:46 +01:00
smlng
6ac0922c7d doc: replace dashes 2017-09-06 08:49:05 +02:00
José Alamos
5dc146269d sys/hashes: add AES-CMAC implementation 2017-05-08 13:52:11 +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
kYc0o
4fc6b89d87 sys/hashes/sha256: remove unnecessary include 2017-01-04 16:54:13 +01:00
Ludwig Knüpfer
af1968e52a sys/hashes: fix doxygen group
- fix group membership
- improve description style
2016-12-20 20:42:13 +01:00
Martine Lenders
3c005b64b6 Merge pull request #5692 from BytesGalore/md5_change_parameter_type
hashes/md5: changed data-parameter types to `void*`
2016-09-27 20:07:11 +02:00
BytesGalore
4fa3a83910 hashes/md5: changed data-parameter types to void* 2016-09-27 18:53:43 +02:00
Martine Lenders
3a204d69b4 Merge pull request #5691 from BytesGalore/sha1_change_parameter_type
hashes/sha1: changed data-parameter pointers to `void*`
2016-09-27 18:48:31 +02:00
BytesGalore
9818d053f4 hashes/sha256: changed data pointer parameters to void* 2016-09-27 06:36:08 +02:00
Wentao Shang
600c8f626d hashes/sha256: support unaligned memory access in be32enc_vect 2016-07-31 18:58:13 -07:00
BytesGalore
68d9f07eee hashes/sha1: changed data-parameter types to void* 2016-07-26 10:03:58 +02:00
Mathias Tausig
ca5564f643 Cleanup: Corrected code style with uncrustify 2016-05-24 16:57:06 +02:00
Mathias Tausig
b30945a2f8 hashes: Cleanup (removed unneccesary increment operator) 2016-05-24 16:57:06 +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
e0732a5a81 Merge pull request #4701 from OlegHahm/sha1
hashes: Import of SHA-1 algorithm
2016-02-23 12:23:21 +01:00
Oleg Hahm
6afd629d1a hashes: add SHA-1 hashing algorithm 2016-02-23 12:09:37 +01:00
Ludwig Knüpfer
be4ac58e0c sys/hashes, sys/checksum: mv fletcher* checksum 2016-02-15 09:29:04 +01:00
BytesGalore
b1537bc17c hashes/sha256: initial commit for hmac-sha256 computation 2016-02-06 08:11:37 +01:00
Oleg Hahm
6823b47623 doc: add starting page for hash functions 2016-02-04 14:58:34 +01:00
Oleg Hahm
51db509f7c sha256: move from crypto to hashes 2016-02-04 14:58:34 +01:00
Joakim Nohlgård
98c465008b all: Update @gebart family name, email 2015-09-20 13:47:39 +02:00
René Kijewski
caf5503486 Merge pull request #3235 from haukepetersen/add_md5
sys/hashes: added MD5 implementation
2015-07-13 22:59:09 +02:00
haukepetersen
9370506a72 sys/hashes: added MD5 implementation 2015-06-22 21:43:28 +02:00
Joakim Gebart
1f94a93fb8 sys/hashes: Add Fletcher's checksums 2015-05-26 23:11:30 +02:00
Ludwig Ortmann
3ca4f18479 doc: use lgplv2.1-short license header instead of lgpl-short-riot 2014-07-31 22:57:20 +02:00
Ludwig Ortmann
b6846e31fc doc: fix most occurences of FU as an author
.. but only if there are other authors as well
2014-07-29 17:23:11 +02:00
René Kijewski
840c0f0a57 make: detect their module name automatically
For many modules the `Makefile` contains a line like
```
MODULE:=$(shell basename $(CURDIR))
```
This conclusively shows that we do not have to set the module name
manually.

This PR removes the need to set the module name manually, if it is the
same as the basename. E.g. for `…/sys/vtimer/Makefile` the variable
make `MODULE` will still be `vtimer`, because it is the basename of the
Makefile.
2014-06-17 15:49:32 +02:00
Christian Mehlis
96d0eafc1a spelling: fix autor to author 2014-01-24 19:04:28 +01:00
Oleg Hahm
593ee623b6 simplify and unify include pathes
additional:
* exporting include path in sys is mandatory for subfolders
* removed duplicate object file in linker call
2014-01-05 16:11:07 +01:00
Ludwig Ortmann
d6c213fb47 fix grammar in license header 2013-11-23 13:11:56 +01:00
Christian Mehlis
2e44523b51 change the bloom filter to filter arrays of bytes
current implementation of the bloom filter only
handles c strings, this commits changes the hash
functions to work on byte arrays.

additionally I did:
	added to more hashes
	moved hashes in its own sys folder
2013-08-27 13:30:33 +02:00