Adjust various bignum functions to use BN_CTX for variables instead of