aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-12-23 02:18:06 -0500
committerRob Austein <sra@hactrn.net>2015-12-23 02:18:06 -0500
commit0fc5ab986329e48ac8de0fd8fa12455c1e6345af (patch)
tree3e66770e962aeb3f0672b3294925ca954aad0942
parent8c427a7b537a35d6685fb8a95e9b64732d6b4c49 (diff)
Software modexp() implementation didn't compile due to missing pro
forma hal_core_t* argument.
-rw-r--r--rsa.c3
1 files changed, 2 insertions, 1 deletions
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)