From: tb Date: Tue, 25 Apr 2023 15:34:07 +0000 (+0000) Subject: bn_mod_exp: temporarily add a prototype for BN_mod_exp_recp() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9870d2f6338497be9de193e5e4631f5c6fa84429;p=openbsd bn_mod_exp: temporarily add a prototype for BN_mod_exp_recp() --- diff --git a/regress/lib/libcrypto/bn/bn_mod_exp.c b/regress/lib/libcrypto/bn/bn_mod_exp.c index 5988458ab97..c3f669bda1c 100644 --- a/regress/lib/libcrypto/bn/bn_mod_exp.c +++ b/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), }