Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add missing include | lloyd | 2015-03-02 | 1 | -0/+1 |
| | |||||
* | Avoid requiring a system header here | lloyd | 2015-03-02 | 1 | -1/+1 |
| | |||||
* | Fix decrypt in FFI/Python. Github issue 53 | lloyd | 2015-03-01 | 2 | -1/+7 |
| | |||||
* | Wrong function | lloyd | 2015-02-28 | 1 | -1/+1 |
| | |||||
* | Add specialized reducers for P-192, P-224, P-256 and P-384 | lloyd | 2015-02-26 | 7 | -55/+668 |
| | |||||
* | FFI header cleanup, small Python additions | lloyd | 2015-02-24 | 1 | -10/+16 |
| | |||||
* | Add missing include | lloyd | 2015-02-24 | 1 | -0/+1 |
| | |||||
* | Amalgamation fixes; inline the poly1305 header and :: namespace OpenSSL funcs | lloyd | 2015-02-22 | 4 | -152/+131 |
| | |||||
* | Hide all uses of boost filesystem in fs.cpp. Use readdir as an | lloyd | 2015-02-21 | 6 | -28/+110 |
| | | | | | alternate implementation for Unix and add some feature checks so a boost-free build of the tests and command line are possible again. | ||||
* | Move | lloyd | 2015-02-19 | 3 | -0/+0 |
| | |||||
* | FFI cleanups | lloyd | 2015-02-19 | 2 | -34/+29 |
| | |||||
* | Convert HKDF to the normal KDF interface | lloyd | 2015-02-18 | 3 | -62/+36 |
| | |||||
* | Modify interfaces of KDF and PBKDF to write output to an array, with | lloyd | 2015-02-18 | 19 | -339/+344 |
| | | | | higher level functions on interface handling returning a vector. | ||||
* | Get algos via lookup in case of SIMD or other optimized versions | lloyd | 2015-02-18 | 1 | -4/+2 |
| | |||||
* | Reduce the CTR_BE buffer down to just a few blocks. | lloyd | 2015-02-17 | 1 | -14/+16 |
| | | | | No performance impact afaict. | ||||
* | Python: docs, key agreement, fix bcrypt trailing null byte. | lloyd | 2015-02-16 | 3 | -61/+150 |
| | | | | Initial very incomplete pass at error return value sanity. | ||||
* | Add new module `ffi` which provides a plain C interface, plus a new | lloyd | 2015-02-16 | 12 | -11/+1476 |
| | | | | | | | | | | | | 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 to | lloyd | 2015-02-11 | 6 | -6/+14 |
| | | | | Cipher_Mode. Add missing includes in entropy sources, noticed by clang. | ||||
* | Correct includes | lloyd | 2015-02-11 | 2 | -2/+2 |
| | |||||
* | Mark modules pulling in external deps (zlib, boost, etc) as such, and | lloyd | 2015-02-06 | 6 | -6/+8 |
| | | | | | | notify the user when they are enabled. Drop botan-config, replaced by `botan config` command added in 1.11.8 | ||||
* | Remove static casts | lloyd | 2015-02-06 | 6 | -34/+28 |
| | |||||
* | Move Cipher_Mode enum out of types.h, move stream cipher mode to new header | lloyd | 2015-02-05 | 8 | -55/+72 |
| | |||||
* | Clean up root dir, remove some unneeded dependencies | lloyd | 2015-02-05 | 71 | -106/+6 |
| | |||||
* | Fix build problem with recent LZMA library. | lloyd | 2015-02-05 | 2 | -6/+7 |
| | | | | | | Fix retreival of LZMA and bzip2 compressors from make_compressor. Allow setting compression level from command line. | ||||
* | Add missing file | lloyd | 2015-02-05 | 1 | -0/+5 |
| | |||||
* | Enable OpenSSL for providing ciphers and hashes again. | lloyd | 2015-02-05 | 14 | -501/+401 |
| | |||||
* | Add missing file | lloyd | 2015-02-04 | 1 | -0/+42 |
| | |||||
* | Remove algo factory, engines, global RNG, global state, etc. | lloyd | 2015-02-04 | 194 | -3242/+1142 |
| | | | | | | | | | | | | | | | 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. | lloyd | 2015-02-03 | 51 | -1248/+879 |
| | | | | Remove global PRNG. | ||||
* | Add missing files. Remove cipher lookup from engine code. | lloyd | 2015-02-01 | 21 | -172/+284 |
| | |||||
* | Use registry also for KDF, EMSA, and EME | lloyd | 2015-01-31 | 26 | -174/+173 |
| | |||||
* | Use registry for streams and MACs. Start updating callers. | lloyd | 2015-01-31 | 38 | -253/+193 |
| | |||||
* | Use Algo_Registry also for hashes. | lloyd | 2015-01-28 | 36 | -338/+183 |
| | |||||
* | Add a runtime map of string->func() which when called return | lloyd | 2015-01-28 | 85 | -1293/+810 |
| | | | | | | | | | | | | | | | | | 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 reading | lloyd | 2015-01-27 | 14 | -92/+118 |
| | |||||
* | Reference memset via std namespace | lloyd | 2015-01-27 | 1 | -1/+1 |
| | |||||
* | Don't define overloads if there is no native uint128_t. Github 47 | lloyd | 2015-01-27 | 1 | -0/+2 |
| | |||||
* | Reference the EC point add and double algorithms used | lloyd | 2015-01-24 | 1 | -0/+8 |
| | |||||
* | Handle repeated initializations of the library better and deal with | lloyd | 2015-01-24 | 5 | -77/+60 |
| | | | | initializations across multiple threads safely. | ||||
* | Allow reducing the size of the allocated mlock pool via env variable | lloyd | 2015-01-24 | 1 | -9/+27 |
| | | | | | | (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. | ||||
* | Add Strict_Policy. Disable server initiated renegotiation by default. | lloyd | 2015-01-23 | 2 | -13/+43 |
| | |||||
* | Add support for configuring a TLS::Policy by text file | lloyd | 2015-01-23 | 5 | -109/+202 |
| | |||||
* | Avoid needless buffering when handling padding bytes | lloyd | 2015-01-23 | 1 | -4/+4 |
| | |||||
* | Centralize where string.h/cstring is included to mem_ops.h | lloyd | 2015-01-23 | 16 | -42/+32 |
| | | | | See github 42 for background | ||||
* | Amalgamation fixes | lloyd | 2015-01-23 | 5 | -32/+16 |
| | |||||
* | Remove memset_s, not implemented on any machine I can test on and | lloyd | 2015-01-23 | 1 | -7/+5 |
| | | | | | | | | problematic for requiring a special define before the first include of string.h. Instead optionally call memset via a volatile function pointer as a faster alternative to byte at a time writes. Github 42, 45 | ||||
* | Update TLS OCB ciphersuites to match draft-zauner-tls-aes-ocb-00 | lloyd | 2015-01-21 | 3 | -3/+47 |
| | | | | | and enable them in the default build, though still not enabled in the runtime policy. | ||||
* | Add SipHash | lloyd | 2015-01-11 | 4 | -0/+179 |
| | |||||
* | Remove DES startup selftests | lloyd | 2015-01-11 | 1 | -19/+0 |
| | |||||
* | Remove SSLv3 and handling of SSLv2 client hellos. | lloyd | 2015-01-11 | 26 | -559/+38 |
| |