Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove the shared IO buffer from EntropySource_Accumulator. | lloyd | 2015-03-18 | 13 | -60/+51 |
| | | | | Instead each source that needs a buffer maintains their own. | ||||
* | I just now assumed configure.py --os=osx would work, and I'm probably not ↵ | lloyd | 2015-03-15 | 1 | -0/+1 |
| | | | | the first. | ||||
* | Consider AES-NI as implying SSSE3 which lets us merge two of the | lloyd | 2015-03-15 | 3 | -3/+3 |
| | | | | | | amalgamation objects (aes_ni and clmul). The real advantage is for the static link, as GCM will pull in clmul via its reference, which is sufficient to also pull the AES impl into the link. | ||||
* | In PK encrypt/decrypt move pad calls to the operation. This allows an | lloyd | 2015-03-14 | 13 | -154/+284 |
| | | | | | | | | | op to use a padding scheme outside of our knowledge or control, for instance an OpenSSL RSA op which uses OpenSSL's padding code. Similar change for key agreement and KDFs for the same reason. Add an EME_Raw type; previously this operation was implicit in the code in pubkey.cpp | ||||
* | Specify class name for static function | lloyd | 2015-03-13 | 1 | -1/+1 |
| | |||||
* | Fix clmul which was broken by amalgamation ISA split. | lloyd | 2015-03-12 | 2 | -2/+2 |
| | | | | | Change GCM update granularity to BS (16) which is sufficient for GCM and more convenient to callers | ||||
* | Externalize the state of a RFC 6979 nonce computation. | lloyd | 2015-03-12 | 6 | -32/+94 |
| | | | | | | | | | | | | This lets you amortize quite a few memory allocations (RNG, various BigInts, etc) over many nonce generations. Change generate_rfc6979_nonce to just instantiate one of these states, call the function once, and return. This doesn't have any additional overhead versus the previous implementation of this function. Fix HMAC_DRBG to correctly reset its state to its starting position when you call clear() on it. | ||||
* | Avoid a ECC point multiplication in ECDSA signature verification by | lloyd | 2015-03-12 | 1 | -14/+20 |
| | | | | | | | distributing w into the exponents. This is at least a 50% speedup across all keysizes on my laptop. Optimization pointed out by Dr. Falko Strenzke on the mailing list. | ||||
* | Add BigInt::encode_1363 writing to specified buffer | lloyd | 2015-03-11 | 2 | -3/+10 |
| | |||||
* | Add BOTAN_DLL back to LibraryInitializer and move some of the implementation to | lloyd | 2015-03-11 | 6 | -10/+36 |
| | | | | | | | a source file. Without BOTAN_DLL the LibraryInitializer was removed entirely from the list of symbols which is not desired. Add some casts to avoid scary sounding but (upon review) harmless warnings from MSVC | ||||
* | LibraryInitializer being dllexport but completely inline seems to | lloyd | 2015-03-10 | 1 | -1/+1 |
| | | | | confuse VC2013. | ||||
* | Comile fixes for VC 2013. Based on github pull 56 | neusdan | 2015-03-10 | 6 | -55/+25 |
| | |||||
* | Use /usr/bin/env to find python in the install script, Python doc updates | lloyd | 2015-03-10 | 1 | -1/+1 |
| | | | | Both from Uri B to mailing list. | ||||
* | Fix Python cipher update_granularity() and default_nonce_length() | lloyd | 2015-03-09 | 3 | -4/+11 |
| | | | | which were completely broken. Pointed out by Uri B on mailing list. | ||||
* | Cleanups | lloyd | 2015-03-08 | 2 | -2/+6 |
| | |||||
* | Add BOTAN_NOEXCEPT macro to work around missing noexcept in VS 2013. | rcdailey | 2015-03-08 | 3 | -6/+14 |
| | | | | Based on github pull req 23 by Robert Daily. | ||||
* | Fix memory leak in TLS tests. Remove last few remaining uses of auto_ptr. | lloyd | 2015-03-08 | 8 | -16/+25 |
| | |||||
* | Fix macro checks for zero_mem. Github 55 | lloyd | 2015-03-06 | 1 | -2/+2 |
| | |||||
* | Typo | lloyd | 2015-03-06 | 1 | -1/+1 |
| | |||||
* | Add valgrind target in makefile | lloyd | 2015-03-05 | 1 | -1/+4 |
| | |||||
* | In Algo_Registry if a maker func fails, try the next most preferred one | lloyd | 2015-03-05 | 4 | -35/+60 |
| | | | | | | | | instead of bailing out immediately. Rename the 'builtin' provider to 'base' since really they are all built in. Fix MARK-4 when OpenSSL was enabled - it did not respect the skip param. | ||||
* | Hide Algorithm_Factory and use the functions in lookup.h internally. | lloyd | 2015-03-04 | 36 | -202/+207 |
| | | | | | | 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 | ||||
* | Add missing includes, broke clang | lloyd | 2015-03-04 | 1 | -0/+2 |
| | |||||
* | When comparing algorithm identifiers consider NULL and empty | lloyd | 2015-03-04 | 1 | -3/+17 |
| | | | | | parameters as equivalent. Based on a patch sent to the mailing list by Uri Blumenthal. | ||||
* | 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 | 3 | -6/+23 |
| | |||||
* | Install the Python module | lloyd | 2015-02-28 | 1 | -16/+20 |
| | |||||
* | Wrong function | lloyd | 2015-02-28 | 1 | -1/+1 |
| | |||||
* | Add power8 target | lloyd | 2015-02-27 | 1 | -0/+1 |
| | |||||
* | Add specialized reducers for P-192, P-224, P-256 and P-384 | lloyd | 2015-02-26 | 8 | -55/+674 |
| | |||||
* | FFI header cleanup, small Python additions | lloyd | 2015-02-24 | 2 | -13/+35 |
| | |||||
* | Add missing include | lloyd | 2015-02-24 | 1 | -0/+1 |
| | |||||
* | Split amalagamation into ISA specific objects | lloyd | 2015-02-22 | 4 | -5/+9 |
| | |||||
* | 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 | 16 | -89/+141 |
| | | | | | alternate implementation for Unix and add some feature checks so a boost-free build of the tests and command line are possible again. | ||||
* | Python cleanups | lloyd | 2015-02-19 | 1 | -12/+17 |
| | |||||
* | 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 | 8 | -194/+82 |
| | |||||
* | Modify interfaces of KDF and PBKDF to write output to an array, with | lloyd | 2015-02-18 | 20 | -344/+349 |
| | | | | 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 | 4 | -84/+228 |
| | | | | 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 | 28 | -1087/+2014 |
| | | | | | | | | | | | | 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 | 10 | -66/+11 |
| | | | | | | 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 |
| |