aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/misc
Commit message (Collapse)AuthorAgeFilesLines
* Refactor ./botan speedSimon Warta2015-08-211-9/+9
| | | | | | | * Add random_prime benchmark * Add is_prime benchmark * Respect runtime in benchmark_transform(). This sets default runtime from 2s to 0.5s per configuration
* Fix module combi: adler32,tssSimon Warta2015-07-081-0/+2
|
* Fix module combi: adler32,openpgpSimon Warta2015-07-081-0/+1
|
* Add missing module dependency numbertheory to fpe_fe1Simon Warta2015-06-261-1/+2
|
* lib/misc: Convert &vec[0] to vec.data()Simon Warta2015-06-259-37/+37
|
* ifstream/ostream take std::stringSimon Warta2015-06-231-1/+1
|
* Update broken module dependenciesSimon Warta2015-06-191-2/+1
| | | | | | | - 'pem' needs 'codec_filt', because this is where Base64_Encoder lives - 'codec_filt' needs 'base64', bacause Base64_Encoder uses base64_encode Fixes #71
* 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.
* Hide Algorithm_Factory and use the functions in lookup.h internally.lloyd2015-03-043-37/+26
| | | | | | 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
* Movelloyd2015-02-193-0/+210
|
* Add new module `ffi` which provides a plain C interface, plus a newlloyd2015-02-164-115/+2
| | | | | | | | | | | | 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.
* Clean up root dir, remove some unneeded dependencieslloyd2015-02-0532-0/+2384