aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/sha1
Commit message (Collapse)AuthorAgeFilesLines
* Remove "Dirty hack" for multiple defines in lex_me_harder()Simon Warta2017-04-022-2/+6
|
* Convert to using standard uintN_t integer typesJack Lloyd2016-12-183-20/+20
| | | | | | 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.
* Move ISA optimized versions under the main algo dirJack Lloyd2016-11-032-0/+338
| | | | | | | | Previously it made sense for them to be in distinct dirs because they were standalone. However with #580 that is no longer the case, so move them to subdirs. Configure knows that anything underneath a directory has a dependency on the parent dir, so update info.txt files accordingly to remove explicit dependencies where set.
* Merge optimized implementations into base classJack Lloyd2016-09-152-17/+27
| | | | | | | | | | Various algorithms had an optimized implementation (for SSE2, AVX2, etc) which was offered alongside the 'base' implementation. This is admittedly very useful for testing, but it breaks user expectations in bad ways. See GH #477 for background. Now encrypting with `AES_128` (say) just runs whatever implementation is best on the current processor/build.
* cppcheck fixes: Class 'X' has a constructor with 1 argument that is not ↵Daniel Neus2016-03-051-1/+1
| | | | explicit.
* Mass-prefix member vars with m_René Korthaus2016-01-082-71/+71
|
* Internal header cleanupsJack Lloyd2015-09-191-1/+0
| | | | 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).
* hash: Add missing overridesDaniel Seither2015-07-301-6/+6
|
* lib/hash: Convert &vec[0] to vec.data()Simon Warta2015-06-271-1/+1
|
* Use Algo_Registry also for hashes.lloyd2015-01-281-2/+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.
* Add SHA-512/256lloyd2015-01-081-2/+1
| | | | | Define some new functions for copying out arrays of words and use them across hashes.
* Move lib into srclloyd2014-01-103-0/+226