crypto/bn: add more fixed-top routines.
authorAndy Polyakov <appro@openssl.org>
Fri, 10 Aug 2018 17:31:22 +0000 (19:31 +0200)
committerAndy Polyakov <appro@openssl.org>
Tue, 28 Aug 2018 17:26:44 +0000 (19:26 +0200)
commita6d8fe92a601728138e645302fa8bab7ca54fb58
treee2c5375e38ccf1d4c6ee1b50672ca5598ad5a8bb
parent5eee95a54de6854e60886c8e662a902184b12d04
crypto/bn: add more fixed-top routines.

Add bn_mul_fixed_top, bn_from_mont_fixed_top, bn_mod_sub_fixed_top.
Switch to bn_{mul|sqr}_fixed_top in bn_mul_mont_fixed_top and remove
memset in bn_from_montgomery_word.

(cherry picked from commit fcc4ee09473cac511eca90faa003661c7786e4f9)

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/6940)
crypto/bn/bn_mod.c
crypto/bn/bn_mont.c
crypto/bn/bn_mul.c
crypto/bn/bn_sqr.c
crypto/include/internal/bn_int.h