diff options
| -rw-r--r-- | src/regress/lib/libcrypto/bn/bn_mod_exp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/regress/lib/libcrypto/bn/bn_mod_exp.c b/src/regress/lib/libcrypto/bn/bn_mod_exp.c index 68e44cf9e7..6d25f11b55 100644 --- a/src/regress/lib/libcrypto/bn/bn_mod_exp.c +++ b/src/regress/lib/libcrypto/bn/bn_mod_exp.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bn_mod_exp.c,v 1.17 2023/03/26 18:46:23 tb Exp $ */ | 1 | /* $OpenBSD: bn_mod_exp.c,v 1.18 2023/03/26 18:54:08 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> |
| @@ -24,6 +24,8 @@ | |||
| 24 | 24 | ||
| 25 | #include "bn_local.h" | 25 | #include "bn_local.h" |
| 26 | 26 | ||
| 27 | #define N_MOD_EXP_TESTS 400 | ||
| 28 | |||
| 27 | #define INIT_MOD_EXP_FN(f) { .name = #f, .mod_exp_fn = (f), } | 29 | #define INIT_MOD_EXP_FN(f) { .name = #f, .mod_exp_fn = (f), } |
| 28 | #define INIT_MOD_EXP_MONT_FN(f) { .name = #f, .mod_exp_mont_fn = (f), } | 30 | #define INIT_MOD_EXP_MONT_FN(f) { .name = #f, .mod_exp_mont_fn = (f), } |
| 29 | 31 | ||
| @@ -196,8 +198,6 @@ run_bn_mod_exp_zero_tests(void) | |||
| 196 | return failed; | 198 | return failed; |
| 197 | } | 199 | } |
| 198 | 200 | ||
| 199 | #define N_MOD_EXP_TESTS 400 | ||
| 200 | |||
| 201 | static const struct mod_exp_test { | 201 | static const struct mod_exp_test { |
| 202 | const char *name; | 202 | const char *name; |
| 203 | int (*mod_exp_fn)(BIGNUM *, const BIGNUM *, const BIGNUM *, | 203 | int (*mod_exp_fn)(BIGNUM *, const BIGNUM *, const BIGNUM *, |
