[riot-notifications] [RIOT] sys/hashes: added MD5 implementation (#3235)

Hauke Petersen notifications at github.com
Mon Jun 22 21:44:28 CEST 2015

When looking for MD5 implementations, I found one done by Christopher R. Hertel for the Ubiqx project: http://www.ubiqx.org/proj/libcifs/source/Auth/MD5.c. I think it looked quite feasible for embedded environments.

Here is what I changed from the refrence implementation:
- renamed functions/types to fit RIOTs coding style
- changed `uchar` type to `uint8_t`
- changed file headers (but kept of course the license and copyrights...)
- change some doxygen related stuff
- changed some comments

Also I added some unittests that are using the reference test vectors as stated in RFC1321.
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * sys/hashes: added MD5 implementation
  * tests/unittest: added tests for MD5

-- File Changes --

    A sys/hashes/md5.c (306)
    A sys/include/hashes/md5.h (129)
    A tests/unittests/tests-hashes/Makefile (1)
    A tests/unittests/tests-hashes/Makefile.include (1)
    A tests/unittests/tests-hashes/tests-hashes-md5.c (76)
    A tests/unittests/tests-hashes/tests-hashes.c (26)
    A tests/unittests/tests-hashes/tests-hashes.h (45)

-- Patch Links --


Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150622/d9b50715/attachment.html>

More information about the notifications mailing list