aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add missing includelloyd2015-03-021-0/+1
|
* Avoid requiring a system header herelloyd2015-03-021-1/+1
|
* Fix decrypt in FFI/Python. Github issue 53lloyd2015-03-016-7/+30
|
* Update for 1.11.14 release1.11.14lloyd2015-02-282-24/+58
|
* Doc updateslloyd2015-02-283-7/+47
|
* Add option to generate single amalgamation file.lloyd2015-02-281-25/+29
|
* Install the Python modulelloyd2015-02-281-16/+20
|
* Wrong functionlloyd2015-02-281-1/+1
|
* Add power8 targetlloyd2015-02-271-0/+1
|
* Add specialized reducers for P-192, P-224, P-256 and P-384lloyd2015-02-268-55/+674
|
* FFI header cleanup, small Python additionslloyd2015-02-242-13/+35
|
* Add missing includelloyd2015-02-241-0/+1
|
* Split amalagamation into ISA specific objectslloyd2015-02-226-52/+83
|
* Amalgamation fixes; inline the poly1305 header and :: namespace OpenSSL funcslloyd2015-02-224-152/+131
|
* Hide all uses of boost filesystem in fs.cpp. Use readdir as anlloyd2015-02-2117-94/+157
| | | | | alternate implementation for Unix and add some feature checks so a boost-free build of the tests and command line are possible again.
* Python cleanupslloyd2015-02-191-12/+17
|
* Update relnotes and todo, fix python signaturelloyd2015-02-193-38/+62
|
* Movelloyd2015-02-193-0/+0
|
* FFI cleanupslloyd2015-02-192-34/+29
|
* Convert HKDF to the normal KDF interfacelloyd2015-02-188-194/+82
|
* Modify interfaces of KDF and PBKDF to write output to an array, withlloyd2015-02-1820-344/+349
| | | | higher level functions on interface handling returning a vector.
* Get algos via lookup in case of SIMD or other optimized versionslloyd2015-02-181-4/+2
|
* Reduce the CTR_BE buffer down to just a few blocks.lloyd2015-02-172-14/+18
| | | | No performance impact afaict.
* Python: docs, key agreement, fix bcrypt trailing null byte.lloyd2015-02-166-85/+452
| | | | Initial very incomplete pass at error return value sanity.
* Add new module `ffi` which provides a plain C interface, plus a newlloyd2015-02-1633-1137/+2140
| | | | | | | | | | | | 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.
* Add version_cstr (returns const char*) and move tag_size from AEAD tolloyd2015-02-116-6/+14
| | | | Cipher_Mode. Add missing includes in entropy sources, noticed by clang.
* Correct includeslloyd2015-02-112-2/+2
|
* Mark modules pulling in external deps (zlib, boost, etc) as such, andlloyd2015-02-0613-125/+63
| | | | | | notify the user when they are enabled. Drop botan-config, replaced by `botan config` command added in 1.11.8
* Update ignoreslloyd2015-02-061-10/+1
|
* Remove static castslloyd2015-02-066-34/+28
|
* Move Cipher_Mode enum out of types.h, move stream cipher mode to new headerlloyd2015-02-058-55/+72
|
* Clean up root dir, remove some unneeded dependencieslloyd2015-02-0571-106/+6
|
* Fix build problem with recent LZMA library.lloyd2015-02-053-10/+11
| | | | | | Fix retreival of LZMA and bzip2 compressors from make_compressor. Allow setting compression level from command line.
* Add missing filelloyd2015-02-051-0/+5
|
* Enable OpenSSL for providing ciphers and hashes again.lloyd2015-02-0517-518/+418
|
* Add missing filelloyd2015-02-041-0/+42
|
* Remove algo factory, engines, global RNG, global state, etc.lloyd2015-02-04217-3359/+1206
| | | | | | | | | | | | | | | 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).
* Convert PK operations to using Algo_Registry instead of Engine.lloyd2015-02-0351-1248/+879
| | | | Remove global PRNG.
* Add missing files. Remove cipher lookup from engine code.lloyd2015-02-0121-172/+284
|
* Use registry also for KDF, EMSA, and EMElloyd2015-01-3127-178/+175
|
* Use registry for streams and MACs. Start updating callers.lloyd2015-01-3138-253/+193
|
* Use Algo_Registry also for hashes.lloyd2015-01-2836-338/+183
|
* Add a runtime map of string->func() which when called returnlloyd2015-01-2889-1310/+835
| | | | | | | | | | | | | | | | | Transforms and BlockCiphers. Registration for all types is done at startup but is very cheap as just a std::function and a std::map entry are created, no actual objects are created until needed. This is a huge improvement over Algorithm_Factory which used T::clone() as the function and thus kept a prototype object of each type in memory. Replace existing lookup mechanisms for ciphers, AEADs, and compression to use the transform lookup. The existing Engine framework remains in place for BlockCipher, but the engines now just call to the registry instead of having hardcoded lookups. s/Transformation/Transform/ with typedefs for compatability. Remove lib/selftest code (for runtime selftesting): not the right approach.
* Add typedefs for function signatures/types used in TLS for easier readinglloyd2015-01-2716-135/+171
|
* Reference memset via std namespacelloyd2015-01-271-1/+1
|
* Don't define overloads if there is no native uint128_t. Github 47lloyd2015-01-271-0/+2
|
* Reference the EC point add and double algorithms usedlloyd2015-01-241-0/+8
|
* Handle repeated initializations of the library better and deal withlloyd2015-01-246-77/+68
| | | | initializations across multiple threads safely.
* Allow reducing the size of the allocated mlock pool via env variablelloyd2015-01-242-9/+36
| | | | | | (BOTAN_MLOCK_POOL_SIZE, specified in decimal KB). Currently we read this even when setuid as the worst a user could do is disable mlock, which they can already do via ulimits.
* Fix list formattinglloyd2015-01-241-20/+21
|