Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32)
(The comments found at the beginning of the groff file "man3/BN_CTX_get.3ssl".)
BN_CTX_start, BN_CTX_get, BN_CTX_end - use temporary BIGNUM variables
void BN_CTX_start(BN_CTX *ctx);
BIGNUM *BN_CTX_get(BN_CTX *ctx);
void BN_CTX_end(BN_CTX *ctx);
These functions are used to obtain temporary
(which can been created by using BN_CTX_new
in order to save the overhead of repeatedly creating and
s in functions that are called from inside a loop.
A function must call BN_CTX_start() first. Then, BN_CTX_get() may be
called repeatedly to obtain temporary
s. All BN_CTX_get()
calls must be made before calling any other functions that use the
as an argument.
Finally, BN_CTX_end() must be called before returning from the function.
When BN_CTX_end() is called, the
pointers obtained from
return no values.
BN_CTX_get() returns a pointer to the
has failed, the subsequent calls will return
as well, so it is sufficient to check the return value of the last
call. In case of an error, an error code is set, which
can be obtained by ERR_get_error
were added in OpenSSL 0.9.5.