From 0fc5ab986329e48ac8de0fd8fa12455c1e6345af Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Wed, 23 Dec 2015 02:18:06 -0500 Subject: Software modexp() implementation didn't compile due to missing pro forma hal_core_t* argument. --- rsa.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rsa.c') diff --git a/rsa.c b/rsa.c index 86c891a..723d948 100644 --- a/rsa.c +++ b/rsa.c @@ -256,7 +256,8 @@ int fp_exptmod(fp_int *a, fp_int *b, fp_int *c, fp_int *d) * wait for the slow FPGA implementation. */ -static hal_error_t modexp(const fp_int * const msg, +static hal_error_t modexp(const hal_core_t *core, /* ignored */ + const fp_int * const msg, const fp_int * const exp, const fp_int * const mod, fp_int *res) -- cgit v1.2.3