Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Mark modules pulling in external deps (zlib, boost, etc) as such, and | lloyd | 2015-02-06 | 1 | -1/+1 |
| | | | | | | notify the user when they are enabled. Drop botan-config, replaced by `botan config` command added in 1.11.8 | ||||
* | Fix build problem with recent LZMA library. | lloyd | 2015-02-05 | 1 | -4/+4 |
| | | | | | | Fix retreival of LZMA and bzip2 compressors from make_compressor. Allow setting compression level from command line. | ||||
* | Enable OpenSSL for providing ciphers and hashes again. | lloyd | 2015-02-05 | 1 | -10/+13 |
| | |||||
* | Remove algo factory, engines, global RNG, global state, etc. | lloyd | 2015-02-04 | 4 | -18/+8 |
| | | | | | | | | | | | | | | | 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). | ||||
* | Add a runtime map of string->func() which when called return | lloyd | 2015-01-28 | 2 | -5/+17 |
| | | | | | | | | | | | | | | | | | 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 | 1 | -12/+16 |
| | |||||
* | Fix Clang compile | lloyd | 2015-01-23 | 1 | -1/+1 |
| | |||||
* | Centralize where string.h/cstring is included to mem_ops.h | lloyd | 2015-01-23 | 2 | -2/+0 |
| | | | | See github 42 for background | ||||
* | Fix | lloyd | 2015-01-11 | 1 | -2/+1 |
| | |||||
* | Better to have a RNG state per connection and avoid lock contention | lloyd | 2015-01-11 | 1 | -18/+5 |
| | |||||
* | Proxy tweaks | lloyd | 2015-01-11 | 1 | -3/+16 |
| | |||||
* | Have TLS server take certificate and key from command line | lloyd | 2015-01-11 | 4 | -395/+119 |
| | |||||
* | Convert the asio server from a weird example server to a generic proxy server. | lloyd | 2015-01-10 | 2 | -326/+592 |
| | |||||
* | Ensure all files have copyright and license info. | lloyd | 2015-01-10 | 31 | -10/+131 |
| | | | | | Update license header line to specify the terms and refer to the file, neither of which it included before. | ||||
* | Make the help output slightly more helpful | lloyd | 2015-01-04 | 1 | -1/+1 |
| | |||||
* | Add Curve25519 based on curve25519-donna by Adam Langley. | lloyd | 2014-12-27 | 2 | -0/+65 |
| | | | | | | This uses only the c64 version from curve25519-donna; on systems that don't have a native uint128_t type, a donna128 type stands in for just enough 128-bit operations to satisfy donna.cpp | ||||
* | Remove obsolete example | lloyd | 2014-12-22 | 1 | -103/+0 |
| | |||||
* | Don't crash if /usr/share/ca-certificates doesn't exist | lloyd | 2014-12-10 | 1 | -1/+5 |
| | |||||
* | Implement a strength estimator for McEliece keys based on HyMES version | lloyd | 2014-12-09 | 1 | -3/+2 |
| | |||||
* | Figure out which decompressor to use based on the input file extension. | lloyd | 2014-12-09 | 1 | -5/+25 |
| | | | | | | | | Rename Bzip to Bzip2, and split Zlib and Deflate compressors into two completely distinct types rather than using a bool flag to the Zlib constructor. Ignore null pointers to our free implementation (LZMA does this). | ||||
* | Cleanup for pbe name parsing in PKCS #8 encoder | lloyd | 2014-12-08 | 1 | -2/+3 |
| | |||||
* | Add a basic speed test for McEliece | lloyd | 2014-12-08 | 1 | -0/+71 |
| | |||||
* | Add an easy way to directly use the system PRNG. | lloyd | 2014-12-02 | 1 | -0/+8 |
| | |||||
* | Add gzip compression transform and compress command line prog. | lloyd | 2014-11-19 | 2 | -3/+82 |
| | |||||
* | A TLS Server can now process either TLS or DTLS but not either, | lloyd | 2014-11-15 | 1 | -1/+2 |
| | | | | | with the setting set in the constructor. This prevents various surprising things from happening to applications and simplifies record processing. | ||||
* | Add missing file | lloyd | 2014-11-12 | 1 | -0/+50 |
| | |||||
* | Command line prog cleanup | lloyd | 2014-11-12 | 31 | -522/+478 |
| | |||||
* | Replace Transformatio::nstart with start_raw so we can do a full set | lloyd | 2014-11-05 | 1 | -1/+1 |
| | | | | of overloads in the base class with the same name. | ||||
* | Avoid crashing if user types before handshake completes | lloyd | 2014-11-03 | 1 | -8/+9 |
| | |||||
* | Various small fixes and cleanups, new is_prime util | lloyd | 2014-11-03 | 5 | -9/+58 |
| | |||||
* | Add TLS fallback signalling (draft-ietf-tls-downgrade-scsv-00) | lloyd | 2014-10-31 | 1 | -5/+2 |
| | |||||
* | Remove stub for testing app | lloyd | 2014-04-27 | 2 | -2/+0 |
| | |||||
* | Any fixed MR iterations is probably wrong for somebody. Allow the user | lloyd | 2014-04-25 | 3 | -6/+8 |
| | | | | | | to specify a probability as well as if n was randomly chosen or not. If the input is random use a better bounds to reduce the number of needed tests. | ||||
* | Add rng command which can dump RNG outputs or raw entropy samples | lloyd | 2014-03-22 | 3 | -0/+53 |
| | |||||
* | Add --destdir option to configure.py | lloyd | 2014-02-13 | 1 | -1/+1 |
| | |||||
* | Add config and version subcommands | lloyd | 2014-02-13 | 1 | -35/+78 |
| | |||||
* | Fix warnings | lloyd | 2014-02-13 | 2 | -4/+5 |
| | |||||
* | Cleanups | lloyd | 2014-02-13 | 3 | -23/+43 |
| | |||||
* | Update Clang flags. Remove unneeded includes of init.h | lloyd | 2014-02-09 | 1 | -1/+0 |
| | |||||
* | More fixes for minified builds | lloyd | 2014-02-09 | 1 | -0/+5 |
| | |||||
* | Fix minimized builds. Patch by Markus Wanner sent to botan-devel | lloyd | 2014-02-08 | 10 | -5/+31 |
| | |||||
* | Inline time_op and avoid nonce recalc with every AEAD call | lloyd | 2014-02-02 | 1 | -8/+23 |
| | |||||
* | Warning fixes, and hook default algo list into speed command | lloyd | 2014-01-24 | 4 | -16/+12 |
| | |||||
* | Remove double init | lloyd | 2014-01-21 | 1 | -1/+0 |
| | |||||
* | More unique_ptr, also cleanup MGF1 usage | lloyd | 2014-01-18 | 1 | -1/+1 |
| | |||||
* | Split off the keyed interfaces of transform to Keyed_Transform | lloyd | 2014-01-18 | 2 | -5/+6 |
| | | | | | Remove the unhelpful 'Algorithm' base class which had previously acted more or less as a global base. | ||||
* | Split up docs into the reference manual, the website, and everything else. | lloyd | 2014-01-10 | 7 | -60/+84 |
| | | | | | | | | | | | Add `website` target to makefile. Some progress towards fixing minimized builds. TLS now hard requires ECDSA and GCM since otherwise a minimized build has only insecure options. Remove boost_thread dependency in command line tool | ||||
* | Split up test vectors into per-algo files and app into botan-test for | lloyd | 2014-01-10 | 30 | -0/+4087 |
the tests and botan for everything else. |