demo/test: enable montogomery and prime tests per default
This commit is contained in:
parent
06e1cd7216
commit
1e129bf61e
@ -159,7 +159,6 @@ int main(void)
|
|||||||
printf("Testing read_radix\n");
|
printf("Testing read_radix\n");
|
||||||
fp_read_radix(&a, "123456789012345678901234567890", 16); draw(&a);
|
fp_read_radix(&a, "123456789012345678901234567890", 16); draw(&a);
|
||||||
|
|
||||||
#if 0
|
|
||||||
/* test mont */
|
/* test mont */
|
||||||
printf("Montgomery test #1\n");
|
printf("Montgomery test #1\n");
|
||||||
fp_set(&a, 0x1234567ULL);
|
fp_set(&a, 0x1234567ULL);
|
||||||
@ -217,7 +216,6 @@ int main(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
printf("\n\n");
|
printf("\n\n");
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef TESTING
|
#ifdef TESTING
|
||||||
goto testing;
|
goto testing;
|
||||||
|
Loading…
Reference in New Issue
Block a user