aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-07-18 16:45:51 +0200
committerRob Austein <sra@hactrn.net>2015-07-18 16:45:51 +0200
commit2d37968bdcfb97281386ca56cea59d39c0b98f8b (patch)
tree96875749ff2366e060c2df0e2bd0dfcf40a0f9e6 /tests
parent0915302b7ffa0757be1859d73f14037f338c0253 (diff)
Re-enable key generation test and RSA blinding.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-rsa.c11
1 files changed, 0 insertions, 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++)