remove obsolete BN_CTX info
This commit is contained in:
parent
981cdfab86
commit
47f87f536a
@ -92,18 +92,8 @@ Various routines in this library require the use of temporary
|
|||||||
B<BIGNUM> variables during their execution. Since dynamic memory
|
B<BIGNUM> variables during their execution. Since dynamic memory
|
||||||
allocation to create B<BIGNUM>s is rather expensive when used in
|
allocation to create B<BIGNUM>s is rather expensive when used in
|
||||||
conjunction with repeated subroutine calls, the B<BN_CTX> structure is
|
conjunction with repeated subroutine calls, the B<BN_CTX> structure is
|
||||||
used. This structure contains B<BN_CTX_NUM> B<BIGNUM>s.
|
used. This structure contains B<BN_CTX_NUM> B<BIGNUM>s, see
|
||||||
B<BN_CTX_NUM> is the maximum number of temporary B<BIGNUM>s any
|
L<BN_CTX_start(3)|BN_CTX_start(3)>.
|
||||||
publicly exported function will use.
|
|
||||||
|
|
||||||
#define BN_CTX_NUM 12
|
|
||||||
typedef struct bignum_ctx
|
|
||||||
{
|
|
||||||
int tos; /* top of stack */
|
|
||||||
BIGNUM *bn[BN_CTX_NUM]; /* The variables */
|
|
||||||
} BN_CTX;
|
|
||||||
|
|
||||||
B<tos> is the index of the first unused B<BIGNUM> in the B<bn> array.
|
|
||||||
|
|
||||||
=head2 Low-level arithmetic operations
|
=head2 Low-level arithmetic operations
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user