aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/vendor/openssl
Commit message (Collapse)AuthorAgeFilesLines
* Break up openssl providerJack Lloyd2015-10-197-940/+0
| | | | | | For RSA, RC4, and ECDSA put the openssl versions in the same directory as the base version. They just rely on a macro check for the openssl module to test for the desire to use OpenSSL.
* Add support for RSA signing and verification via OpenSSLJack Lloyd2015-10-141-13/+131
|
* Expose providers for public key operationsJack Lloyd2015-10-141-4/+5
| | | | | | | | For PK_Encryptor and company they are requested via a new provider param to the constructors. The speed command gets a --provider option so you can see benchmark results with the different versions.
* Fix includes for opensslJack Lloyd2015-09-193-0/+4
|
* Internal header cleanupsJack Lloyd2015-09-193-4/+3
| | | | Only user-visible change is the removal of get_byte.h
* Fix OpenSSL RSA to better handle no padding mode.Jack Lloyd2015-08-293-10/+45
| | | | | | In raw mode pad out plaintext inputs with zeros as needed as otherwise OpenSSL rejects the input as too small. And when decrypting, strip leading zeros to match the behavior of the base implementation.
* Reverse the algorithm priority orderingJack Lloyd2015-08-295-6/+19
| | | | | | Previously 0 was the highest priority and 255 was the lowest. But this is really quite confusing, instead treat 0 as lowest and 255 as highest so normal integer intuitions apply.
* Fix minimized builds and amalgamation buildsJack Lloyd2015-08-294-21/+35
| | | | | | | | No need to include the pk_utils.h header until we know ECDSA is enabled in the build. Move OpenSSL_Error to an internal header, was previously defined twice when all sources were combined.
* Add ECDSA provider using OpenSSLJack Lloyd2015-08-281-0/+217
| | | | | Unfortunately the signer cannot be tested in current framework because OpenSSL does not use RFC 6979 deterministic signatures.
* Compile openssl RSA only when botan/rsa.h is availableSimon Warta2015-07-121-0/+6
|
* lib/vendor: Convert &vec[0] to vec.data()Simon Warta2015-06-232-6/+6
|
* 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).
* RSA encrypt and decrypt using OpenSSLlloyd2015-03-231-0/+148
|
* In Algo_Registry if a maker func fails, try the next most preferred onelloyd2015-03-051-2/+6
| | | | | | | | 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.
* Amalgamation fixes; inline the poly1305 header and :: namespace OpenSSL funcslloyd2015-02-221-2/+2
|
* Mark modules pulling in external deps (zlib, boost, etc) as such, andlloyd2015-02-061-1/+1
| | | | | | notify the user when they are enabled. Drop botan-config, replaced by `botan config` command added in 1.11.8
* Add missing filelloyd2015-02-051-0/+5
|
* Enable OpenSSL for providing ciphers and hashes again.lloyd2015-02-053-0/+376