Measurements of public-key cryptosystems on one machine: amd64; Haswell+AES (306c3); 2013 Intel Core i7-4765T; 4 x 2000MHz; prodesk, supercop-20241022
[Page version: 20241120 00:41:14]
eBATS
(ECRYPT Benchmarking
of Asymmetric Systems)
is a project
to measure the performance of public-key systems.
This page presents benchmark results collected in eBATS
for public-key encryption:
- Time (cycles) to generate a key pair:
a secret key and a corresponding public key.
- Time to encrypt a short message (59 bytes).
- Time to decrypt a short message,
i.e., to recover a short message from a (larger) ciphertext.
- Space (bytes) for a secret key.
- Space for a public key.
- Ciphertext length for a 0-byte message.
- Ciphertext overhead for a 23-byte message:
the ciphertext length minus 23 bytes.
- Ciphertext overhead for a long message:
the ciphertext length minus the message length.
Each table row lists
the first quartile of many speed measurements,
the median of many speed measurements,
the third quartile of many speed measurements, and
the name of the primitive.
Measurements with large variance are indicated in red with question marks.
The symbol
C:
means that the current SUPERCOP database does not list IND-CCA2 security
as a goal for this public-key cryptosystem.
The symbol
T:
(starting with supercop-20200816)
means that the SUPERCOP database
at the time of benchmarking did not list constant time
as a goal for this implementation.
The symbol
T!!!
means that constant time was listed as a goal for this implementation,
but that the implementation failed TIMECOP.
(TIMECOP failures are not necessarily security issues;
they can sometimes be resolved by, e.g., declaring that a rejection-sampling condition is safe to declassify.)
There is a
separate page
with more information about each public-key cryptosystem and each implementation.
Designers and implementors
interested in submitting new public-key cryptosystems
and new implementations of existing cryptosystems
should read the call for submissions.
Test results
Graphs:
(pkcycles,pkbytes)
(ccycles,pkbytes)
(ccycles,cbytes)
(mcycles,cbytes)
(pkbytes,cbytes)
Cycles to generate a key pair |
25% | 50% | 75% | system |
55600 | 56068 | 56736 | T: r5nd1pke5d |
75296 | 77064 | 79272 | T: r5nd1pke0d |
104332 | 105408 | 106580 | T: r5nd3pke5d |
105552 | 106972 | 108136 | T: r5nd3pke0d |
129888 | 131608 | 133072 | T: r5nd5pke0d |
183848 | 185608 | 187028 | T: r5nd5pke5d |
532592 | 556308 | 560596 | T: r5n11pke0d |
1228404 | 1236056 | 1288440 | T: r5n13pke0d |
1613748 | 1641252 | 1645456 | T: r5n15pke0d |
2868844 | 2883720 | 2910492 | T: ledapkc1464 |
3700160 | 3727396 | 3753132 | T: ledapkc1364 |
3915772 | 3931620 | 3963604 | T: ledapkc1264 |
4708664? | 4909056? | 6360472? | T: ledapkc14sl |
4349716? | 5504232? | 6683920? | T: ledapkc13sl |
6357672 | 6629160 | 7119480 | T: ledapkc12sl |
6766696? | 6816052? | 9657636? | T: ledapkc3464 |
7864500 | 7951332 | 7976856 | T: ledapkc3364 |
9073456 | 9100084 | 9118572 | T: ledapkc3264 |
10245756 | 10278416 | 10790720 | T: ledapkc33sl |
10367800? | 10511064? | 13861096? | T: ledapkc34sl |
11326880 | 12342408 | 12355800 | T: lotus128 |
12795736 | 12824200 | 12916820 | T: ledapkc5464 |
13002468 | 13027432 | 13041540 | T: ledapkc5364 |
13371284 | 13443656 | 14834444 | T: ledapkc32sl |
16311776? | 16329372? | 21984464? | T: ledapkc54sl |
20536920 | 21168268 | 24179136 | T: ledapkc53sl |
20455848 | 21870596 | 22996776 | T: ledapkc5264 |
21638568 | 22174476 | 22268564 | T: lotus192 |
31109308 | 31315284 | 35706736 | T: ledapkc52sl |
30893256 | 32275948 | 33790080 | T: C:mceliece |
32074452 | 32341968 | 32537256 | T: mcnie4q1281 |
35869436 | 36353900 | 40544672 | T: lotus256 |
37428764 | 37511512 | 38664984 | T: r5n13pke0smallct |
44015884 | 44264864 | 44837312 | T: mcnie3q1281 |
55171304 | 55613940 | 55976092 | T: mcnie4q1282 |
62642816 | 63083336 | 63883060 | T: mcnie3q1282 |
74684836 | 75001620 | 75238980 | T: mcnie4q1921 |
84341728 | 84692500 | 85265308 | T: mcnie3q1921 |
94418616 | 94552488 | 94635608 | T: mcnie4q2561 |
100386324 | 100744220 | 101124000 | T: mcnie4q1922 |
118374220 | 119008960 | 119906684 | T: mcnie3q1922 |
122646044 | 123033476 | 123441772 | T: mcnie3q2561 |
131193476 | 131334540 | 131410500 | T: mcnie4q2562 |
84234728? | 143234164? | 234742412? | T: cargocult2048 |
101099996? | 151976000? | 240662504? | T: rsa2048 |
193942264 | 194350516 | 195074668 | T: mcnie3q2562 |
4505724196 | 4606697540 | 4764662812 | T: pqrsa15 |
|
Cycles to encrypt 59 bytes |
25% | 50% | 75% | system |
27256 | 27720 | 28580 | T: cargocult2048 |
27200 | 27796 | 28776 | T: rsa2048 |
46112 | 46940 | 47256 | T: C:mceliece |
104196 | 104816 | 105760 | T: r5nd1pke5d |
141900 | 143020 | 144936 | T: r5nd1pke0d |
156976 | 173296 | 176572 | T: lotus128 |
184920 | 187548 | 188636 | T: r5nd3pke5d |
201312 | 209672 | 218528 | T: r5nd3pke0d |
245560 | 246316 | 247364 | T: r5nd5pke0d |
301900 | 303692 | 314676 | T: r5nd5pke5d |
305332 | 306060 | 360836 | T: lotus256 |
319440 | 321280 | 323120 | T: mcnie4q1281 |
333792 | 336408 | 336920 | T: lotus192 |
433148 | 438708 | 442136 | T: mcnie4q1282 |
538156 | 539552 | 540816 | T: mcnie4q1921 |
626908 | 627312 | 628256 | T: ledapkc1264 |
635016 | 636428 | 638004 | T: mcnie4q1922 |
655904 | 656548 | 657248 | T: mcnie4q2561 |
667136 | 668300 | 672636 | T: mcnie3q1281 |
747584 | 748608 | 749800 | T: ledapkc12sl |
775340 | 776712 | 777840 | T: mcnie4q2562 |
780428 | 781764 | 789616 | T: r5n11pke0d |
808000 | 810008 | 810836 | T: ledapkc1364 |
821672 | 823216 | 826612 | T: mcnie3q1282 |
883252 | 884176 | 886808 | T: ledapkc1464 |
928096 | 929036 | 930228 | T: ledapkc13sl |
1033552 | 1036488 | 1040340 | T: mcnie3q1921 |
1130412 | 1131440 | 1137500 | T: ledapkc14sl |
1291252 | 1295376 | 1297276 | T: mcnie3q1922 |
1289484 | 1298388 | 1325720 | T: ledapkc3264 |
1451120 | 1453912 | 1458224 | T: mcnie3q2561 |
1487148 | 1492120 | 1507548 | T: ledapkc3364 |
1624892 | 1633692 | 1666752 | T: ledapkc32sl |
1634344 | 1640236 | 1642740 | T: ledapkc3464 |
1683796 | 1700132 | 1750308 | T: r5n13pke0d |
1818196 | 1822660 | 1824364 | T: mcnie3q2562 |
1969588 | 1988428 | 2032692 | T: ledapkc33sl |
2169448 | 2172496 | 2177692 | T: r5n15pke0d |
2362160 | 2366448 | 2382480 | T: ledapkc34sl |
2388388 | 2405184 | 2442032 | T: ledapkc5264 |
2431056 | 2447016 | 2457848 | T: r5n13pke0smallct |
2468500 | 2475980 | 2480340 | T: ledapkc5364 |
2985896 | 2995508 | 3001876 | T: ledapkc5464 |
3181724 | 3188276 | 3194268 | T: ledapkc52sl |
3533168 | 3535008 | 3541464 | T: ledapkc53sl |
3591432 | 3594552 | 3600300 | T: ledapkc54sl |
21308308 | 21328768 | 21381340 | T: pqrsa15 |
|
Cycles to decrypt 59 bytes |
25% | 50% | 75% | system |
112444 | 113236 | 114368 | T: r5nd1pke5d |
168804 | 170624 | 173456 | T: r5nd1pke0d |
185052 | 188316 | 189296 | T: lotus128 |
235752 | 239776 | 243060 | T: r5nd3pke5d |
254688 | 260096 | 268448 | T: r5nd3pke0d |
319356 | 320944 | 323680 | T: r5nd5pke0d |
386336 | 388872 | 474336 | T: lotus256 |
397924 | 398940 | 405064 | T: lotus192 |
425632 | 427812 | 437836 | T: r5nd5pke5d |
870980 | 873328 | 885248 | T: r5n11pke0d |
964508 | 969840 | 978052 | T: mcnie4q1281 |
1027556 | 1044236 | 1053068 | T: C:mceliece |
1309120 | 1316008 | 1327656 | T: mcnie4q1282 |
1329004 | 1337332 | 1346536 | T: mcnie3q1281 |
1604852 | 1609576 | 1619780 | T: mcnie4q1921 |
1648272 | 1654816 | 1667420 | T: mcnie3q1282 |
1887804 | 1895432 | 1904252 | T: mcnie4q1922 |
1919776 | 1927332 | 1934908 | T: mcnie4q2561 |
1981032 | 1990704 | 1997808 | T: mcnie3q1921 |
2186680 | 2217644 | 2235824 | T: r5n13pke0d |
2248136 | 2259116 | 2289192 | T: ledapkc1264 |
2272492 | 2282768 | 2295240 | T: mcnie4q2562 |
2362356 | 2369816 | 2384740 | T: mcnie3q1922 |
2503892 | 2530020 | 2587448 | T: ledapkc1364 |
2556704 | 2565324 | 2574224 | T: mcnie3q2561 |
2606880 | 2634952 | 2856924 | T: ledapkc1464 |
2636608 | 2641276 | 2643708 | T: cargocult2048 |
2640304 | 2642304 | 2650572 | T: rsa2048 |
2635788 | 2653644 | 2659420 | T: r5n15pke0d |
3009724 | 3016968 | 3118536 | T: ledapkc13sl |
3228008 | 3292604 | 3301228 | T: ledapkc12sl |
3296536 | 3305424 | 3315152 | T: mcnie3q2562 |
3619240 | 3732032 | 3834708 | T: ledapkc14sl |
6486348 | 6671260 | 6708088 | T: ledapkc3464 |
6708476 | 6731180 | 6734732 | T: ledapkc3364 |
6695416 | 6745492 | 6787488 | T: ledapkc3264 |
8752376 | 8809680 | 8878284 | T: ledapkc32sl |
10110744 | 10206576 | 10364936 | T: ledapkc33sl |
11200028 | 11217096 | 11265972 | T: r5n13pke0smallct |
11202560 | 11299820 | 11329764 | T: ledapkc34sl |
14092288 | 14121232 | 14178796 | T: ledapkc5264 |
15283844 | 15391468 | 15892812 | T: ledapkc5364 |
18798628 | 18826744 | 19171260 | T: ledapkc5464 |
20717604 | 20730984 | 20933220 | T: ledapkc52sl |
21216036 | 21311260 | 21316768 | T: ledapkc53sl |
22887812 | 22912648 | 22948096 | T: ledapkc54sl |
146691452 | 146720692 | 146851500 | T: pqrsa15 |
|
|
|