History log of /openbsd-src/lib/libcrypto/man/BN_add.3 (Results 1 – 20 of 20)
Revision Date Author Comments
# bc877740 27-Apr-2023 tb <tb@openbsd.org>

One more reciprocal thing hid in here (yay for consistent naming)


# 80fdaf6e 27-Apr-2023 tb <tb@openbsd.org>

Remove stale references to BN reciprocal stuff


# 1c0ab957 31-Jan-2023 jsing <jsing@openbsd.org>

Correctly detect b < a in BN_usub().

BN_usub() requires that a >= b and should return an error in the case that
b < a. This is currently only detected by checking the number of words in
a versus b -

Correctly detect b < a in BN_usub().

BN_usub() requires that a >= b and should return an error in the case that
b < a. This is currently only detected by checking the number of words in
a versus b - if they have the same number of words, the top word is not
checked and b < a, which then succeeds and produces an incorrect result.

Fix this by checking for the case where a and b have an equal number of
words, yet there is a borrow returned from bn_sub_words().

ok miod@ tb@

show more ...


# a6105116 16-Nov-2022 schwarze <schwarze@openbsd.org>

Mark BN_mod_exp2_mont() as intentionally undocumented.
It appears to be intended for internal use by DSA_do_verify(3) and using
codesearch.debian.net, i found nothing outside OpenSSL/LibreSSL using i

Mark BN_mod_exp2_mont() as intentionally undocumented.
It appears to be intended for internal use by DSA_do_verify(3) and using
codesearch.debian.net, i found nothing outside OpenSSL/LibreSSL using it.

In April 2018, jsing@ questioned whether the five related functions
BN_mod_exp_mont() and friends should even be exposed by <openssl/bn.h>,
so we decided to not document them. Now tb@ agrees that there is no
reason to document BN_mod_exp2_mont() as long as we don't want to
document BN_mod_exp_mont().

show more ...


# 77ae073a 20-Dec-2021 schwarze <schwarze@openbsd.org>

document BN_mod_add_quick(3), BN_mod_sub_quick(3), BN_mod_lshift(3),
BN_mod_lshift_quick(3), BN_mod_lshift1(3), and BN_mod_lshift1_quick(3)


# 267bbf87 19-Dec-2021 schwarze <schwarze@openbsd.org>

document BN_uadd(3) and BN_usub(3)


# ceb4d7ca 30-Nov-2021 tb <tb@openbsd.org>

Add missing const qualifiers in a number of BN_* manuals.

ok schwarze


# 2295afa0 29-Apr-2018 schwarze <schwarze@openbsd.org>

In view of the recent BN_FLG_CONSTTIME vulnerabilities in OpenSSL,
carefully document constant time vs. non-constant time operation
of BN_div(3), BN_mod_exp(3), and BN_mod_inverse(3).

Until the work

In view of the recent BN_FLG_CONSTTIME vulnerabilities in OpenSSL,
carefully document constant time vs. non-constant time operation
of BN_div(3), BN_mod_exp(3), and BN_mod_inverse(3).

Until the work that is required on the ill-designed BN_exp(3) and
BN_gcd(3) interfaces can be undertaken, also document the imperfections
in their behaviour, for now. Finally, mention BN_mod_exp(3) behaviour
for even moduli.

Delete the vague statement about some functions automatically
setting BN_FLG_CONSTTIME. It created a false sense of security.
Do not rely on it: not all relevant functions do that.

Topic brought up by beck@, significant feedback and OK jsing@.

show more ...


# 10e00d17 27-Mar-2018 schwarze <schwarze@openbsd.org>

found a complete archive of SSLeay-0.4 to SSLeay-0.8.1b tarballs
on the web, so fix up SSLeay HISTORY accordingly


# 80d1afcd 22-Mar-2018 schwarze <schwarze@openbsd.org>

crypto HISTORY up to 0.9.7; researched from OpenSSL git


# b455b8f6 21-Mar-2018 schwarze <schwarze@openbsd.org>

crypto HISTORY up to SSLeay 0.9.1; researched from OpenSSL git


# ec83942f 21-Mar-2018 schwarze <schwarze@openbsd.org>

bn.h HISTORY up to SSLeay 0.9.0; researched from OpenSSL git


# 0c85fcf7 20-Mar-2018 schwarze <schwarze@openbsd.org>

bn.h HISTORY up to SSLeay 0.8.1b; researched from OpenSSL git


# 48e9223c 30-Jan-2017 schwarze <schwarze@openbsd.org>

Document BN_set_flags(3) and BN_get_flags(3).
jsing@ confirmed that these macros are public and worth documenting.


# 2d95bc5f 07-Jan-2017 schwarze <schwarze@openbsd.org>

correctly mark all documented macros found in <openssl/bn.h>


# 68d7c31c 10-Dec-2016 schwarze <schwarze@openbsd.org>

replace all references to bn(3) with BN_new(3),
and make sure all BN*(3) pages point back to BN_new(3)


# 4301e57c 20-Nov-2016 schwarze <schwarze@openbsd.org>

Add Copyright and license.
Merge a sentence from OpenSSL saying that BN_sub(3)
can do in-place manipulation.


# 8974101a 06-Nov-2016 jmc <jmc@openbsd.org>

first pass; ok schwarze


# 8a89a116 05-Nov-2016 schwarze <schwarze@openbsd.org>

document BN_set_negative() and BN_is_negative();
feedback and OK bcook@, OK jsing@


# f1048625 23-Feb-2015 schwarze <schwarze@openbsd.org>

fourth batch of perlpod(1) to mdoc(7) conversion