aboutsummaryrefslogtreecommitdiff
path: root/openssl/src/lib.rs
diff options
context:
space:
mode:
authorBradley Beddoes <[email protected]>2017-08-09 12:02:58 +1000
committerBradley Beddoes <[email protected]>2017-08-09 12:21:54 +1000
commitcfb4ea31d51c274a31f500cd1a5e8bdac571607c (patch)
treee2571655d3105bfc29aa4ceda3040a19e2309b42 /openssl/src/lib.rs
parentInit in bn_ctx constructor (diff)
downloadrust-openssl-cfb4ea31d51c274a31f500cd1a5e8bdac571607c.tar.xz
rust-openssl-cfb4ea31d51c274a31f500cd1a5e8bdac571607c.zip
Support for EcKey creation from affine coordinates
Sets the public key for an EcKey based on its affine co-ordinates, i.e. it constructs an EC_POINT object based on the supplied x and y values and sets the public key to be this EC_POINT. The initial usecase here is creating EcKey instances from JWK representations as defined within RFC 7517.
Diffstat (limited to 'openssl/src/lib.rs')
-rw-r--r--openssl/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/openssl/src/lib.rs b/openssl/src/lib.rs
index 44752dcc..a6d5e6a0 100644
--- a/openssl/src/lib.rs
+++ b/openssl/src/lib.rs
@@ -13,6 +13,8 @@ extern crate openssl_sys as ffi;
extern crate hex;
#[cfg(test)]
extern crate tempdir;
+#[cfg(test)]
+extern crate data_encoding;
#[doc(inline)]
pub use ffi::init;