diff options
author | Rob Austein <sra@hactrn.net> | 2015-12-23 02:18:06 -0500 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2015-12-23 02:18:06 -0500 |
commit | 0fc5ab986329e48ac8de0fd8fa12455c1e6345af (patch) | |
tree | 3e66770e962aeb3f0672b3294925ca954aad0942 | |
parent | 8c427a7b537a35d6685fb8a95e9b64732d6b4c49 (diff) |
Software modexp() implementation didn't compile due to missing pro
forma hal_core_t* argument.
-rw-r--r-- | rsa.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |