| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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 | ||||
| * | making from_raw() unsafe | Benjamin Fry | 2016-03-05 | 1 | -1/+2 |
| | | |||||
| * | added public key material to the constructor | Benjamin Fry | 2016-02-28 | 2 | -19/+31 |
| | | |||||
| * | review fixes, keep raw RSA initiallization private | Benjamin Fry | 2016-02-23 | 2 | -8/+9 |
| | | |||||
| * | adding functionality to directly get and set RSA key material | Benjamin Fry | 2016-02-17 | 2 | -1/+60 |
| | | |||||
| * | 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 | 2 | -31/+62 |
| | | | | | | | | | `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 |
| | | |||||
| * | 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 |
| | | |||||
| * | 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. | ||||
| * | | 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 |
| | | | |||||
| * | | Add RSA structs | Daniel Albert | 2016-01-01 | 2 | -2/+3 |
| |/ | |||||
| * | Rustfmt | Steven Fackler | 2015-12-15 | 8 | -637/+619 |
| | | |||||
| * | Put pbkdf2_hmac_{256,512}() behind feature gate | Tomoki Aonuma | 2015-12-10 | 1 | -0/+5 |
| | | | | | PKCS5_PBKDF2_HMAC is not available with openssl-0.9.8 on os x | ||||
| * | Add PBKDF2-HMAC-SHA256 and -SHA512 functions | Tomoki Aonuma | 2015-12-10 | 1 | -0/+134 |
| | | |||||
| * | 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. | ||||
| * | Move HMAC_CTX_copy to sys-extras | Steven Fackler | 2015-11-16 | 1 | -1/+1 |
| | | |||||
| * | Split stuff requiring a shim out to a separate crate | Steven Fackler | 2015-11-16 | 1 | -9/+11 |
| | | |||||
| * | Revert "Use AsRef for backwards compatibility with passing IV as Vec" | Steven Fackler | 2015-11-16 | 1 | -5/+4 |
| | | | | | This reverts commit d2d20a83778b7c363322997332bf1ff5deef92d5. | ||||
| * | Provide public_decrypt, private_encrypt for PKEY | Thom May | 2015-10-28 | 1 | -12/+115 |
| | | |||||
| * | Merge pull request #284 from bheart/cfb-mode | Steven Fackler | 2015-10-12 | 2 | -1/+80 |
| |\ | | | | | AES CFB-mode feature | ||||
| | * | AES CFB{1,8,128} mode support | Will Tange | 2015-10-11 | 2 | -1/+80 |
| | | | |||||
| * | | 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 |
| |/ | |||||
| * | Expose EVP_BytesToKey | Edward Barnard | 2015-08-23 | 4 | -23/+138 |
| | | | | | | This is based on work by pyrho. Closes #88 | ||||
| * | Merge pull request #242 from awelkie/master | Steven Fackler | 2015-08-02 | 1 | -11/+16 |
| |\ | | | | | Added AES CTR-mode under feature flag. | ||||
| | * | Added AES CTR-mode under feature flag. | Allen Welkie | 2015-07-15 | 1 | -11/+16 |
| | | | |||||
| * | | Add function to write RSA public key as PEM | Andrew Dunham | 2015-07-23 | 1 | -0/+32 |
| |/ | |||||
| * | Import shim'd HMAC stuff with the original name | Steven Fackler | 2015-06-27 | 1 | -9/+9 |
| | | |||||
| * | Remove superfluous vec! usage | Jethro Beekman | 2015-06-14 | 1 | -9/+9 |
| | | |||||
| * | Use AsRef for backwards compatibility with passing IV as Vec | Jethro Beekman | 2015-06-14 | 1 | -4/+5 |
| | | |||||
| * | Pass symmetric crypto initialization vector as a slice | Jethro Beekman | 2015-06-12 | 1 | -7/+7 |
| | | | | | | Note: This change is backwards-incompatible. Users will need to add turn their parameters into references. | ||||
| * | Correction on sign and verify documentation to be more explicit of right | Emeric Chevalier | 2015-05-30 | 1 | -8/+17 |
| | | | | | behaviour (no hash done by the functions). | ||||
| * | Move PKey comparison func to public_eq() | Manuel Schölling | 2015-05-01 | 1 | -14/+14 |
| | | |||||
| * | Add comparison for PKeys | Manuel Schölling | 2015-04-16 | 1 | -0/+30 |
| | | |||||
| * | Add X509::public_key() | Manuel Schölling | 2015-04-15 | 1 | -1/+11 |
| | | |||||
| * | Add SslContext::add_extra_chain_cert() | Manuel Schölling | 2015-04-03 | 1 | -1/+0 |
| | | |||||