diff options
| author | Steven Fackler <[email protected]> | 2017-12-02 08:44:12 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-12-02 08:44:12 -0800 |
| commit | b40bddfe02ce67f475af7c556a4e8b308e573e05 (patch) | |
| tree | ace02c7011b366ff6c3ca26168737cfa8202f64b /openssl-sys | |
| parent | Merge pull request #783 from ignatenkobrain/patch-1 (diff) | |
| parent | Fixing the CI tests (diff) | |
| download | rust-openssl-b40bddfe02ce67f475af7c556a4e8b308e573e05.tar.xz rust-openssl-b40bddfe02ce67f475af7c556a4e8b308e573e05.zip | |
Merge pull request #784 from P-E-Meunier/master
Adding dp(), dq() and qi() methods to RSA, to get the CRT parameters back
Diffstat (limited to 'openssl-sys')
| -rw-r--r-- | openssl-sys/src/ossl110.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/openssl-sys/src/ossl110.rs b/openssl-sys/src/ossl110.rs index ff1e0c7c..fabfb2b6 100644 --- a/openssl-sys/src/ossl110.rs +++ b/openssl-sys/src/ossl110.rs @@ -172,6 +172,12 @@ extern "C" { d: *mut *const ::BIGNUM, ); pub fn RSA_get0_factors(r: *const ::RSA, p: *mut *const ::BIGNUM, q: *mut *const ::BIGNUM); + pub fn RSA_get0_crt_params( + r: *const ::RSA, + dmp1: *mut *const ::BIGNUM, + dmq1: *mut *const ::BIGNUM, + iqmp: *mut *const ::BIGNUM, + ); pub fn RSA_set0_key( r: *mut ::RSA, n: *mut ::BIGNUM, |