aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src/openssl/bignum.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-12-26 20:38:11 -0500
committerAlex Gaynor <alex.gaynor@gmail.com>2015-12-26 20:38:11 -0500
commiteefd3a8b51c8219f2c8a5d921b8266dee7d82d9b (patch)
treef6387bcecb9a6f85411f90bfe41987fb1a445f76 /src/_cffi_src/openssl/bignum.py
parent3a6631c3db6d1c40912a6152b4c435e9fb99f422 (diff)
downloadcryptography-eefd3a8b51c8219f2c8a5d921b8266dee7d82d9b.tar.gz
cryptography-eefd3a8b51c8219f2c8a5d921b8266dee7d82d9b.tar.bz2
cryptography-eefd3a8b51c8219f2c8a5d921b8266dee7d82d9b.zip
Simplify code slightly by adding a new binding
Diffstat (limited to 'src/_cffi_src/openssl/bignum.py')
-rw-r--r--src/_cffi_src/openssl/bignum.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/_cffi_src/openssl/bignum.py b/src/_cffi_src/openssl/bignum.py
index ae035007..455afdc1 100644
--- a/src/_cffi_src/openssl/bignum.py
+++ b/src/_cffi_src/openssl/bignum.py
@@ -71,6 +71,8 @@ int BN_mask_bits(BIGNUM *, int);
"""
MACROS = """
+int BN_num_bytes(const BIGNUM *);
+
int BN_zero(BIGNUM *);
int BN_one(BIGNUM *);
int BN_mod(BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *);