From 2cac8f3aa8c5fb5079dcfeeb703d2705922297a0 Mon Sep 17 00:00:00 2001 From: tb Date: Sat, 18 Mar 2023 09:09:11 +0000 Subject: [PATCH] Rename bn_mod_exp_zero to the more appropriate bn_mod_exp --- regress/lib/libcrypto/bn/Makefile | 6 +++--- .../lib/libcrypto/bn/{bn_mod_exp_zero.c => bn_mod_exp.c} | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename regress/lib/libcrypto/bn/{bn_mod_exp_zero.c => bn_mod_exp.c} (99%) diff --git a/regress/lib/libcrypto/bn/Makefile b/regress/lib/libcrypto/bn/Makefile index 7e50894076a..71b1f7a8d24 100644 --- a/regress/lib/libcrypto/bn/Makefile +++ b/regress/lib/libcrypto/bn/Makefile @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile,v 1.23 2023/03/18 09:04:05 tb Exp $ +# $OpenBSD: Makefile,v 1.24 2023/03/18 09:09:11 tb Exp $ PROGS += bn_add_sub PROGS += bn_cmp PROGS += bn_isqrt +PROGS += bn_mod_exp PROGS += bn_mod_exp2_mont -PROGS += bn_mod_exp_zero PROGS += bn_mod_sqrt PROGS += bn_mont PROGS += bn_mul_div @@ -17,7 +17,7 @@ PROGS += bn_unit PROGS += bn_word STATIC_LINK += bn_isqrt -STATIC_LINK += bn_mod_exp_zero +STATIC_LINK += bn_mod_exp STATIC_LINK += bn_primes STATIC_LINK += bn_rand_interval STATIC_LINK += bn_test diff --git a/regress/lib/libcrypto/bn/bn_mod_exp_zero.c b/regress/lib/libcrypto/bn/bn_mod_exp.c similarity index 99% rename from regress/lib/libcrypto/bn/bn_mod_exp_zero.c rename to regress/lib/libcrypto/bn/bn_mod_exp.c index 23cfffc5b66..ba70fdee515 100644 --- a/regress/lib/libcrypto/bn/bn_mod_exp_zero.c +++ b/regress/lib/libcrypto/bn/bn_mod_exp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bn_mod_exp_zero.c,v 1.3 2023/03/18 08:55:42 tb Exp $ */ +/* $OpenBSD: bn_mod_exp.c,v 1.14 2023/03/18 09:09:11 tb Exp $ */ /* * Copyright (c) 2022,2023 Theo Buehler -- 2.20.1