summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2005-04-22 20:02:44 +0000
committerNils Larsch <nils@openssl.org>2005-04-22 20:02:44 +0000
commitff22e913a3fbeb025e612828859102aa1a3effaa (patch)
tree9b30cca57b4f6fd9436fb222dbd2fe9647bc56a9 /doc
parent04d0d0accfbfe88cb52c92abf521c69577c8d33e (diff)
downloadopenssl-new-ff22e913a3fbeb025e612828859102aa1a3effaa.tar.gz
- use BN_set_negative and BN_is_negative instead of BN_set_sign
and BN_get_sign - implement BN_set_negative as a function - always use "#define BN_is_zero(a) ((a)->top == 0)"
Diffstat (limited to 'doc')
-rw-r--r--doc/crypto/bn.pod3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/crypto/bn.pod b/doc/crypto/bn.pod
index 210dfeac08..c3b0d08918 100644
--- a/doc/crypto/bn.pod
+++ b/doc/crypto/bn.pod
@@ -27,6 +27,9 @@ bn - multiprecision integer arithmetics
int BN_num_bits(const BIGNUM *a);
int BN_num_bits_word(BN_ULONG w);
+ void BN_set_negative(BIGNUM *a, int n);
+ int BN_is_negative(const BIGNUM *a);
+
int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
int BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
int BN_mul(BIGNUM *r, BIGNUM *a, BIGNUM *b, BN_CTX *ctx);