mirror of
https://github.com/openbsd/src.git
synced 2025-01-10 06:47:55 -08:00
bn_mod_exp: temporarily add a prototype for BN_mod_exp_recp()
This commit is contained in:
parent
87562733b2
commit
9870d2f633
@ -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 <tb@openbsd.org>
|
||||
@ -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), }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user