aboutsummaryrefslogtreecommitdiff
path: root/openssl/src/crypto/rsa.rs
Commit message (Collapse)AuthorAgeFilesLines
* Restructure PEM input/output methodsSteven Fackler2016-08-021-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.9Steven Fackler2016-07-311-6/+8
|
* Fix catch_unwind feature and drop feature gateSteven Fackler2016-07-311-11/+3
|
* Merge remote-tracking branch 'origin/master' into breaksSteven Fackler2016-07-311-9/+211
|\
| * improve error handling in rsaBen Batha2016-07-291-28/+14
| |
| * FnMut -> FnOnce, update docsJonas Schievink2016-06-261-1/+3
| |
| * 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-261-1/+6
| |
| * Make the callback take a `&mut [c_char]`Jonas Schievink2016-06-261-2/+2
| |
| * Add RSA::private_key_from_pem_cbJonas Schievink2016-06-261-1/+22
| |
| * RustfmtSteven Fackler2016-05-161-105/+105
| |
| * Clean up RSA signature APISteven Fackler2016-05-161-9/+10
| |
| * 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-031-11/+11
|/
* making from_raw() unsafeBenjamin Fry2016-03-051-1/+2
|
* added public key material to the constructorBenjamin Fry2016-02-281-16/+4
|
* review fixes, keep raw RSA initiallization privateBenjamin Fry2016-02-231-1/+5
|
* adding functionality to directly get and set RSA key materialBenjamin Fry2016-02-171-1/+36
|
* Fix PKey RSA constructorsSteven Fackler2016-01-301-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 accessorsSteven Fackler2016-01-221-10/+11
|
* Fix up RSA integrationDaniel Albert2016-01-201-1/+1
|
* 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