diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2013-12-09 10:16:58 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2013-12-09 10:21:25 -0600 |
commit | 494b574558a9f5b56ade082bac7bd32fa7d040c5 (patch) | |
tree | 30a41f21b60acc7cb57fb7c98de50641a82c044b | |
parent | 44f391a81a5df4f38002cbcf611782b93193ec3b (diff) | |
download | cryptography-494b574558a9f5b56ade082bac7bd32fa7d040c5.tar.gz cryptography-494b574558a9f5b56ade082bac7bd32fa7d040c5.tar.bz2 cryptography-494b574558a9f5b56ade082bac7bd32fa7d040c5.zip |
add dec2bn
-rw-r--r-- | cryptography/hazmat/bindings/openssl/bignum.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cryptography/hazmat/bindings/openssl/bignum.py b/cryptography/hazmat/bindings/openssl/bignum.py index fcfadff1..1b0fe5ab 100644 --- a/cryptography/hazmat/bindings/openssl/bignum.py +++ b/cryptography/hazmat/bindings/openssl/bignum.py @@ -28,6 +28,9 @@ int BN_set_word(BIGNUM *, BN_ULONG); char *BN_bn2hex(const BIGNUM *); int BN_hex2bn(BIGNUM **, const char *); +int BN_dec2bn(BIGNUM **, const char *); + +int BN_num_bits(const BIGNUM *); """ MACROS = """ |