aboutsummaryrefslogtreecommitdiff
path: root/openssl/src/crypto
Commit message (Collapse)AuthorAgeFilesLines
* Flatten crypto moduleSteven Fackler2016-10-2212-2713/+0
|
* Properly propagate panicsSteven Fackler2016-10-211-8/+11
|
* Update BigNumRefSteven Fackler2016-10-212-8/+8
|
* Callback cleanupSteven Fackler2016-10-181-8/+8
|
* Finish BN overhaulSteven Fackler2016-10-161-1/+1
|
* Finish crypto error cleanupSteven Fackler2016-10-162-23/+21
|
* More error cleanupSteven Fackler2016-10-165-158/+170
| | | | Also allocation free RSA
* Continue error handling cleanupSteven Fackler2016-10-163-183/+131
| | | | Also overhaul/clean up pkcs5 internals
* De-enumify PaddingSteven Fackler2016-10-151-23/+23
|
* De-enumify CipherSteven Fackler2016-10-152-79/+142
|
* De-enumify message digestsSteven Fackler2016-10-154-89/+97
|
* Migrate DSA sign/verify to EVP APIsSteven Fackler2016-10-153-110/+71
|
* Fix EVP_DigestVerifyFinal version supportSteven Fackler2016-10-151-3/+14
|
* Add examples to crypto::signSteven Fackler2016-10-151-0/+56
|
* Fix typoSteven Fackler2016-10-151-1/+1
|
* Distinguish between verification errors and "other" errors.Steven Fackler2016-10-151-8/+15
|
* Fix signature of EVP_DigestVerifyFinal on 1.0.1Steven Fackler2016-10-151-1/+1
|
* Support HMAC PKeys and remove hmac moduleSteven Fackler2016-10-154-567/+87
|
* Remove old RSA sign and verify methodsSteven Fackler2016-10-152-87/+1
|
* Signature and verification supportSteven Fackler2016-10-152-5/+207
|
* Remove link_name usageSteven Fackler2016-10-141-3/+8
|
* Clean up featuresSteven Fackler2016-10-131-33/+0
|
* Add support for OpenSSL 1.1.0Alex Crichton2016-10-128-116/+323
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit is relatively major refactoring of the `openssl-sys` crate as well as the `openssl` crate itself. The end goal here was to support OpenSSL 1.1.0, and lots of other various tweaks happened along the way. The major new features are: * OpenSSL 1.1.0 is supported * OpenSSL 0.9.8 is no longer supported (aka all OSX users by default) * All FFI bindings are verified with the `ctest` crate (same way as the `libc` crate) * CI matrixes are vastly expanded to include 32/64 of all platforms, more OpenSSL version coverage, as well as ARM coverage on Linux * The `c_helpers` module is completely removed along with the `gcc` dependency. * The `openssl-sys` build script was completely rewritten * Now uses `OPENSSL_DIR` to find the installation, not include/lib env vars. * Better error messages for mismatched versions. * Better error messages for failing to find OpenSSL on a platform (more can be done here) * Probing of OpenSSL build-time configuration to inform the API of the `*-sys` crate. * Many Cargo features have been removed as they're now enabled by default. As this is a breaking change to both the `openssl` and `openssl-sys` crates this will necessitate a major version bump of both. There's still a few more API questions remaining but let's hash that out on a PR! Closes #452
* Rename NoPadding to NoneSteven Fackler2016-10-071-5/+5
|
* Rename EncryptionPadding to PaddingSteven Fackler2016-10-071-17/+17
|
* Removed max_size; removed all encrypt/decrypt methods except private/public ↵Andrei Oprisan2016-10-071-69/+26
| | | | encrypt/decrypt which take the padding
* added try_ssl_size, which handles -1 as error and returns the value ↵Andrei Oprisan2016-10-051-0/+194
| | | | | | | | otherwise; added RSA private_decrypt and public encrypt lift_ssl_size Added public/private encrypt/decrypt to RSA from the original commit + tests; added try_ssl_returns_size macro to check for -1 in case of SSL functions which return size
* Make sure private component exists when signingSteven Fackler2016-09-291-0/+1
| | | | Closes #457
* Fix password callback on ARMSteven Fackler2016-09-081-1/+1
| | | Closes #449
* Docs for pkcs12Steven Fackler2016-08-141-0/+2
|
* PKCS #12 supportSteven Fackler2016-08-141-2/+53
|
* Start on PKCS #12 supportSteven Fackler2016-08-142-0/+40
|
* Mangle c helper functionsSteven Fackler2016-08-131-12/+12
| | | | | | | We want to make sure that multiple openssl versions can coexist in the same dependency tree. Closes #438
* Method renamesSteven Fackler2016-08-103-22/+22
|
* TweaksSteven Fackler2016-08-102-17/+10
|
* More API cleanupSteven Fackler2016-08-101-10/+21
|
* Asn1 and Bignum renamesSteven Fackler2016-08-102-9/+9
|
* Make hmac support optional and remove openssl-sys-extrasSteven Fackler2016-08-092-17/+20
| | | | rust-openssl no longer requires headers for the default feature set.
* Docs for Crypter::newSteven Fackler2016-08-081-0/+6
|
* Fix size checkSteven Fackler2016-08-081-4/+12
| | | | Decryption requires an extra byte of space
* symm reformSteven Fackler2016-08-081-106/+142
|
* Copy over getter macrosSteven Fackler2016-08-082-6/+6
|
* Remove symm_internalSteven Fackler2016-08-084-52/+76
|
* Clean up RSA and DSA accessorsSteven Fackler2016-08-082-58/+74
|
* Fix build on 1.9Steven Fackler2016-08-071-2/+2
|
* Add PKey::from_rsaSteven Fackler2016-08-071-5/+9
|
* Add RSA::generateSteven Fackler2016-08-071-13/+27
|
* pkcs5 reformSteven Fackler2016-08-071-75/+44
|
* PKey reformSteven Fackler2016-08-071-748/+30
| | | | | This deletes the vast majority of PKey's API, since it was weirdly tied to RSA and super broken.
* Fix RSA::verifySteven Fackler2016-08-071-17/+14
| | | | It never returns -1 - all errors are indicated by 0