[riot-notifications] [RIOT-OS/RIOT] sys/hashes/pbkdf2: Add PBKDF2-sha256 implementation. (#12211)
Juan I Carrano
notifications at github.com
Thu Sep 12 15:33:59 CEST 2019
### Contribution description
This add an implementation of PBKDF2 using sha256 hmac. Only one derived key length is supported (32) though it should not be hard to extend it.
### Testing procedure
The testing is done with both random (with fixed seed) vectors and vectors from rfc7914. As usual, I ran into weirdness with interactive tests so I enabled it only for native. Using miniterm.py everything is fine (at least on samr21-xpro)
### Issues/PRs references
Taken from #12191 .
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* sys/hashes/pbkdf2: Add PBKDF2-sha256 implementation.
-- File Changes --
A sys/hashes/pbkdf2.c (100)
A sys/include/hashes/pbkdf2.h (48)
A tests/pbkdf2/Makefile (17)
A tests/pbkdf2/README (11)
A tests/pbkdf2/main.c (137)
A tests/pbkdf2/tests/01-random.py (45)
A tests/pbkdf2/tests/01-rfc.py (40)
A tests/pbkdf2/tests/test_base.py (42)
-- Patch Links --
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications