From 42a509350bcc5b117d09e448ac64cc857832935e Mon Sep 17 00:00:00 2001 From: Ashwini Oruganti Date: Thu, 1 May 2014 12:34:24 -0700 Subject: And then the FUNCTIONS --- cryptography/hazmat/bindings/openssl/ecdh.py | 9 +++++++++ 1 file changed, 9 insertions(+) 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 = """ -- cgit v1.2.3