Commit Graph

17 Commits (ded39b461ef5c9f954b5a50b7a242889d75f0532)

Author SHA1 Message Date
Oleg Hahm 51db509f7c sha256: move from crypto to hashes 7 years ago
René Kijewski cecb4c8c56 crypto: remove skipjack support
Unused, unmaintained, buggy code for an unknown algorithm.
8 years ago
Nico von Geyso 4a4235c622 Unified Cipher API and Block cipher operation modes 8 years ago
Joakim Gebart 5ab48c2d67 sys/crypto/twofish: Add casts to ensure bit shifts fit in the target variable 8 years ago
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.
8 years ago
Joakim Gebart 13832d8e62 everything: Remove filename from @file Doxygen command 8 years ago
Oleg Hahm 3d411807c0 doc: fix and complemented some doxygen headers 8 years ago
Oleg Hahm a9ed34a293 doc: fixed documentation for crypto headers 8 years ago
Oleg Hahm 43c86b5a3e doc: fix remaining doxygen warnings 8 years ago
Oleg Hahm 0ccf1043de doc: fixed broken doxygen references 8 years ago
Oleg Hahm d92e9af91c doc: fixed broken param descriptions 8 years ago
Oleg Hahm 36e49c6c65 doc: removed broken doxygen struct tags 8 years ago
BytesGalore de3c3cebd0 c++: sys: add extern C to header files 9 years ago
Ludwig Ortmann b7992922ce fix license headers in non-.c files 9 years ago
Ludwig Ortmann c51c135192 sys/crypto: remove assert.h include
It is not used and most platforms don't have it.
9 years ago
Ludwig Ortmann 2525920426 remove trailing whitespace and newlines 9 years ago
Hauke Petersen 05419a5547 Initial import of crypto libs from SecureMicroMesh
- Imported files from secure micro mesh library
- added Makefiles and included libs into sys/Makefile
9 years ago