| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Flatten crypto module | Steven Fackler | 2016-10-22 | 12 | -2713/+0 |
| | | |||||
| * | Properly propagate panics | Steven Fackler | 2016-10-21 | 1 | -8/+11 |
| | | |||||
| * | Update BigNumRef | Steven Fackler | 2016-10-21 | 2 | -8/+8 |
| | | |||||
| * | Callback cleanup | Steven Fackler | 2016-10-18 | 1 | -8/+8 |
| | | |||||
| * | Finish BN overhaul | Steven Fackler | 2016-10-16 | 1 | -1/+1 |
| | | |||||
| * | Finish crypto error cleanup | Steven Fackler | 2016-10-16 | 2 | -23/+21 |
| | | |||||
| * | More error cleanup | Steven Fackler | 2016-10-16 | 5 | -158/+170 |
| | | | | | Also allocation free RSA | ||||
| * | Continue error handling cleanup | Steven Fackler | 2016-10-16 | 3 | -183/+131 |
| | | | | | Also overhaul/clean up pkcs5 internals | ||||
| * | De-enumify Padding | Steven Fackler | 2016-10-15 | 1 | -23/+23 |
| | | |||||
| * | De-enumify Cipher | Steven Fackler | 2016-10-15 | 2 | -79/+142 |
| | | |||||
| * | De-enumify message digests | Steven Fackler | 2016-10-15 | 4 | -89/+97 |
| | | |||||
| * | Migrate DSA sign/verify to EVP APIs | Steven Fackler | 2016-10-15 | 3 | -110/+71 |
| | | |||||
| * | Fix EVP_DigestVerifyFinal version support | Steven Fackler | 2016-10-15 | 1 | -3/+14 |
| | | |||||
| * | Add examples to crypto::sign | Steven Fackler | 2016-10-15 | 1 | -0/+56 |
| | | |||||
| * | Fix typo | Steven Fackler | 2016-10-15 | 1 | -1/+1 |
| | | |||||
| * | Distinguish between verification errors and "other" errors. | Steven Fackler | 2016-10-15 | 1 | -8/+15 |
| | | |||||
| * | Fix signature of EVP_DigestVerifyFinal on 1.0.1 | Steven Fackler | 2016-10-15 | 1 | -1/+1 |
| | | |||||
| * | Support HMAC PKeys and remove hmac module | Steven Fackler | 2016-10-15 | 4 | -567/+87 |
| | | |||||
| * | Remove old RSA sign and verify methods | Steven Fackler | 2016-10-15 | 2 | -87/+1 |
| | | |||||
| * | Signature and verification support | Steven Fackler | 2016-10-15 | 2 | -5/+207 |
| | | |||||
| * | Remove link_name usage | Steven Fackler | 2016-10-14 | 1 | -3/+8 |
| | | |||||
| * | Clean up features | Steven Fackler | 2016-10-13 | 1 | -33/+0 |
| | | |||||
| * | Add support for OpenSSL 1.1.0 | Alex Crichton | 2016-10-12 | 8 | -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 None | Steven Fackler | 2016-10-07 | 1 | -5/+5 |
| | | |||||
| * | Rename EncryptionPadding to Padding | Steven Fackler | 2016-10-07 | 1 | -17/+17 |
| | | |||||
| * | Removed max_size; removed all encrypt/decrypt methods except private/public ↵ | Andrei Oprisan | 2016-10-07 | 1 | -69/+26 |
| | | | | | encrypt/decrypt which take the padding | ||||
| * | added try_ssl_size, which handles -1 as error and returns the value ↵ | Andrei Oprisan | 2016-10-05 | 1 | -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 signing | Steven Fackler | 2016-09-29 | 1 | -0/+1 |
| | | | | | Closes #457 | ||||
| * | Fix password callback on ARM | Steven Fackler | 2016-09-08 | 1 | -1/+1 |
| | | | | Closes #449 | ||||
| * | Docs for pkcs12 | Steven Fackler | 2016-08-14 | 1 | -0/+2 |
| | | |||||
| * | PKCS #12 support | Steven Fackler | 2016-08-14 | 1 | -2/+53 |
| | | |||||
| * | Start on PKCS #12 support | Steven Fackler | 2016-08-14 | 2 | -0/+40 |
| | | |||||
| * | Mangle c helper functions | Steven Fackler | 2016-08-13 | 1 | -12/+12 |
| | | | | | | | | We want to make sure that multiple openssl versions can coexist in the same dependency tree. Closes #438 | ||||
| * | Method renames | Steven Fackler | 2016-08-10 | 3 | -22/+22 |
| | | |||||
| * | Tweaks | Steven Fackler | 2016-08-10 | 2 | -17/+10 |
| | | |||||
| * | More API cleanup | Steven Fackler | 2016-08-10 | 1 | -10/+21 |
| | | |||||
| * | Asn1 and Bignum renames | Steven Fackler | 2016-08-10 | 2 | -9/+9 |
| | | |||||
| * | Make hmac support optional and remove openssl-sys-extras | Steven Fackler | 2016-08-09 | 2 | -17/+20 |
| | | | | | rust-openssl no longer requires headers for the default feature set. | ||||
| * | Docs for Crypter::new | Steven Fackler | 2016-08-08 | 1 | -0/+6 |
| | | |||||
| * | Fix size check | Steven Fackler | 2016-08-08 | 1 | -4/+12 |
| | | | | | Decryption requires an extra byte of space | ||||
| * | symm reform | Steven Fackler | 2016-08-08 | 1 | -106/+142 |
| | | |||||
| * | Copy over getter macros | Steven Fackler | 2016-08-08 | 2 | -6/+6 |
| | | |||||
| * | Remove symm_internal | Steven Fackler | 2016-08-08 | 4 | -52/+76 |
| | | |||||
| * | Clean up RSA and DSA accessors | Steven Fackler | 2016-08-08 | 2 | -58/+74 |
| | | |||||
| * | Fix build on 1.9 | Steven Fackler | 2016-08-07 | 1 | -2/+2 |
| | | |||||
| * | Add PKey::from_rsa | Steven Fackler | 2016-08-07 | 1 | -5/+9 |
| | | |||||
| * | Add RSA::generate | Steven Fackler | 2016-08-07 | 1 | -13/+27 |
| | | |||||
| * | pkcs5 reform | Steven Fackler | 2016-08-07 | 1 | -75/+44 |
| | | |||||
| * | PKey reform | Steven Fackler | 2016-08-07 | 1 | -748/+30 |
| | | | | | | This deletes the vast majority of PKey's API, since it was weirdly tied to RSA and super broken. | ||||
| * | Fix RSA::verify | Steven Fackler | 2016-08-07 | 1 | -17/+14 |
| | | | | | It never returns -1 - all errors are indicated by 0 | ||||