| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Flatten crypto module | Steven Fackler | 2016-10-22 | 1 | -487/+0 |
| | | |||||
| * | Update BigNumRef | Steven Fackler | 2016-10-21 | 1 | -5/+5 |
| | | |||||
| * | Finish BN overhaul | Steven Fackler | 2016-10-16 | 1 | -1/+1 |
| | | |||||
| * | More error cleanup | Steven Fackler | 2016-10-16 | 1 | -126/+135 |
| | | | | | Also allocation free RSA | ||||
| * | De-enumify Padding | Steven Fackler | 2016-10-15 | 1 | -23/+23 |
| | | |||||
| * | Remove old RSA sign and verify methods | Steven Fackler | 2016-10-15 | 1 | -86/+0 |
| | | |||||
| * | Add support for OpenSSL 1.1.0 | Alex Crichton | 2016-10-12 | 1 | -42/+117 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | Method renames | Steven Fackler | 2016-08-10 | 1 | -6/+6 |
| | | |||||
| * | More API cleanup | Steven Fackler | 2016-08-10 | 1 | -10/+21 |
| | | |||||
| * | Asn1 and Bignum renames | Steven Fackler | 2016-08-10 | 1 | -6/+6 |
| | | |||||
| * | Clean up RSA and DSA accessors | Steven Fackler | 2016-08-08 | 1 | -36/+46 |
| | | |||||
| * | Fix build on 1.9 | Steven Fackler | 2016-08-07 | 1 | -2/+2 |
| | | |||||
| * | Add RSA::generate | Steven Fackler | 2016-08-07 | 1 | -13/+27 |
| | | |||||
| * | Fix RSA::verify | Steven Fackler | 2016-08-07 | 1 | -17/+14 |
| | | | | | It never returns -1 - all errors are indicated by 0 | ||||
| * | Hash reform | Steven Fackler | 2016-08-07 | 1 | -5/+5 |
| | | | | | Closes #430 | ||||
| * | Refactor BigNum | Steven Fackler | 2016-08-07 | 1 | -22/+28 |
| | | |||||
| * | get_handle -> handle | Steven Fackler | 2016-08-05 | 1 | -5/+5 |
| | | |||||
| * | Restructure PEM input/output methods | Steven Fackler | 2016-08-02 | 1 | -38/+20 |
| | | | | | | Dealing with byte buffers directly avoids error handling weirdness and we were loading it all into memory before anyway. | ||||
| * | Fix weird inference issue on 1.9 | Steven Fackler | 2016-07-31 | 1 | -6/+8 |
| | | |||||
| * | Fix catch_unwind feature and drop feature gate | Steven Fackler | 2016-07-31 | 1 | -11/+3 |
| | | |||||
| * | Merge remote-tracking branch 'origin/master' into breaks | Steven Fackler | 2016-07-31 | 1 | -9/+211 |
| |\ | |||||
| | * | improve error handling in rsa | Ben Batha | 2016-07-29 | 1 | -28/+14 |
| | | | |||||
| | * | FnMut -> FnOnce, update docs | Jonas Schievink | 2016-06-26 | 1 | -1/+3 |
| | | | |||||
| | * | Put the test behind the catch_unwind feature | Jonas Schievink | 2016-06-26 | 1 | -1/+2 |
| | | | | | | | | | And fix an unused variable warning | ||||
| | * | Add an RSA key decryption test | Jonas Schievink | 2016-06-26 | 1 | -0/+18 |
| | | | |||||
| | * | Put password callbacks behind a cargo feature | Jonas Schievink | 2016-06-26 | 1 | -1/+6 |
| | | | |||||
| | * | Make the callback take a `&mut [c_char]` | Jonas Schievink | 2016-06-26 | 1 | -2/+2 |
| | | | |||||
| | * | Add RSA::private_key_from_pem_cb | Jonas Schievink | 2016-06-26 | 1 | -1/+22 |
| | | | |||||
| | * | Rustfmt | Steven Fackler | 2016-05-16 | 1 | -105/+105 |
| | | | |||||
| | * | Clean up RSA signature API | Steven Fackler | 2016-05-16 | 1 | -9/+10 |
| | | | |||||
| | * | add rsa signature tests | Chris Dawes | 2016-05-05 | 1 | -1/+108 |
| | | | |||||
| | * | add missing NIDs and use Nid as input to signing | Chris Dawes | 2016-05-04 | 1 | -22/+5 |
| | | | |||||
| | * | take enum instead of ints from openssl header file | Chris Dawes | 2016-05-03 | 1 | -6/+22 |
| | | | |||||
| | * | add constructor for private keys from bignums | Chris Dawes | 2016-05-03 | 1 | -0/+52 |
| | | | |||||
| * | | Error reform | Steven Fackler | 2016-05-03 | 1 | -11/+11 |
| |/ | |||||
| * | making from_raw() unsafe | Benjamin Fry | 2016-03-05 | 1 | -1/+2 |
| | | |||||
| * | added public key material to the constructor | Benjamin Fry | 2016-02-28 | 1 | -16/+4 |
| | | |||||
| * | review fixes, keep raw RSA initiallization private | Benjamin Fry | 2016-02-23 | 1 | -1/+5 |
| | | |||||
| * | adding functionality to directly get and set RSA key material | Benjamin Fry | 2016-02-17 | 1 | -1/+36 |
| | | |||||
| * | Fix PKey RSA constructors | Steven Fackler | 2016-01-30 | 1 | -9/+55 |
| | | | | | | | | | `set1` functions bump the object's refcount so we were previously leaking the RSA object. Split the decode from PEM part out to a method on RSA and use that in the PKey constructors. Also make RSA a pointer and actually free it. | ||||
| * | Remove unwraps from rsa accessors | Steven Fackler | 2016-01-22 | 1 | -10/+11 |
| | | |||||
| * | Fix up RSA integration | Daniel Albert | 2016-01-20 | 1 | -1/+1 |
| | | |||||
| * | Fix incorrect unsafe declaration | Daniel Albert | 2016-01-12 | 1 | -10/+21 |
| | | |||||
| * | Adhere to rust conventions | Daniel Albert | 2016-01-12 | 1 | -10/+6 |
| | | |||||
| * | Add public interface to access BigNums from RSA keys | Daniel Albert | 2016-01-01 | 1 | -0/+39 |