aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/misc
Commit message (Collapse)AuthorAgeFilesLines
* Build fixJack Lloyd2015-10-142-2/+3
|
* Add null pointer check to pbes2_decrypt, fix message in pbes2_encryptJack Lloyd2015-10-141-1/+3
|
* Move DataSource to utils and rewrite PEM encoding to avoid filtersJack Lloyd2015-10-142-12/+31
| | | | | Removes filters as as an internal dependency pretty much entirely (outside of some dusty corners in misc).
* Add missing null pointer check to PBES2Jack Lloyd2015-10-111-0/+3
|
* Avoid concatination of charsSimon Warta2015-09-221-4/+4
| | | | | | | Ever tried? auto str = "some long string"; auto str2 = str + '\n'; It's not with the brainfuck finding the bug.
* Remove use of lookup.h in favor of new T::create API.Jack Lloyd2015-09-215-25/+24
|
* Internal header cleanupsJack Lloyd2015-09-193-4/+2
| | | | Only user-visible change is the removal of get_byte.h
* 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