aboutsummaryrefslogtreecommitdiff
path: root/openssl/src/crypto
Commit message (Collapse)AuthorAgeFilesLines
...
* Hash reformSteven Fackler2016-08-077-207/+175
| | | | Closes #430
* Refactor BigNumSteven Fackler2016-08-073-35/+44
|
* get_handle -> handleSteven Fackler2016-08-053-15/+15
|
* Fix pkey method safetySteven Fackler2016-08-051-3/+4
|
* Restructure PEM input/output methodsSteven Fackler2016-08-023-165/+82
| | | | | 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.9Steven Fackler2016-07-312-12/+16
|
* Fix catch_unwind feature and drop feature gateSteven Fackler2016-07-314-33/+10
|
* Merge remote-tracking branch 'origin/master' into breaksSteven Fackler2016-07-317-53/+709
|\
| * Merge pull request #402 from bbatha/feat/dsa-ffiSteven Fackler2016-07-292-0/+352
| |\ | | | | | | DSA bindings
| | * add low level dsa primitivesBen Batha2016-07-292-0/+352
| | |
| * | improve error handling in rsaBen Batha2016-07-291-28/+14
| |/
| * FnMut -> FnOnce, update docsJonas Schievink2016-06-263-3/+7
| |
| * Put the test behind the catch_unwind featureJonas Schievink2016-06-261-1/+2
| | | | | | | | And fix an unused variable warning
| * Add an RSA key decryption testJonas Schievink2016-06-261-0/+18
| |
| * Put password callbacks behind a cargo featureJonas Schievink2016-06-263-2/+13
| |
| * Make the callback take a `&mut [c_char]`Jonas Schievink2016-06-262-4/+4
| |
| * Add RSA::private_key_from_pem_cbJonas Schievink2016-06-261-1/+22
| |
| * Move into utility moduleJonas Schievink2016-06-263-39/+63
| |
| * Try to propagate callback panicsJonas Schievink2016-06-261-6/+21
| |
| * Add PKey::private_key_from_pem_cbJonas Schievink2016-06-261-1/+48
| |
| * RustfmtSteven Fackler2016-05-163-118/+116
| |
| * Clean up RSA signature APISteven Fackler2016-05-164-40/+51
| |
| * add rsa signature testsChris Dawes2016-05-051-1/+108
| |
| * add missing NIDs and use Nid as input to signingChris Dawes2016-05-041-22/+5
| |
| * take enum instead of ints from openssl header fileChris Dawes2016-05-031-6/+22
| |
| * add constructor for private keys from bignumsChris Dawes2016-05-031-0/+52
| |
* | Error reformSteven Fackler2016-05-032-27/+32
|/
* Remove des_cfb and des_ofb, since they appear on limit platformsCharlie Ozinga2016-04-192-26/+0
|
* Add 1DES symm ciphers (des-cbc, des-ecb, des-cfb, des-ofb)Charlie Ozinga2016-04-142-0/+54
| | | | | | 1DES is well and truly dead for actual sensitive information, (its keysize is too small for modern purposes), but it can still find use in backwards compatiblity or educational applications.
* copy PKey using DER encode and decodeKevin King2016-04-101-4/+34
| | | | test that fields of cloned private and public keys can be accessed
* add EVP_PKEY_copy_parameters to FFIKevin King2016-04-061-7/+15
| | | | | | copy EVP_PKEY params in PKey::clone test that PKey::clone creates a copy
* making from_raw() unsafeBenjamin Fry2016-03-051-1/+2
|
* added public key material to the constructorBenjamin Fry2016-02-282-19/+31
|
* review fixes, keep raw RSA initiallization privateBenjamin Fry2016-02-232-8/+9
|
* adding functionality to directly get and set RSA key materialBenjamin Fry2016-02-172-1/+60
|
* Revert "Revert "impl Clone for PKey and X509 by using their 'references' ↵Steven Fackler2016-01-311-0/+14
| | | | member""
* Fix PKey RSA constructorsSteven Fackler2016-01-302-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 Fackler2016-01-281-14/+0
|
* Remove unwraps from rsa accessorsSteven Fackler2016-01-221-10/+11
|
* Fix up RSA integrationDaniel Albert2016-01-201-1/+1
|
* Merge branch 'master' of https://github.com/sfackler/rust-opensslDaniel Albert2016-01-201-0/+85
|\
| * crypto/pkey: impl Clone for PKey using openssl's ref countingCody P Schafer2016-01-191-0/+14
| |
| * Merge pull request #328 from Cyberunner23/PemRSASteven Fackler2016-01-091-0/+68
| |\ | | | | | | Add support for RSA PEM files.
| | * Added tests for private_rsa_key_from_pem() and public_rsa_key_from_pem()Cyberunner232016-01-091-0/+20
| | |
| | * Added private_rsa_key_from_pem and public_rsa_key_from_pem.Cyberunner232016-01-051-0/+48
| | |
| * | Mark PKey as `Send` and `Sync`Will Tange2016-01-071-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 declarationDaniel Albert2016-01-121-10/+21
| |
* | Adhere to rust conventionsDaniel Albert2016-01-121-10/+6
| |
* | Add public interface to access BigNums from RSA keysDaniel Albert2016-01-011-0/+39
| |
* | Add RSA structsDaniel Albert2016-01-012-2/+3
|/