aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/stream/chacha/chacha.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Support zero-length IV in ChaChaJack Lloyd2017-02-021-1/+12
| | | | Equivalent to an 8 byte all-zero IV, same handling as Salsa.
* Convert to using standard uintN_t integer typesJack Lloyd2016-12-181-28/+28
| | | | | | Renames a couple of functions for somewhat better name consistency, eg make_u32bit becomes make_uint32. The old typedefs remain for now since probably lots of application code uses them.
* Maintainer mode fixes.Jack Lloyd2016-09-211-1/+1
| | | | | | Mostly unused args and missing override notations. Fix DH - load_check calls were commented out for debugging.
* Change T::provider to return std::stringJack Lloyd2016-09-151-1/+1
|
* Add T::provider() to allow user to inquire about implementation usedJack Lloyd2016-09-151-0/+12
| | | | | For block ciphers, stream ciphers, hashes, MACs, and cipher modes. Cipher_Mode already had it, with a slightly different usage.
* Correct macro checkJack Lloyd2016-09-011-1/+1
|
* ChaCha 4 waysJack Lloyd2016-09-011-71/+85
|
* SSE2 ChaChaJack Lloyd2016-09-011-6/+12
|
* Adding StreamCipher::seek interface, supporting seek in ChaCha, and also ↵SimCog2016-06-181-3/+25
| | | | adding ChaCha8 support
* Add support for ChaCha(12)Jack Lloyd2016-04-091-4/+21
|
* Internal header cleanupsJack Lloyd2015-09-191-1/+1
| | | | Only user-visible change is the removal of get_byte.h
* Fix static lib registration for block, hash, mac, stream, kdfJack Lloyd2015-09-101-2/+0
| | | | | | | | | | | The support problems from having static libraries not work in the obvious way will be endless trouble. Instead have each set of registrations tag along in a source file for the basic type, at the cost of some extra ifdefs. On shared libs this is harmless - everything is going into the shared object anyway. With static libs, this means pulling in a single block cipher pulls in the text of all the them. But that's still strictly better than the amalgamation (which is really pulling in everything), and it works (unlike status quo).
* lib/stream: Convert &vec[0] to vec.data()Simon Warta2015-06-231-2/+2
|
* Use registry for streams and MACs. Start updating callers.lloyd2015-01-311-3/+3
|
* Ensure all files have copyright and license info.lloyd2015-01-101-1/+1
| | | | | Update license header line to specify the terms and refer to the file, neither of which it included before.
* Decruftlloyd2014-12-311-14/+0
|
* Support 96 bit nonces in ChaCha20 as specified in ↵lloyd2014-12-291-2/+11
| | | | draft-irtf-cfrg-chacha20-poly1305-03
* Add ChaChalloyd2014-01-311-0/+166