diff options
Diffstat (limited to 'include/openssl/bn.h')
-rw-r--r-- | include/openssl/bn.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/openssl/bn.h b/include/openssl/bn.h index c9fba98..37a4bba 100644 --- a/include/openssl/bn.h +++ b/include/openssl/bn.h @@ -351,11 +351,11 @@ OPENSSL_EXPORT int BN_uadd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); /* BN_add_word adds |w| to |a|. It returns one on success and zero otherwise. */ OPENSSL_EXPORT int BN_add_word(BIGNUM *a, BN_ULONG w); -/* BN_sub sets |r| = |a| + |b|, where |r| must be a distinct pointer from |a| +/* BN_sub sets |r| = |a| - |b|, where |r| must be a distinct pointer from |a| * and |b|. It returns one on success and zero on allocation failure. */ OPENSSL_EXPORT int BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); -/* BN_usub sets |r| = |a| + |b|, where |a| and |b| are non-negative integers, +/* BN_usub sets |r| = |a| - |b|, where |a| and |b| are non-negative integers, * |b| < |a| and |r| must be a distinct pointer from |a| and |b|. It returns * one on success and zero on allocation failure. */ OPENSSL_EXPORT int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); |