From 9ce5cbf53ca27a11f18b07f80b8c23ec938f0336 Mon Sep 17 00:00:00 2001 From: Mike Hamburg Date: Sun, 22 Mar 2015 18:47:14 -0700 Subject: [PATCH] perf improvement in keygen, sign --- src/include/constant_time.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/include/constant_time.h b/src/include/constant_time.h index 405c2f5..b114146 100644 --- a/src/include/constant_time.h +++ b/src/include/constant_time.h @@ -12,6 +12,7 @@ #define __CONSTANT_TIME_H__ 1 #include "word.h" +#include /* * Constant-time operations on hopefully-compile-time-sized memory @@ -148,7 +149,7 @@ constant_time_lookup ( const unsigned char *table = (const unsigned char *)table_; word_t j,k; - really_memset(out, 0, elem_bytes); + memset(out, 0, elem_bytes); for (j=0; j