From 349a04c9783d2e8cecfe7947de8afc4ee501a27d Mon Sep 17 00:00:00 2001 From: tb <> Date: Tue, 25 Apr 2023 15:34:07 +0000 Subject: bn_mod_exp: temporarily add a prototype for BN_mod_exp_recp() --- src/regress/lib/libcrypto/bn/bn_mod_exp.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') 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 @@ -/* $OpenBSD: bn_mod_exp.c,v 1.35 2023/04/06 07:08:41 tb Exp $ */ +/* $OpenBSD: bn_mod_exp.c,v 1.36 2023/04/25 15:34:07 tb Exp $ */ /* * Copyright (c) 2022,2023 Theo Buehler @@ -28,6 +28,9 @@ #define N_MOD_EXP_TESTS 100 #define N_MOD_EXP2_TESTS 50 +int BN_mod_exp_recp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, + const BIGNUM *m, BN_CTX *ctx); + #define INIT_MOD_EXP_FN(f) { .name = #f, .mod_exp_fn = (f), } #define INIT_MOD_EXP_MONT_FN(f) { .name = #f, .mod_exp_mont_fn = (f), } -- cgit v1.2.3-55-g6feb