Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix fuzzer.cpp to compile even if x509 or tls is disabled | Jack Lloyd | 2015-07-11 | 1 | -12/+31 |
| | |||||
* | Add an application to the command line providing a fuzzer entry point. | Jack Lloyd | 2015-07-11 | 1 | -0/+122 |
| | |||||
* | Avoid building tls_server on MinGW. GH #39 | Jack Lloyd | 2015-07-05 | 1 | -3/+3 |
| | |||||
* | Make ./configure.py --no-autoload --enable-modules='adler32,dlies' compile | Simon Warta | 2015-07-03 | 1 | -3/+3 |
| | |||||
* | Make Botan compile when only some modules are enabled | Simon Warta | 2015-07-03 | 18 | -31/+80 |
| | | | | Fixes #146. | ||||
* | Get rid of unused parmeter warning in credentials.h | Simon Warta | 2015-06-26 | 1 | -1/+3 |
| | |||||
* | Merge pull request #112 from cordney/increase-keygen-default-bits | Simon Warta | 2015-06-25 | 1 | -1/+1 |
|\ | | | | | Increase default keysize to 2048 bit in keygen tool | ||||
| * | Increase default keysize to 2048 bit in keygen tool | René Korthaus | 2015-06-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | The keygen tool would generate a 1024 bit RSA key by default. As 1024 bit RSA is not considered secure from todays standards, default keysize is increased to 2048 bit. | ||||
* | | Get rid of 3 unused warnings for argc | Simon Warta | 2015-06-23 | 3 | -0/+8 |
| | | | | | | | | | | - 2x use BOTAN_UNUSED when OptionParser is used - 1x argc is checked now | ||||
* | | Merge pull request #130 from webmaster128/fstream | Simon Warta | 2015-06-23 | 3 | -6/+6 |
|\ \ | | | | | | | ifstream/ostream take std::string | ||||
| * | | ifstream/ostream take std::string | Simon Warta | 2015-06-23 | 3 | -6/+6 |
| |/ | |||||
* / | Replace \n by std::endl in /src/cmd | Simon Warta | 2015-06-23 | 20 | -102/+102 |
|/ | | | | to ensure proper flusing | ||||
* | Fix various bugs found by Coverity scanner. | lloyd | 2015-05-15 | 3 | -2/+11 |
| | | | | | | | 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. | ||||
* | Disable tls_client on MinGW, missing netdb.h GH#82 | joerg | 2015-04-27 | 1 | -1/+1 |
| | |||||
* | Move the signature padding schemes to the PK operation classes, | lloyd | 2015-03-23 | 1 | -6/+3 |
| | | | | | | | | | as was previously done with encrypt/decrypt ops. One feature dropped on the floor here is previously PK_Signer by default did verification of signatures before releasing them as an measure against fault attacks. However in addition to being expensive this turned out to be difficult to implement with the new scheme. | ||||
* | Add ALPN (RFC 7301) and remove NPN | lloyd | 2015-03-20 | 2 | -17/+20 |
| | |||||
* | Comile fixes for VC 2013. Based on github pull 56 | neusdan | 2015-03-10 | 1 | -3/+2 |
| | |||||
* | Cleanups | lloyd | 2015-03-08 | 1 | -0/+4 |
| | |||||
* | Fix memory leak in TLS tests. Remove last few remaining uses of auto_ptr. | lloyd | 2015-03-08 | 4 | -4/+4 |
| | |||||
* | Hide all uses of boost filesystem in fs.cpp. Use readdir as an | lloyd | 2015-02-21 | 2 | -2/+2 |
| | | | | | alternate implementation for Unix and add some feature checks so a boost-free build of the tests and command line are possible again. | ||||
* | 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 |
| |