aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* The BUILD_MODE env var was not being passed through sudo by defaultlloyd2015-05-121-8/+8
| | | | | | which broke coverage testing. Instead run the setup script as the regular user and use sudo for specific commands, which seems cleaner anyway.
* Shell is not my favorite languagelloyd2015-05-122-4/+2
|
* Fix lcov scriptlloyd2015-05-111-2/+0
|
* Fix comparelloyd2015-05-111-1/+1
|
* Typolloyd2015-05-111-1/+1
|
* Add coveralls.io support based on GH #91 by cordneylloyd2015-05-113-0/+49
| | | | Move the more complex CI logic to scripts instead of yaml
* Change `make_compressor` and `make_decompressor` to return alloyd2015-05-102-39/+49
| | | | | compression type instead of the base transform class. Add some final annotations.
* Change zlib to use Z_SYNC_FLUSH instead of Z_FULL_FLUSH for flushing.lloyd2015-05-101-1/+1
| | | | | This lets flush work for decompression also, and more generally provides what an application wants from a mid-stream compression flush.
* Compression filters were not sizing buffer, causing no input tolloyd2015-05-072-11/+16
| | | | be consumed. GH #89
* Comparison was invertedlloyd2015-04-281-1/+5
|
* Add .exe suffix to MinGW and Cygwin binaries alsolloyd2015-04-273-0/+4
|
* Disable tls_client on MinGW, missing netdb.h GH#82joerg2015-04-271-1/+1
|
* Use available MinGW APIs (CryptoAPI and Unix-style fds). GH#84joerg2015-04-272-1/+3
|
* Add evbarm as platform alias for NetBSD. GH#81joerg2015-04-271-0/+1
|
* Fix spaces vs tabs in makefile template. GH#78lloyd2015-04-181-1/+1
|
* Fixlloyd2015-04-121-1/+1
|
* Remove the stray binary character making Python3 unhappy, removelloyd2015-04-121-3/+2
| | | | encoding= flags since they are not needed anymore and broke Python2.
* Add coverage checking with gcov/lcovlloyd2015-04-124-2/+9
|
* Fix code that triggers a strange MSVC 'performance warning'git2015-04-084-5/+5
| | | | Github pull 74 from Chris Desjardins
* Add new IETF ChaCha suiteslloyd2015-04-041-7/+29
|
* Key agreement was missing the return check, add it to get_pk_op insteadlloyd2015-03-291-17/+11
|
* Disable OpenSSL RSA by default until the test issues are worked outlloyd2015-03-281-2/+2
| | | | | (OpenSSL's PKCS/OAEP padding code naturally ignores our RNG, so we cannot fix the nonces for encryption).
* Cleanupslloyd2015-03-232-16/+11
|
* Avoid putting very small values in mlock memorylloyd2015-03-232-3/+9
|
* Move the signature padding schemes to the PK operation classes,lloyd2015-03-2314-366/+393
| | | | | | | | | 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.
* 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-2021-343/+169
|
* Windows fixlloyd2015-03-202-5/+4
|
* Add timeouts to HMAC_RNG entropy pollinglloyd2015-03-183-62/+63
|
* 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.
* I just now assumed configure.py --os=osx would work, and I'm probably not ↵lloyd2015-03-151-0/+1
| | | | the first.
* 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.
* 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
|
* 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.
* 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.
* 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-101-1/+1
| | | | 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.
* Cleanupslloyd2015-03-082-2/+6
|
* Add BOTAN_NOEXCEPT macro to work around missing noexcept in VS 2013.rcdailey2015-03-083-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.lloyd2015-03-088-16/+25
|
* Fix macro checks for zero_mem. Github 55lloyd2015-03-061-2/+2
|