Skip to content

Commit 50584ac

Browse files
committed
do timing on actual RSA key sizes
1 parent 49bb37d commit 50584ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demos/timing.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ static void time_rsa(void)
707707

708708
if (ltc_mp.name == NULL) return;
709709

710-
for (x = 1024; x <= 2048; x += 256) {
710+
for (x = 2048; x <= 8192; x <<= 1) {
711711
t2 = 0;
712712
for (y = 0; y < 4; y++) {
713713
t_start();

0 commit comments

Comments
 (0)