The bn_set_max() macro is only "used" by the bn_set_[low|high]() macros
authorGeoff Thorpe <geoff@openssl.org>
Mon, 1 Dec 2003 22:11:08 +0000 (22:11 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Mon, 1 Dec 2003 22:11:08 +0000 (22:11 +0000)
commit998ae048e74bb7a58eccae30e548b8acfe092925
tree2813d5b2b433c6ee2ab2f3f3a15709e24b3d4943
parente65c2b9872d52e130e848ac0e9007878f1fb6c78
The bn_set_max() macro is only "used" by the bn_set_[low|high]() macros
which, in turn, are used nowhere at all. This is a good thing because
bn_set_max() would currently generate code that wouldn't compile (BIGNUM
has no 'max' element).

The only apparent use for bn_set_[low|high] would be for implementing
windowing algorithms, and all of openssl's seem to use bn_***_words()
helpers instead (including the BN_div() that Nils fixed recently, which had
been using independently-coded versions of what these unused macros are
intended for). I'm therefore consigning these macros to cvs oblivion in the
name of readability.
crypto/bn/bn_lcl.h