[Cryptech-Commits] [sw/libhal] 11/11: Software modexp() implementation didn't compile due to missing pro forma hal_core_t* argument.

git at cryptech.is git at cryptech.is
Wed Dec 23 07:22:30 UTC 2015


This is an automated email from the git hooks/post-receive script.

sra at hactrn.net pushed a commit to branch rpc
in repository sw/libhal.

commit 0fc5ab986329e48ac8de0fd8fa12455c1e6345af
Author: Rob Austein <sra at hactrn.net>
Date:   Wed Dec 23 02:18:06 2015 -0500

    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(-)

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)



More information about the Commits mailing list