aboutsummaryrefslogtreecommitdiffstats
path: root/src/algo_base
Commit message (Collapse)AuthorAgeFilesLines
* Doxygenlloyd2012-10-301-0/+6
|
* Include <string> in buf_comp.h and filter.h as we used std::string butlloyd2012-05-251-0/+1
| | | | | | | were not including it in the header chain. Caused compilation failures using Clang 3.1 using libc++. Remove the 3-argument version of hash_seq in SRP6, was not being used.
* Fairly huge update that replaces the old secmem types with std::vectorlloyd2012-05-183-19/+37
| | | | | | using a custom allocator. Currently our allocator just does new/delete with a memset before deletion, and the mmap and mlock allocators have been removed.
* Remove all uses of MemoryRegion::copy outside of internal uses inlloyd2012-05-181-3/+2
| | | | secmem.h. Mostly replaced by assign or copy_mem.
* Remove OctetString::change, only allow construction. Turns out nothinglloyd2012-05-172-26/+11
| | | | was using this, so no other changes needed.
* Add string_join; inverse of split_on.lloyd2011-06-171-4/+3
| | | | | | | | | Use auto in a few more places. Use GCC 4.6's range-for Delete rather than hide Algorithm copy constructor/assignment Move version to more or less randomly chosen 1.99 so there is no ambiguity about versions.
* Unfortunately it looks like VC 2008 has major issues with howlloyd2010-11-051-8/+3
| | | | | | | | Algorithm::clone is redefinied with covariant return types in the subclasses. Curiously, it only had problems with hash functions and MACs, not ciphers. So remove Algorithm::clone(), leaving the subclass implementations.
* Mass disable copy constructors and assignment on all algos until proven ↵lloyd2010-11-041-0/+4
| | | | safe/useful
* Needs virtual destructorlloyd2010-11-031-0/+2
|
* Doxygenlloyd2010-11-021-0/+26
|
* Add missing filelloyd2010-11-011-0/+43
|
* Add new top-level algorithm which provides basic functionality: namelloyd2010-11-016-0/+595
query, clearing, and cloning. Applies to ciphers, hashes, MACs, and PBKDFs. May extend to KDFs later as well. A single combined hierarchy in particular will make the algo_factory much simpler.