aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pbkdf
Commit message (Collapse)AuthorAgeFilesLines
* pbkdf: Add missing overridesDaniel Seither2015-07-301-2/+2
|
* Fix typosSimon Warta2015-07-241-1/+1
| | | | Thanks to @vlajos https://github.com/vlajos/misspell_fixer
* Add missing semicolonsDaniel Seither2015-07-151-1/+1
|
* Make Botan compile when only some modules are enabledSimon Warta2015-07-031-0/+2
| | | | Fixes #146.
* lib/pbkdf: Convert &vec[0] to vec.data()Simon Warta2015-06-234-12/+12
|
* Hide Algorithm_Factory and use the functions in lookup.h internally.lloyd2015-03-041-2/+2
| | | | | | Fix two memory leaks (in TLS and modes) caused by calling get_foo and then cloning the result before saving it (leaking the original object), a holdover from the conversion between construction techniques in 1.11.14
* Convert HKDF to the normal KDF interfacelloyd2015-02-181-3/+2
|
* Modify interfaces of KDF and PBKDF to write output to an array, withlloyd2015-02-186-127/+179
| | | | higher level functions on interface handling returning a vector.
* Add new module `ffi` which provides a plain C interface, plus a newlloyd2015-02-161-1/+1
| | | | | | | | | | | | ctypes Python wrapper that uses it. The API is intentionally designed to have a very simple ABI (extern "C", all structs are opaque, no memory ownership passing the FFI boundary, limited set of simple types as args) so the ctypes wrapper is quite simple. Currently ffi provides ciphers, hashes, MACs, RNGs, PBKDF, KDF, bcrypt, and most public key operations. Remove the old boost.python wrapper and all the build code for it.
* Remove algo factory, engines, global RNG, global state, etc.lloyd2015-02-047-2/+57
| | | | | | | | | | | | | | | Convert all uses of Algorithm_Factory and the engines to using Algo_Registry The shared pool of entropy sources remains but is moved to EntropySource. With that and few remaining initializations (default OIDs and aliases) moved elsewhere, the global state is empty and init and shutdown are no-ops. Remove almost all of the headers and code for handling the global state, except LibraryInitializer which remains as a compatability stub. Update seeding for blinding so only one hacky almost-global RNG instance needs to be setup instead of across all pubkey uses (it uses either the system RNG or an AutoSeeded_RNG if the system RNG is not available).
* Ensure all files have copyright and license info.lloyd2015-01-106-6/+6
| | | | | Update license header line to specify the terms and refer to the file, neither of which it included before.
* Guess I won't be needing theselloyd2014-01-182-2/+0
|
* More unique_ptr, also cleanup MGF1 usagelloyd2014-01-182-17/+5
|
* Split off the keyed interfaces of transform to Keyed_Transformlloyd2014-01-181-8/+4
| | | | | Remove the unhelpful 'Algorithm' base class which had previously acted more or less as a global base.
* Move lib into srclloyd2014-01-109-0/+466