Unifdef MONT_WORD.
authorjsing <jsing@openbsd.org>
Tue, 21 Feb 2023 05:58:08 +0000 (05:58 +0000)
committerjsing <jsing@openbsd.org>
Tue, 21 Feb 2023 05:58:08 +0000 (05:58 +0000)
commit58e22783d3c4def77aab6f8d8ddfcb22b561adae
tree188118d9687a56c2683cb2d955e6c3274dd80e4e
parent6ff98d99514898065054c7636a654fe8d29d1840
Unifdef MONT_WORD.

It does not make sense to use code that is slower, currently broken and
prevents the use of assembly Montgomery implementations.

This is the result of `unifdef -m -DMONT_WORD`, followed by some manual
clean up and the removal of the Ni bignum from BN_MONT_CTX (which was only
used in the non-MONT_WORD case).

ok miod@ tb@
lib/libcrypto/bn/bn_local.h
lib/libcrypto/bn/bn_mont.c