From 69b529b2a633641be6392bf0d898ba2f2a5077fd Mon Sep 17 00:00:00 2001 From: tuxxy Date: Fri, 23 Feb 2018 13:28:48 -0700 Subject: [PATCH] Expose BN_rand and BN_rand_range --- src/_cffi_src/openssl/bignum.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/_cffi_src/openssl/bignum.py b/src/_cffi_src/openssl/bignum.py index e0d87ae1e5fd..2c140c93eeb3 100644 --- a/src/_cffi_src/openssl/bignum.py +++ b/src/_cffi_src/openssl/bignum.py @@ -19,6 +19,9 @@ 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 *);