From 2d37968bdcfb97281386ca56cea59d39c0b98f8b Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sat, 18 Jul 2015 16:45:51 +0200 Subject: Re-enable key generation test and RSA blinding. --- tests/test-rsa.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'tests/test-rsa.c') 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++) -- cgit v1.2.3