diff options
-rw-r--r-- | src/regress/lib/libcrypto/bn/bn_mod_exp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/regress/lib/libcrypto/bn/bn_mod_exp.c b/src/regress/lib/libcrypto/bn/bn_mod_exp.c index 5988458ab9..c3f669bda1 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.35 2023/04/06 07:08:41 tb Exp $ */ | 1 | /* $OpenBSD: bn_mod_exp.c,v 1.36 2023/04/25 15:34:07 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> |
@@ -28,6 +28,9 @@ | |||
28 | #define N_MOD_EXP_TESTS 100 | 28 | #define N_MOD_EXP_TESTS 100 |
29 | #define N_MOD_EXP2_TESTS 50 | 29 | #define N_MOD_EXP2_TESTS 50 |
30 | 30 | ||
31 | int BN_mod_exp_recp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, | ||
32 | const BIGNUM *m, BN_CTX *ctx); | ||
33 | |||
31 | #define INIT_MOD_EXP_FN(f) { .name = #f, .mod_exp_fn = (f), } | 34 | #define INIT_MOD_EXP_FN(f) { .name = #f, .mod_exp_fn = (f), } |
32 | #define INIT_MOD_EXP_MONT_FN(f) { .name = #f, .mod_exp_mont_fn = (f), } | 35 | #define INIT_MOD_EXP_MONT_FN(f) { .name = #f, .mod_exp_mont_fn = (f), } |
33 | 36 | ||