START lib/libcrypto/bn 2024-08-05T21:39:21Z ==== run-regress-bn_add_sub ==== cc -O2 -pipe -Wall -Wundef -Werror -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/ -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/arch/i386/ -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /usr/src/regress/lib/libcrypto/bn/bn_add_sub.c cc -o bn_add_sub bn_add_sub.o -lcrypto ./bn_add_sub ==== run-regress-bn_bits ==== cc -O2 -pipe -Wall -Wundef -Werror -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/ -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/arch/i386/ -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /usr/src/regress/lib/libcrypto/bn/bn_bits.c cc -o bn_bits bn_bits.o -lcrypto ./bn_bits ==== run-regress-bn_cmp ==== cc -O2 -pipe -Wall -Wundef -Werror -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/ -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/arch/i386/ -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /usr/src/regress/lib/libcrypto/bn/bn_cmp.c cc -o bn_cmp bn_cmp.o -lcrypto ./bn_cmp ==== run-regress-bn_convert ==== cc -O2 -pipe -Wall -Wundef -Werror -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/ -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/arch/i386/ -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /usr/src/regress/lib/libcrypto/bn/bn_convert.c cc -o bn_convert bn_convert.o -lcrypto ./bn_convert ==== run-regress-bn_gcd ==== cc -O2 -pipe -Wall -Wundef -Werror -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/ -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/arch/i386/ -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /usr/src/regress/lib/libcrypto/bn/bn_gcd.c cc -o bn_gcd bn_gcd.o -Wl,-Bstatic -lcrypto -Wl,-Bdynamic ./bn_gcd ==== run-regress-bn_general ==== cc -O2 -pipe -Wall -Wundef -Werror -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/ -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/arch/i386/ -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /usr/src/regress/lib/libcrypto/bn/bn_general.c cc -o bn_general bn_general.o -lcrypto ./bn_general ==== run-regress-bn_isqrt ==== cc -O2 -pipe -Wall -Wundef -Werror -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/ -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/arch/i386/ -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /usr/src/regress/lib/libcrypto/bn/bn_isqrt.c cc -o bn_isqrt bn_isqrt.o -Wl,-Bstatic -lcrypto -Wl,-Bdynamic ./bn_isqrt ==== run-regress-bn_mod_exp ==== cc -O2 -pipe -Wall -Wundef -Werror -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/ -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/arch/i386/ -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /usr/src/regress/lib/libcrypto/bn/bn_mod_exp.c cc -o bn_mod_exp bn_mod_exp.o -Wl,-Bstatic -lcrypto -Wl,-Bdynamic ./bn_mod_exp ==== run-regress-bn_mod_inverse ==== cc -O2 -pipe -Wall -Wundef -Werror -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/ -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/arch/i386/ -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /usr/src/regress/lib/libcrypto/bn/bn_mod_inverse.c cc -o bn_mod_inverse bn_mod_inverse.o -lcrypto ./bn_mod_inverse ==== run-regress-bn_mod_sqrt ==== cc -O2 -pipe -Wall -Wundef -Werror -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/ -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/arch/i386/ -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /usr/src/regress/lib/libcrypto/bn/bn_mod_sqrt.c cc -o bn_mod_sqrt bn_mod_sqrt.o -lcrypto ./bn_mod_sqrt ==== run-regress-bn_mont ==== cc -O2 -pipe -Wall -Wundef -Werror -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/ -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/arch/i386/ -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /usr/src/regress/lib/libcrypto/bn/bn_mont.c cc -o bn_mont bn_mont.o -lcrypto ./bn_mont ==== run-regress-bn_mul_div ==== cc -O2 -pipe -Wall -Wundef -Werror -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/ -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/arch/i386/ -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /usr/src/regress/lib/libcrypto/bn/bn_mul_div.c cc -o bn_mul_div bn_mul_div.o -lcrypto ./bn_mul_div ==== run-regress-bn_primes ==== cc -O2 -pipe -Wall -Wundef -Werror -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/ -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/arch/i386/ -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /usr/src/regress/lib/libcrypto/bn/bn_primes.c cc -O2 -pipe -Wall -Wundef -Werror -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/ -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/arch/i386/ -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/bn_small_primes.c cc -o bn_primes bn_primes.o bn_small_primes.o -lcrypto ./bn_primes ==== run-regress-bn_print ==== cc -O2 -pipe -Wall -Wundef -Werror -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/ -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/arch/i386/ -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /usr/src/regress/lib/libcrypto/bn/bn_print.c cc -o bn_print bn_print.o -Wl,-Bstatic -lcrypto -Wl,-Bdynamic ./bn_print ==== run-regress-bn_shift ==== cc -O2 -pipe -Wall -Wundef -Werror -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/ -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/arch/i386/ -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /usr/src/regress/lib/libcrypto/bn/bn_shift.c cc -o bn_shift bn_shift.o -lcrypto ./bn_shift ==== run-regress-bn_test ==== cc -O2 -pipe -Wall -Wundef -Werror -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/ -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/arch/i386/ -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /usr/src/regress/lib/libcrypto/bn/bn_test.c cc -o bn_test bn_test.o -Wl,-Bstatic -lcrypto -Wl,-Bdynamic ./bn_test -out bn_test.out test BN_add test BN_sub test BN_lshift1 test BN_lshift (fixed) test BN_lshift test BN_rshift1 test BN_rshift test BN_sqr test BN_mul test BN_div test BN_div_word test BN_div_recp test BN_mod test BN_mod_mul test BN_mont test BN_mod_exp test BN_mod_exp_mont_consttime test BN_mod_exp_mont5 test BN_exp test BN_kronecker .............................................. .................................................................................................... test BN_mod_sqrt ..... ..... ..... ..... ..... ..... ..... ..... .................. ..... ......................... ..... .. ..... ....... ..... .................. ..... ........ ..... .... ..... .. ..... test Modexp with different sizes ==== run-regress-bn_to_string ==== cc -O2 -pipe -Wall -Wundef -Werror -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/ -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/arch/i386/ -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /usr/src/regress/lib/libcrypto/bn/bn_to_string.c cc -o bn_to_string bn_to_string.o -lcrypto ./bn_to_string ==== run-regress-bn_unit ==== cc -O2 -pipe -Wall -Wundef -Werror -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/ -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/arch/i386/ -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /usr/src/regress/lib/libcrypto/bn/bn_unit.c cc -o bn_unit bn_unit.o -lcrypto ./bn_unit ==== run-regress-bn_word ==== cc -O2 -pipe -Wall -Wundef -Werror -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/ -I/usr/src/regress/lib/libcrypto/bn/../../../../lib/libcrypto/bn/arch/i386/ -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /usr/src/regress/lib/libcrypto/bn/bn_word.c cc -o bn_word bn_word.o -lcrypto ./bn_word ==== run-bn_isqrt_check_tables ==== make -C /usr/src/regress/lib/libcrypto/bn isqrt-print-tables > bn_isqrt_gen_tables.txt.tmp mv -f bn_isqrt_gen_tables.txt.tmp bn_isqrt_gen_tables.txt diff -pu /usr/src/regress/lib/libcrypto/bn/bn_isqrt_tables.txt bn_isqrt_gen_tables.txt ==== run-bc ==== bc-gh < bn_test.out | tee bc.out | grep -v '^0$' test BN_add test BN_sub test BN_lshift1 test BN_lshift (fixed) test BN_lshift test BN_rshift1 test BN_rshift test BN_sqr test BN_mul test BN_div test BN_div_word test BN_div_recp test BN_mod test BN_mod_mul test BN_mont test BN_mod_exp test BN_mod_exp_mont_consttime test BN_mod_exp_mont5 test BN_exp test BN_kronecker test BN_mod_sqrt test Modexp with different sizes ! grep -v '^test '