Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | RSA encrypt and decrypt using OpenSSL | lloyd | 2015-03-23 | 1 | -0/+148 |
| | |||||
* | Fix rare test failure in pubkey. | lloyd | 2015-03-22 | 1 | -1/+4 |
| | | | | | | | | The pubkey encrypt/decrypt test function tests various randomly corrupted ciphertexts to ensure none of them decrypt. On rare occasions PKCS #1 v1.5 does legitimately fail this test, but, well, PKCS v1.5 isn't a very good padding scheme. When this test fails and the pad is PKCS, log the values but don't actually fail the test since this is an expected behavior of PKCS padding. | ||||
* | Add ALPN (RFC 7301) and remove NPN | lloyd | 2015-03-20 | 24 | -366/+194 |
| | |||||
* | Windows fix | lloyd | 2015-03-20 | 2 | -5/+4 |
| | |||||
* | Add timeouts to HMAC_RNG entropy polling | lloyd | 2015-03-18 | 3 | -62/+63 |
| | |||||
* | Fix the makefile for JOM | simon | 2015-03-18 | 1 | -1/+2 |
| | | | | | | JOM is a nmake-compatible tool for Windows which supports -jN for parallel builds. JOM's $? variable is broken, but this workaround is simple. Github pull 66 from Simon Warta. | ||||
* | Add HKDF(SHA-512) test vectors | lloyd | 2015-03-18 | 1 | -17/+51 |
| | |||||
* | This check doesn't make sense as the entropy source is shared | lloyd | 2015-03-18 | 1 | -15/+6 |
| | |||||
* | 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. | ||||
* | Add a second Travis build using static lib built via amalgamation. | d.neus | 2015-03-15 | 1 | -1/+5 |
| | | | | Github pull 62. | ||||
* | I just now assumed configure.py --os=osx would work, and I'm probably not ↵ | lloyd | 2015-03-15 | 1 | -0/+1 |
| | | | | the first. | ||||
* | Github pull 65, Use Clang on OS X when present | cordney | 2015-03-15 | 1 | -0/+3 |
| | |||||
* | 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. | ||||
* | Get the ordering of operations correct in the build. | lloyd | 2015-03-15 | 1 | -273/+232 |
| | | | | | | If we're building via amalgamation then we need to edit what goes into the makefile. That requires the amalgamation run before the makefile since we don't know how many files there will be until we do the scan. | ||||
* | 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 |
| | |||||
* | Add Travis CI integration. Github pull 60 | neusdan | 2015-03-12 | 2 | -5/+32 |
| | |||||
* | 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. | ||||
* | Bump build to 1.11.16 | lloyd | 2015-03-12 | 2 | -1/+12 |
| | |||||
* | 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. | ||||
* | Move the amalgamation generation to later in the build process so | lloyd | 2015-03-10 | 1 | -3/+3 |
| | | | | | build.h exists. Otherwise an amalg build with a clean working dir will fail because build.h is not found. Github issue 57. | ||||
* | 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 | 2 | -8/+11 |
| | | | | 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. | ||||
* | Update download link | lloyd | 2015-03-08 | 1 | -2/+2 |
| | |||||
* | Update for 1.11.15 release1.11.15 | lloyd | 2015-03-08 | 1 | -2/+1 |
| | |||||
* | Cleanups | lloyd | 2015-03-08 | 3 | -5/+21 |
| | |||||
* | Add BOTAN_NOEXCEPT macro to work around missing noexcept in VS 2013. | rcdailey | 2015-03-08 | 4 | -6/+17 |
| | | | | 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 |
| | |||||
* | Misc doc update | lloyd | 2015-03-06 | 5 | -260/+6 |
| | |||||
* | 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 | 5 | -35/+63 |
| | | | | | | | | 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 | 37 | -202/+209 |
| | | | | | | 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 | 2 | -3/+21 |
| | | | | | 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 | 6 | -7/+30 |
| | |||||
* | Update for 1.11.14 release1.11.14 | lloyd | 2015-02-28 | 2 | -24/+58 |
| | |||||
* | Doc updates | lloyd | 2015-02-28 | 3 | -7/+47 |
| | |||||
* | Add option to generate single amalgamation file. | lloyd | 2015-02-28 | 1 | -25/+29 |
| | |||||
* | 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 |
| |