Create BN_CTX_new_ex() and BN_CTX_secure_new_ex()
authorMatt Caswell <matt@openssl.org>
Wed, 29 May 2019 16:03:53 +0000 (17:03 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 12 Jun 2019 08:16:43 +0000 (09:16 +0100)
commit7bc081dda349a3473154d31f6094ee34545c4980
treee33161063ffaa3dfe74c878191fa71800e968532
parentf35819d1b7e195af9a41d991db00655f6f2c0af3
Create BN_CTX_new_ex() and BN_CTX_secure_new_ex()

These variants of BN_CTX_new() and BN_CTX_secure_new() enable passing
an OPENSSL_CTX so that we can access this where needed throughout the
BIGNUM sub library.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9130)
crypto/bn/bn_ctx.c
crypto/bn/bn_err.c
crypto/err/openssl.txt
doc/man3/BN_CTX_new.pod
include/openssl/bn.h
include/openssl/bnerr.h
util/libcrypto.num