[Cryptech-Commits] [sw/libhal] 01/01: Re-enable key generation test and RSA blinding.
git at cryptech.is
git at cryptech.is
Sat Jul 18 14:47:06 UTC 2015
This is an automated email from the git hooks/post-receive script.
sra at hactrn.net pushed a commit to branch modexps6
in repository sw/libhal.
commit 2d37968bdcfb97281386ca56cea59d39c0b98f8b
Author: Rob Austein <sra at hactrn.net>
Date: Sat Jul 18 16:45:51 2015 +0200
Re-enable key generation test and RSA blinding.
---
tests/test-rsa.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/tests/test-rsa.c b/tests/test-rsa.c
index 4b4d7b3..f6bf55c 100644
--- a/tests/test-rsa.c
+++ b/tests/test-rsa.c
@@ -271,15 +271,9 @@ static int test_rsa(const rsa_tc_t * const tc)
/* RSA decyrption using CRT */
time_check(test_decrypt("Signature (CRT)", tc));
-#if 1
-#warning Key generation tests disabled
-#else
-
/* Key generation and CRT -- not test vector, so writes key and sig to file */
time_check(test_gen("Generation and CRT", tc));
-#endif
-
return ok;
}
@@ -307,11 +301,6 @@ int main(int argc, char *argv[])
hal_modexp_set_debug(1);
-#if 1
-#warning RSA blinding disabled
- hal_rsa_set_blinding(0);
-#endif
-
/* Normal test */
for (i = 0; i < (sizeof(rsa_tc)/sizeof(*rsa_tc)); i++)
More information about the Commits
mailing list