aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* RSA encrypt and decrypt using OpenSSLlloyd2015-03-231-0/+148
|
* Fix rare test failure in pubkey.lloyd2015-03-221-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 NPNlloyd2015-03-2024-366/+194
|
* Windows fixlloyd2015-03-202-5/+4
|
* Add timeouts to HMAC_RNG entropy pollinglloyd2015-03-183-62/+63
|
* Fix the makefile for JOMsimon2015-03-181-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 vectorslloyd2015-03-181-17/+51
|
* This check doesn't make sense as the entropy source is sharedlloyd2015-03-181-15/+6
|
* Remove the shared IO buffer from EntropySource_Accumulator.lloyd2015-03-1813-60/+51
| | | | Instead each source that needs a buffer maintains their own.
* Add a second Travis build using static lib built via amalgamation.d.neus2015-03-151-1/+5
| | | | Github pull 62.
* I just now assumed configure.py --os=osx would work, and I'm probably not ↵lloyd2015-03-151-0/+1
| | | | the first.
* Github pull 65, Use Clang on OS X when presentcordney2015-03-151-0/+3
|
* Consider AES-NI as implying SSSE3 which lets us merge two of thelloyd2015-03-153-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.lloyd2015-03-151-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 anlloyd2015-03-1413-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 functionlloyd2015-03-131-1/+1
|
* Add Travis CI integration. Github pull 60neusdan2015-03-122-5/+32
|
* Fix clmul which was broken by amalgamation ISA split.lloyd2015-03-122-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.lloyd2015-03-126-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.16lloyd2015-03-122-1/+12
|
* Avoid a ECC point multiplication in ECDSA signature verification bylloyd2015-03-121-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 bufferlloyd2015-03-112-3/+10
|
* Add BOTAN_DLL back to LibraryInitializer and move some of the implementation tolloyd2015-03-116-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 tolloyd2015-03-101-1/+1
| | | | confuse VC2013.
* Move the amalgamation generation to later in the build process solloyd2015-03-101-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 56neusdan2015-03-106-55/+25
|
* Use /usr/bin/env to find python in the install script, Python doc updateslloyd2015-03-102-8/+11
| | | | Both from Uri B to mailing list.
* Fix Python cipher update_granularity() and default_nonce_length()lloyd2015-03-093-4/+11
| | | | which were completely broken. Pointed out by Uri B on mailing list.
* Update download linklloyd2015-03-081-2/+2
|
* Update for 1.11.15 release1.11.15lloyd2015-03-081-2/+1
|
* Cleanupslloyd2015-03-083-5/+21
|
* Add BOTAN_NOEXCEPT macro to work around missing noexcept in VS 2013.rcdailey2015-03-084-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.lloyd2015-03-088-16/+25
|
* Fix macro checks for zero_mem. Github 55lloyd2015-03-061-2/+2
|
* Misc doc updatelloyd2015-03-065-260/+6
|
* Typolloyd2015-03-061-1/+1
|
* Add valgrind target in makefilelloyd2015-03-051-1/+4
|
* In Algo_Registry if a maker func fails, try the next most preferred onelloyd2015-03-055-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.lloyd2015-03-0437-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 clanglloyd2015-03-041-0/+2
|
* When comparing algorithm identifiers consider NULL and emptylloyd2015-03-042-3/+21
| | | | | parameters as equivalent. Based on a patch sent to the mailing list by Uri Blumenthal.
* Add missing includelloyd2015-03-021-0/+1
|
* Avoid requiring a system header herelloyd2015-03-021-1/+1
|
* Fix decrypt in FFI/Python. Github issue 53lloyd2015-03-016-7/+30
|
* Update for 1.11.14 release1.11.14lloyd2015-02-282-24/+58
|
* Doc updateslloyd2015-02-283-7/+47
|
* Add option to generate single amalgamation file.lloyd2015-02-281-25/+29
|
* Install the Python modulelloyd2015-02-281-16/+20
|
* Wrong functionlloyd2015-02-281-1/+1
|
* Add power8 targetlloyd2015-02-271-0/+1
|