| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Flatten crypto module | Steven Fackler | 2016-10-22 | 1 | -193/+0 |
| | | |||||
| * | More error cleanup | Steven Fackler | 2016-10-16 | 1 | -26/+29 |
| | | | | | Also allocation free RSA | ||||
| * | Migrate DSA sign/verify to EVP APIs | Steven Fackler | 2016-10-15 | 1 | -0/+12 |
| | | |||||
| * | Fix typo | Steven Fackler | 2016-10-15 | 1 | -1/+1 |
| | | |||||
| * | Support HMAC PKeys and remove hmac module | Steven Fackler | 2016-10-15 | 1 | -1/+13 |
| | | |||||
| * | Method renames | Steven Fackler | 2016-08-10 | 1 | -11/+11 |
| | | |||||
| * | Add PKey::from_rsa | Steven Fackler | 2016-08-07 | 1 | -5/+9 |
| | | |||||
| * | 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. | ||||
| * | Hash reform | Steven Fackler | 2016-08-07 | 1 | -1/+1 |
| | | | | | Closes #430 | ||||
| * | Refactor BigNum | Steven Fackler | 2016-08-07 | 1 | -5/+6 |
| | | |||||
| * | get_handle -> handle | Steven Fackler | 2016-08-05 | 1 | -5/+5 |
| | | |||||
| * | Fix pkey method safety | Steven Fackler | 2016-08-05 | 1 | -3/+4 |
| | | |||||
| * | Restructure PEM input/output methods | Steven Fackler | 2016-08-02 | 1 | -82/+32 |
| | | | | | | Dealing with byte buffers directly avoids error handling weirdness and we were loading it all into memory before anyway. | ||||
| * | Fix catch_unwind feature and drop feature gate | Steven Fackler | 2016-07-31 | 1 | -10/+3 |
| | | |||||
| * | Merge remote-tracking branch 'origin/master' into breaks | Steven Fackler | 2016-07-31 | 1 | -25/+48 |
| |\ | |||||
| | * | FnMut -> FnOnce, update docs | Jonas Schievink | 2016-06-26 | 1 | -1/+3 |
| | | | |||||
| | * | 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 |
| | | | |||||
| | * | Move into utility module | Jonas Schievink | 2016-06-26 | 1 | -39/+4 |
| | | | |||||
| | * | Try to propagate callback panics | Jonas Schievink | 2016-06-26 | 1 | -6/+21 |
| | | | |||||
| | * | Add PKey::private_key_from_pem_cb | Jonas Schievink | 2016-06-26 | 1 | -1/+48 |
| | | | |||||
| | * | Rustfmt | Steven Fackler | 2016-05-16 | 1 | -11/+10 |
| | | | |||||
| | * | Clean up RSA signature API | Steven Fackler | 2016-05-16 | 1 | -14/+4 |
| | | | |||||
| * | | Error reform | Steven Fackler | 2016-05-03 | 1 | -16/+21 |
| |/ | |||||
| * | copy PKey using DER encode and decode | Kevin King | 2016-04-10 | 1 | -4/+34 |
| | | | | | test that fields of cloned private and public keys can be accessed | ||||
| * | add EVP_PKEY_copy_parameters to FFI | Kevin King | 2016-04-06 | 1 | -7/+15 |
| | | | | | | | copy EVP_PKEY params in PKey::clone test that PKey::clone creates a copy | ||||
| * | added public key material to the constructor | Benjamin Fry | 2016-02-28 | 1 | -3/+27 |
| | | |||||
| * | review fixes, keep raw RSA initiallization private | Benjamin Fry | 2016-02-23 | 1 | -7/+4 |
| | | |||||
| * | adding functionality to directly get and set RSA key material | Benjamin Fry | 2016-02-17 | 1 | -0/+24 |
| | | |||||
| * | Revert "Revert "impl Clone for PKey and X509 by using their 'references' ↵ | Steven Fackler | 2016-01-31 | 1 | -0/+14 |
| | | | | | member"" | ||||
| * | Fix PKey RSA constructors | Steven Fackler | 2016-01-30 | 1 | -22/+7 |
| | | | | | | | | | `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. | ||||
| * | Revert "impl Clone for PKey and X509 by using their 'references' member" | Steven Fackler | 2016-01-28 | 1 | -14/+0 |
| | | |||||
| * | Merge branch 'master' of https://github.com/sfackler/rust-openssl | Daniel Albert | 2016-01-20 | 1 | -0/+85 |
| |\ | |||||
| | * | crypto/pkey: impl Clone for PKey using openssl's ref counting | Cody P Schafer | 2016-01-19 | 1 | -0/+14 |
| | | | |||||
| | * | Merge pull request #328 from Cyberunner23/PemRSA | Steven Fackler | 2016-01-09 | 1 | -0/+68 |
| | |\ | | | | | | | Add support for RSA PEM files. | ||||
| | | * | Added tests for private_rsa_key_from_pem() and public_rsa_key_from_pem() | Cyberunner23 | 2016-01-09 | 1 | -0/+20 |
| | | | | |||||
| | | * | Added private_rsa_key_from_pem and public_rsa_key_from_pem. | Cyberunner23 | 2016-01-05 | 1 | -0/+48 |
| | | | | |||||
| | * | | Mark PKey as `Send` and `Sync` | Will Tange | 2016-01-07 | 1 | -0/+3 |
| | |/ | | | | | | | | | Provided that the locking function is set, the underlying `ffi::EVP_KEY` type should be safe to use across threads. | ||||
| * / | Add RSA structs | Daniel Albert | 2016-01-01 | 1 | -2/+2 |
| |/ | |||||
| * | Rustfmt | Steven Fackler | 2015-12-15 | 1 | -115/+144 |
| | | |||||
| * | Fix a leak when using `EVP_PKEY_get1_RSA`. | Overmind JIANG | 2015-11-18 | 1 | -0/+1 |
| | | | | | | | `EVP_PKEY_get1_RSA` returns a RSA structure with its reference count increased by 1 and therefore we need to call `RSA_free` after finishing using that value. | ||||
| * | Provide public_decrypt, private_encrypt for PKEY | Thom May | 2015-10-28 | 1 | -12/+115 |
| | | |||||
| * | Add public key PEM read function. | Nathan Lilienthal | 2015-10-01 | 1 | -0/+26 |
| | | |||||
| * | Merge pull request #270 from mvdnes/crypto_segv | Steven Fackler | 2015-09-11 | 1 | -7/+67 |
| |\ | | | | | Check if public/private RSA key is properly loaded | ||||
| | * | Fix one call to RSA_size found by tests | Mathijs van de Nes | 2015-09-11 | 1 | -1/+1 |
| | | | |||||
| | * | Add tests to ensure a panic occurs instead of segv | Mathijs van de Nes | 2015-09-11 | 1 | -0/+32 |
| | | | |||||
| | * | Check rsa.is_null() before passing it to RSA_size | Mathijs van de Nes | 2015-09-10 | 1 | -1/+22 |
| | | | | | | | | | RSA_size will cause an segmentation fault if it is null | ||||
| | * | Check _fromstr function for success | Mathijs van de Nes | 2015-09-10 | 1 | -6/+13 |
| | | | |||||
| * | | Make the docs say that load_pub/save_pub methods take DER bytes | Alex Gaynor | 2015-09-09 | 1 | -2/+2 |
| |/ | |||||
| * | Add function to write RSA public key as PEM | Andrew Dunham | 2015-07-23 | 1 | -0/+32 |
| | | |||||