aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Stapleton <alexs@prol.etari.at>2014-04-05 22:12:35 +0100
committerAlex Stapleton <alexs@prol.etari.at>2014-04-05 22:12:35 +0100
commite45a4b510174df78462183824fc2eff0408bf6e2 (patch)
tree58bc9e5abc506571a434f13f29800ec03b94ac35
parentf7484a5b4e49aaf4570f9883629824b1dede17d5 (diff)
downloadcryptography-e45a4b510174df78462183824fc2eff0408bf6e2.tar.gz
cryptography-e45a4b510174df78462183824fc2eff0408bf6e2.tar.bz2
cryptography-e45a4b510174df78462183824fc2eff0408bf6e2.zip
BN_CTX bindings
-rw-r--r--cryptography/hazmat/bindings/openssl/bignum.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/cryptography/hazmat/bindings/openssl/bignum.py b/cryptography/hazmat/bindings/openssl/bignum.py
index a40397db..48350a38 100644
--- a/cryptography/hazmat/bindings/openssl/bignum.py
+++ b/cryptography/hazmat/bindings/openssl/bignum.py
@@ -44,6 +44,13 @@ FUNCTIONS = """
BIGNUM *BN_new(void);
void BN_free(BIGNUM *);
+BN_CTX *BN_CTX_new(void);
+void BN_CTX_free(BN_CTX *);
+
+void BN_CTX_start(BN_CTX *);
+BIGNUM *BN_CTX_get(BN_CTX *);
+void BN_CTX_end(BN_CTX *);
+
BIGNUM *BN_copy(BIGNUM *, const BIGNUM *);
BIGNUM *BN_dup(const BIGNUM *);