diff options
| author | Steven Fackler <[email protected]> | 2017-08-08 21:45:44 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-08-08 21:45:44 -0700 |
| commit | 8f08d66d1e41495891641c0a024e4146ad44fbb3 (patch) | |
| tree | 36b1312de5f353dcd2ad301bf63fbd75a6cf58a8 /openssl-sys/src | |
| parent | Init in bn_ctx constructor (diff) | |
| parent | Refine sig for set_public_key_affine_coordinates (diff) | |
| download | rust-openssl-8f08d66d1e41495891641c0a024e4146ad44fbb3.tar.xz rust-openssl-8f08d66d1e41495891641c0a024e4146ad44fbb3.zip | |
Merge pull request #674 from bradleybeddoes/add-ec-functions
Add elliptic curve functions
Diffstat (limited to 'openssl-sys/src')
| -rw-r--r-- | openssl-sys/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index 353f619f..f0e3e18a 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -1674,6 +1674,7 @@ extern "C" { pub fn EC_KEY_generate_key(key: *mut EC_KEY) -> c_int; pub fn EC_KEY_check_key(key: *const EC_KEY) -> c_int; pub fn EC_KEY_free(key: *mut EC_KEY); + pub fn EC_KEY_set_public_key_affine_coordinates(key: *mut EC_KEY, x: *mut BIGNUM, y: *mut BIGNUM) -> c_int; #[cfg(not(osslconf = "OPENSSL_NO_EC2M"))] pub fn EC_GF2m_simple_method() -> *const EC_METHOD; |