aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTux <tuxxy@users.noreply.github.com>2018-02-23 13:57:54 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2018-02-23 15:57:54 -0500
commit404496aeb74b13ce438d62712818ab793033de90 (patch)
treee75de3da798ed675ce64a074cca34d13fab070b3
parent2c1277936be6ef927b968816adf7355a0cec8f9e (diff)
downloadcryptography-404496aeb74b13ce438d62712818ab793033de90.tar.gz
cryptography-404496aeb74b13ce438d62712818ab793033de90.tar.bz2
cryptography-404496aeb74b13ce438d62712818ab793033de90.zip
Expose BN_rand and BN_rand_range (#4118)
-rw-r--r--src/_cffi_src/openssl/bignum.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/_cffi_src/openssl/bignum.py b/src/_cffi_src/openssl/bignum.py
index e0d87ae1..2c140c93 100644
--- a/src/_cffi_src/openssl/bignum.py
+++ b/src/_cffi_src/openssl/bignum.py
@@ -19,6 +19,9 @@ BIGNUM *BN_new(void);
void BN_free(BIGNUM *);
void BN_clear_free(BIGNUM *);
+int BN_rand(BIGNUM *, int, int, int);
+int BN_rand_range(BIGNUM *, BIGNUM *);
+
BN_CTX *BN_CTX_new(void);
void BN_CTX_free(BN_CTX *);