1=pod 2 3=head1 NAME 4 5BN_CTX_start, BN_CTX_get, BN_CTX_end - use temporary BIGNUM variables 6 7=head1 SYNOPSIS 8 9 #include <openssl/bn.h> 10 11 void BN_CTX_start(BN_CTX *ctx); 12 13 BIGNUM *BN_CTX_get(BN_CTX *ctx); 14 15 void BN_CTX_end(BN_CTX *ctx); 16 17=head1 DESCRIPTION 18 19These functions are used to obtain temporary B<BIGNUM> variables from
| 1=pod 2 3=head1 NAME 4 5BN_CTX_start, BN_CTX_get, BN_CTX_end - use temporary BIGNUM variables 6 7=head1 SYNOPSIS 8 9 #include <openssl/bn.h> 10 11 void BN_CTX_start(BN_CTX *ctx); 12 13 BIGNUM *BN_CTX_get(BN_CTX *ctx); 14 15 void BN_CTX_end(BN_CTX *ctx); 16 17=head1 DESCRIPTION 18 19These functions are used to obtain temporary B<BIGNUM> variables from
|
20a B<BN_CTX> in order to save the overhead of repeatedly creating and
| 20a B<BN_CTX> (which can been created by using L<BN_CTX_new(3)|BN_CTX_new(3)>) 21in order to save the overhead of repeatedly creating and
|
21freeing B<BIGNUM>s in functions that are called from inside a loop. 22 23A function must call BN_CTX_start() first. Then, BN_CTX_get() may be 24called repeatedly to obtain temporary B<BIGNUM>s. All BN_CTX_get() 25calls must be made before calling any other functions that use the 26B<ctx> as an argument. 27 28Finally, BN_CTX_end() must be called before returning from the function.
--- 23 unchanged lines hidden --- | 22freeing B<BIGNUM>s in functions that are called from inside a loop. 23 24A function must call BN_CTX_start() first. Then, BN_CTX_get() may be 25called repeatedly to obtain temporary B<BIGNUM>s. All BN_CTX_get() 26calls must be made before calling any other functions that use the 27B<ctx> as an argument. 28 29Finally, BN_CTX_end() must be called before returning from the function.
--- 23 unchanged lines hidden --- |