1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/crypto
René Kijewski 2cf4253710 sys: add ChaCha stream cipher and PRNG
This implementation is optimized for a little code and data size, not
for speed. IMO the code is more readable than in the reference
implementation.

The biggest advantage of ChaCha over other stream ciphers is the very
little data usage with only 64 bytes of context, and its good encryption
speed.

Also part of this PR is pseudo-random number generator, that just
returns the keystream of a randomly initialized ChaCha context.
2015-06-28 18:32:04 +02:00
..
3des.c everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
aes.c everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
chacha_prng.c sys: add ChaCha stream cipher and PRNG 2015-06-28 18:32:04 +02:00
chacha.c sys: add ChaCha stream cipher and PRNG 2015-06-28 18:32:04 +02:00
doc.txt doc: some doxygen cleanups 2014-10-23 17:29:25 +02:00
Makefile sys: add ChaCha stream cipher and PRNG 2015-06-28 18:32:04 +02:00
rc5.c everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
sha256.c everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
skipjack.c everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
twofish.c everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00