aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAshwini Oruganti <ashwini.oruganti@gmail.com>2014-05-01 12:34:24 -0700
committerAshwini Oruganti <ashwini.oruganti@gmail.com>2014-05-01 12:34:24 -0700
commit42a509350bcc5b117d09e448ac64cc857832935e (patch)
tree5c153aac94364330e91b9234999740384cdf3d42
parent377b4db41dd0c575aac9cc3d65cadef7052d7b07 (diff)
downloadcryptography-42a509350bcc5b117d09e448ac64cc857832935e.tar.gz
cryptography-42a509350bcc5b117d09e448ac64cc857832935e.tar.bz2
cryptography-42a509350bcc5b117d09e448ac64cc857832935e.zip
And then the FUNCTIONS
-rw-r--r--cryptography/hazmat/bindings/openssl/ecdh.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/cryptography/hazmat/bindings/openssl/ecdh.py b/cryptography/hazmat/bindings/openssl/ecdh.py
index 7de791da..21a0d6d9 100644
--- a/cryptography/hazmat/bindings/openssl/ecdh.py
+++ b/cryptography/hazmat/bindings/openssl/ecdh.py
@@ -26,6 +26,15 @@ typedef ... ECDH_METHOD;
"""
FUNCTIONS = """
+int ECDH_compute_key(void *, size_t, const EC_POINT *, EC_KEY *,
+ void *(*)(const void *, size_t, void *, size_t *));
+
+int ECDH_get_ex_new_index(long, void *, CRYPTO_EX_new *, CRYPTO_EX_dup *,
+ CRYPTO_EX_free *);
+
+int ECDH_set_ex_data(EC_KEY *, int, void *);
+
+void *ECDH_get_ex_data(EC_KEY *, int);
"""
MACROS = """