aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/stream/salsa20
Commit message (Collapse)AuthorAgeFilesLines
* Convert to using standard uintN_t integer typesJack Lloyd2016-12-182-34/+34
| | | | | | 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.
* Salsa20 accepts empty IVsJack Lloyd2016-10-302-4/+9
| | | | Treats it as an all-zero 64-bit IV. GH #697
* Add SHAKE-128 as stream cipherJack Lloyd2016-10-191-1/+1
| | | | | Updates NewHope to use that instead of the hard-coded SHAKE-128, and adds toggle for BoringSSL compat mode using AES-128/CTR + SHA-256.
* Adding StreamCipher::seek interface, supporting seek in ChaCha, and also ↵SimCog2016-06-182-0/+6
| | | | adding ChaCha8 support
* Add final attribute to many classesJack Lloyd2016-01-101-1/+1
| | | | | | | In some cases this can offer better optimization, via devirtualization. And it lets the user know the class is not intended for derivation. Some discussion in GH #402
* 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).
* stream: Add missing overridesDaniel Seither2015-07-301-8/+8
|
* lib/stream: Convert &vec[0] to vec.data()Simon Warta2015-06-231-3/+3
|
* Fix various bugs found by Coverity scanner.lloyd2015-05-151-1/+1
| | | | | | | Uninitialized variables, missing divide by zero checks, missing virtual destructor, etc. Only thing serious is bug in TLS maximum fragment decoder; missing breaks in switch statement meant receiver would treat any negotiated max frament as 4k limit.
* Use registry for streams and MACs. Start updating callers.lloyd2015-01-311-3/+3
|
* Ensure all files have copyright and license info.lloyd2015-01-102-2/+2
| | | | | Update license header line to specify the terms and refer to the file, neither of which it included before.
* Remove unused includelloyd2014-02-131-1/+0
|
* Add ChaChalloyd2014-01-312-77/+67
|
* Move lib into srclloyd2014-01-103-0/+290