提交 47f87f53 编写于 作者: U Ulf Möller

remove obsolete BN_CTX info

上级 981cdfab
...@@ -92,18 +92,8 @@ Various routines in this library require the use of temporary ...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册