diff options
author | Alex Stapleton <alexs@prol.etari.at> | 2014-05-18 11:11:32 +0100 |
---|---|---|
committer | Alex Stapleton <alexs@prol.etari.at> | 2014-05-18 11:11:32 +0100 |
commit | 35d7a07f3e4f0f4869bebd95c62473a8cc36d8e1 (patch) | |
tree | 96248c3e671b3148b40ce36d81f201f07d85e4ec | |
parent | 97367e3be2e05975487419af9497cefa8634f2df (diff) | |
download | cryptography-35d7a07f3e4f0f4869bebd95c62473a8cc36d8e1.tar.gz cryptography-35d7a07f3e4f0f4869bebd95c62473a8cc36d8e1.tar.bz2 cryptography-35d7a07f3e4f0f4869bebd95c62473a8cc36d8e1.zip |
Add EC_GROUP_get_degree binding
-rw-r--r-- | cryptography/hazmat/bindings/openssl/ec.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cryptography/hazmat/bindings/openssl/ec.py b/cryptography/hazmat/bindings/openssl/ec.py index 45c17c2e..e0fe3a75 100644 --- a/cryptography/hazmat/bindings/openssl/ec.py +++ b/cryptography/hazmat/bindings/openssl/ec.py @@ -61,6 +61,8 @@ int EC_GROUP_set_curve_GF2m( int EC_GROUP_get_curve_GF2m( const EC_GROUP *, BIGNUM *, BIGNUM *, BIGNUM *, BN_CTX *); +int EC_GROUP_get_degree(const EC_GROUP *); + const EC_METHOD *EC_GROUP_method_of(const EC_GROUP *); const EC_POINT *EC_GROUP_get0_generator(const EC_GROUP *); int EC_GROUP_get_curve_name(const EC_GROUP *); @@ -250,6 +252,8 @@ int (*EC_GROUP_set_curve_GFp)( int (*EC_GROUP_get_curve_GFp)( const EC_GROUP *, BIGNUM *, BIGNUM *, BIGNUM *, BN_CTX *); +int (*EC_GROUP_get_degree)(const EC_GROUP *) = NULL; + const EC_METHOD *(*EC_GROUP_method_of)(const EC_GROUP *) = NULL; const EC_POINT *(*EC_GROUP_get0_generator)(const EC_GROUP *) = NULL; int (*EC_GROUP_get_curve_name)(const EC_GROUP *) = NULL; @@ -399,6 +403,7 @@ CONDITIONAL_NAMES = { "EC_GROUP_method_of", "EC_GROUP_get0_generator", "EC_GROUP_get_curve_name", + "EC_GROUP_get_degree", "EC_KEY_free", "EC_get_builtin_curves", "EC_KEY_new_by_curve_name", |