[Cryptech-Commits] [sw/libhal] 02/02: Free modexp core after using it.

git at cryptech.is git at cryptech.is
Wed May 17 23:33:34 UTC 2017


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

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

commit ef862544e8a183b99909008873808a3e3b0d54ac
Author: Rob Austein <sra at hactrn.net>
AuthorDate: Wed May 17 19:31:20 2017 -0400

    Free modexp core after using it.
---
 modexp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modexp.c b/modexp.c
index bad492b..f097f33 100644
--- a/modexp.c
+++ b/modexp.c
@@ -226,6 +226,7 @@ hal_error_t hal_modexp(hal_core_t *core,
   /* Extract result */
   check(get_buffer(core, MODEXPS6_ADDR_RESULT, result, mod_len));
 
+  hal_core_free(core);
   return HAL_OK;
 }
 



More information about the Commits mailing list