summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-03-18 09:09:12 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-03-18 09:09:12 +0000
commitdc2b96220f99b05ba13fe46af812ba731d932e89 (patch)
treea3ff7f20eaeac99db2c83a37ca34b0634fc01610
parent45871cfaaa92e0141db3038dbf7818fe26553262 (diff)
Rename bn_mod_exp_zero to the more appropriate bn_mod_exp
-rw-r--r--regress/lib/libcrypto/bn/Makefile6
-rw-r--r--regress/lib/libcrypto/bn/bn_mod_exp.c (renamed from regress/lib/libcrypto/bn/bn_mod_exp_zero.c)2
2 files changed, 4 insertions, 4 deletions
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
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 <tb@openbsd.org>