summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2023-03-18 09:09:11 +0000
committertb <>2023-03-18 09:09:11 +0000
commit740e694ff51501faf27b22133d349bb0c34a7504 (patch)
treeff69ed6742f7b873f4e98eeea584f20f1786c132
parentaa57c989d0902408f2fb4581df46b0512ed27b73 (diff)
downloadopenbsd-740e694ff51501faf27b22133d349bb0c34a7504.tar.gz
openbsd-740e694ff51501faf27b22133d349bb0c34a7504.tar.bz2
openbsd-740e694ff51501faf27b22133d349bb0c34a7504.zip
Rename bn_mod_exp_zero to the more appropriate bn_mod_exp
-rw-r--r--src/regress/lib/libcrypto/bn/Makefile6
-rw-r--r--src/regress/lib/libcrypto/bn/bn_mod_exp.c (renamed from src/regress/lib/libcrypto/bn/bn_mod_exp_zero.c)2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/regress/lib/libcrypto/bn/Makefile b/src/regress/lib/libcrypto/bn/Makefile
index 7e50894076..71b1f7a8d2 100644
--- a/src/regress/lib/libcrypto/bn/Makefile
+++ b/src/regress/lib/libcrypto/bn/Makefile
@@ -1,10 +1,10 @@
1# $OpenBSD: Makefile,v 1.23 2023/03/18 09:04:05 tb Exp $ 1# $OpenBSD: Makefile,v 1.24 2023/03/18 09:09:11 tb Exp $
2 2
3PROGS += bn_add_sub 3PROGS += bn_add_sub
4PROGS += bn_cmp 4PROGS += bn_cmp
5PROGS += bn_isqrt 5PROGS += bn_isqrt
6PROGS += bn_mod_exp
6PROGS += bn_mod_exp2_mont 7PROGS += bn_mod_exp2_mont
7PROGS += bn_mod_exp_zero
8PROGS += bn_mod_sqrt 8PROGS += bn_mod_sqrt
9PROGS += bn_mont 9PROGS += bn_mont
10PROGS += bn_mul_div 10PROGS += bn_mul_div
@@ -17,7 +17,7 @@ PROGS += bn_unit
17PROGS += bn_word 17PROGS += bn_word
18 18
19STATIC_LINK += bn_isqrt 19STATIC_LINK += bn_isqrt
20STATIC_LINK += bn_mod_exp_zero 20STATIC_LINK += bn_mod_exp
21STATIC_LINK += bn_primes 21STATIC_LINK += bn_primes
22STATIC_LINK += bn_rand_interval 22STATIC_LINK += bn_rand_interval
23STATIC_LINK += bn_test 23STATIC_LINK += bn_test
diff --git a/src/regress/lib/libcrypto/bn/bn_mod_exp_zero.c b/src/regress/lib/libcrypto/bn/bn_mod_exp.c
index 23cfffc5b6..ba70fdee51 100644
--- a/src/regress/lib/libcrypto/bn/bn_mod_exp_zero.c
+++ b/src/regress/lib/libcrypto/bn/bn_mod_exp.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bn_mod_exp_zero.c,v 1.3 2023/03/18 08:55:42 tb Exp $ */ 1/* $OpenBSD: bn_mod_exp.c,v 1.14 2023/03/18 09:09:11 tb Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2022,2023 Theo Buehler <tb@openbsd.org> 4 * Copyright (c) 2022,2023 Theo Buehler <tb@openbsd.org>