Measurements of public-key cryptosystems on one machine: amd64; Zen 4 (a60f12); 2023 AMD Ryzen 7 7700; 8 x 3800MHz; hertz, supercop-20261004
[Page version: 20261011 10:38:00]
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 (or StQ1 starting with supercop-20260214),
the median of many speed measurements (or StQ2 starting with supercop-20260214),
the third quartile of many speed measurements (or StQ3 starting with supercop-20260214), and
the name of the primitive.
Measurements with large interquartile range (or stabilized interquartile range) 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 |
| 40203 | 40796 | 41446 | T: r5nd1pke5d |
| 53090 | 53852 | 55026 | T: r5nd1pke0d |
| 70941 | 71875 | 73426 | T: r5nd3pke5d |
| 71347 | 72121 | 73222 | T: r5nd3pke0d |
| 85366 | 86140 | 86916 | T: r5nd5pke0d |
| 120048 | 122514 | 124869 | T: r5nd5pke5d |
| 388190 | 389523 | 391182 | T: r5n11pke0d |
| 887961 | 891425 | 894391 | T: r5n13pke0d |
| 1118028 | 1124346 | 1132550 | T: r5n15pke0d |
| 2804354 | 2809861 | 2819034 | T: ledapkc1464 |
| 3286781 | 3314214 | 3388992 | T: ledapkc1364 |
| 3484822 | 3488813 | 3499350 | T: ledapkc1264 |
| 4157505? | 4163515? | 5458647? | T: ledapkc14sl |
| 4254502? | 5175732? | 6349489? | T: ledapkc13sl |
| 5853087? | 5931202? | 8438757? | T: ledapkc3464 |
| 5832523 | 5986200 | 6613200 | T: ledapkc12sl |
| 7248840 | 7257609 | 7266742 | T: ledapkc3364 |
| 7471353 | 7475865 | 7481207 | T: lotus128 |
| 8540237 | 8610719 | 9326811 | T: ledapkc33sl |
| 8858236 | 8880428 | 9279585 | T: ledapkc3264 |
| 9397854 | 9413367 | 10427110 | T: ledapkc34sl |
| 9859205 | 9901733 | 9980071 | T: ledapkc5464 |
| 11713024 | 12167994 | 13546843 | T: ledapkc32sl |
| 12472572 | 12487497 | 12805954 | T: ledapkc5364 |
| 13760057 | 13786629 | 14074456 | T: ledapkc54sl |
| 14412679 | 14422097 | 14464804 | T: lotus192 |
| 15618872 | 15692306 | 15740878 | T: C:ntruees787ep1 |
| 18399432 | 18804701 | 21975713 | T: ledapkc53sl |
| 18087559 | 18885385 | 20893466 | T: ledapkc5264 |
| 19319857 | 19491836 | 20293847 | T: r5n13pke0smallct |
| 22762992 | 22815298 | 22902823 | T: mcnie4q1281 |
| 24164583 | 24194137 | 24257796 | T: lotus256 |
| 24649441 | 25325056 | 26588782 | T: C:mceliece |
| 30458075 | 30661042 | 31174597 | T: mcnie3q1281 |
| 29674701 | 30891072 | 33294891 | T: ledapkc52sl |
| 39092187 | 39179363 | 39259650 | T: mcnie4q1282 |
| 43512971 | 43890369 | 44430891 | T: mcnie3q1282 |
| 50427573 | 50497747 | 50582228 | T: mcnie4q1921 |
| 35585083? | 52471501? | 74273948? | T: ronald1024 |
| 56290503 | 56500534 | 56884359 | T: mcnie3q1921 |
| 65501496 | 65600019 | 65711518 | T: mcnie4q2561 |
| 67809914 | 67898790 | 68031297 | T: mcnie4q1922 |
| 76292719 | 76613921 | 77082965 | T: mcnie3q1922 |
| 81290934 | 81579788 | 82001560 | T: mcnie3q2561 |
| 89375444 | 89550467 | 89752445 | T: mcnie4q2562 |
| 131582463 | 132014287 | 132867007 | T: mcnie3q2562 |
| 147013831? | 238340521? | 311832718? | T: ronald1536 |
| 271812624? | 430371568? | 613741059? | T: ronald2048 |
| 1049958234? | 1618203970? | 2345609959? | T: ronald3072 |
| 2786624426? | 4316921431? | 5950363417? | T: ronald4096 |
|
| Cycles to encrypt 59 bytes |
| 25% | 50% | 75% | system |
| 24052 | 24190 | 24619 | T: ronald1024 |
| 32973 | 33506 | 34613 | T: ronald1536 |
| 37387 | 37819 | 38370 | T: C:mceliece |
| 44490 | 45428 | 46278 | T: ronald2048 |
| 76317 | 76981 | 77596 | T: r5nd1pke5d |
| 77631 | 78432 | 79835 | T: ronald3072 |
| 76689 | 78493 | 79002 | T: C:ntruees787ep1 |
| 97502 | 98406 | 99198 | T: r5nd1pke0d |
| 102868 | 104096 | 104767 | T: lotus128 |
| 121838 | 122948 | 124478 | T: ronald4096 |
| 128950 | 129841 | 130571 | T: r5nd3pke5d |
| 131095 | 132062 | 133433 | T: r5nd3pke0d |
| 145064 | 145884 | 146510 | T: lotus192 |
| 160009 | 160645 | 161374 | T: r5nd5pke0d |
| 200033 | 201142 | 213289 | T: lotus256 |
| 205747 | 207149 | 208296 | T: r5nd5pke5d |
| 230276 | 231710 | 240476 | T: mcnie4q1281 |
| 317376 | 318388 | 319659 | T: mcnie4q1282 |
| 383615 | 384473 | 385827 | T: mcnie4q1921 |
| 449559 | 450614 | 451937 | T: mcnie4q1922 |
| 478700 | 479553 | 480734 | T: mcnie4q2561 |
| 486390 | 487442 | 488470 | T: r5n11pke0d |
| 489161 | 489973 | 491098 | T: mcnie3q1281 |
| 555636 | 556599 | 558291 | T: mcnie4q2562 |
| 590332 | 591554 | 593321 | T: mcnie3q1282 |
| 591307 | 596908 | 607301 | T: ledapkc1264 |
| 694044 | 698074 | 710338 | T: ledapkc1364 |
| 711535 | 715449 | 730383 | T: ledapkc12sl |
| 731780 | 733850 | 735877 | T: mcnie3q1921 |
| 728348 | 740086 | 755786 | T: ledapkc1464 |
| 803314 | 809191 | 819322 | T: ledapkc13sl |
| 875107 | 877862 | 879780 | T: mcnie3q1922 |
| 915174 | 919379 | 932791 | T: ledapkc14sl |
| 1009763 | 1012775 | 1027180 | T: mcnie3q2561 |
| 1079601 | 1093178 | 1100968 | T: r5n13pke0d |
| 1092970 | 1098078 | 1121700 | T: ledapkc3264 |
| 1264499 | 1272825 | 1298039 | T: ledapkc3364 |
| 1290982 | 1293766 | 1297470 | T: mcnie3q2562 |
| 1295471 | 1299621 | 1310974 | T: ledapkc3464 |
| 1302717 | 1309051 | 1332923 | T: ledapkc32sl |
| 1421319 | 1445971 | 1453220 | T: r5n15pke0d |
| 1519076 | 1530230 | 1576254 | T: ledapkc33sl |
| 1874532 | 1876994 | 1897819 | T: r5n13pke0smallct |
| 1902391 | 1911173 | 1946859 | T: ledapkc34sl |
| 1901697 | 1914205 | 1939410 | T: ledapkc5264 |
| 2103926 | 2112117 | 2131591 | T: ledapkc5364 |
| 2238173 | 2264506 | 2295566 | T: ledapkc5464 |
| 2542657 | 2568691 | 2594074 | T: ledapkc52sl |
| 2716537 | 2723715 | 2755293 | T: ledapkc54sl |
| 2809908 | 2829240 | 2858155 | T: ledapkc53sl |
|
| Cycles to decrypt 59 bytes |
| 25% | 50% | 75% | system |
| 69528 | 70305 | 71062 | T: r5nd1pke5d |
| 92367 | 94758 | 100220 | T: C:ntruees787ep1 |
| 100262 | 100871 | 102747 | T: r5nd1pke0d |
| 116464 | 117701 | 118251 | T: lotus128 |
| 126243 | 127447 | 128403 | T: r5nd3pke5d |
| 149622 | 150362 | 157288 | T: r5nd3pke0d |
| 169085 | 169798 | 170325 | T: lotus192 |
| 192664 | 193399 | 193996 | T: r5nd5pke0d |
| 209638 | 211467 | 212516 | T: r5nd5pke5d |
| 235440 | 236063 | 236931 | T: lotus256 |
| 539330 | 540731 | 541835 | T: r5n11pke0d |
| 554948 | 561223 | 568711 | T: mcnie4q1281 |
| 679293 | 685911 | 691453 | T: ronald1024 |
| 749240 | 753397 | 760116 | T: mcnie3q1281 |
| 768459 | 771285 | 777900 | T: mcnie4q1282 |
| 802054 | 817801 | 838240 | T: C:mceliece |
| 912915 | 915719 | 924707 | T: mcnie4q1921 |
| 928115 | 936505 | 948876 | T: mcnie3q1282 |
| 1089820 | 1093087 | 1106565 | T: mcnie4q1922 |
| 1126507 | 1133028 | 1144929 | T: mcnie4q2561 |
| 1125620 | 1134449 | 1150324 | T: mcnie3q1921 |
| 1284344 | 1295246 | 1300737 | T: r5n13pke0d |
| 1332074 | 1339394 | 1371416 | T: mcnie4q2562 |
| 1342653 | 1358432 | 1379669 | T: mcnie3q1922 |
| 1513652 | 1519335 | 1535997 | T: mcnie3q2561 |
| 1568074 | 1576425 | 1585420 | T: ledapkc1264 |
| 1601381 | 1606769 | 1611525 | T: r5n15pke0d |
| 1845220 | 1857862 | 1868419 | T: ronald2048 |
| 1939477 | 1945493 | 1962020 | T: ledapkc1364 |
| 1966921 | 1977000 | 1987936 | T: ronald1536 |
| 2007002 | 2009107 | 2023651 | T: ledapkc1464 |
| 2026498 | 2064891 | 2125516 | T: mcnie3q2562 |
| 2222880 | 2235671 | 2253315 | T: ledapkc12sl |
| 2464270 | 2478893 | 2500023 | T: ledapkc13sl |
| 2669203 | 2687983 | 2714918 | T: ledapkc14sl |
| 4126978 | 4144442 | 4157084 | T: ledapkc3264 |
| 4328382 | 4344226 | 4368092 | T: ronald3072 |
| 4520103 | 4543682 | 4563893 | T: ledapkc3464 |
| 4506435 | 4593830 | 4610374 | T: ledapkc3364 |
| 5254664 | 5291627 | 5320337 | T: ledapkc32sl |
| 6175242 | 6253079 | 6292007 | T: ledapkc33sl |
| 7077969 | 7123168 | 7163898 | T: ledapkc34sl |
| 8247270 | 8265364 | 8285849 | T: ronald4096 |
| 7565590 | 8341735 | 8379631 | T: r5n13pke0smallct |
| 8988698 | 9090431 | 9282356 | T: ledapkc5264 |
| 9175565 | 9211852 | 9253937 | T: ledapkc5364 |
| 9989141 | 10005268 | 10053264 | T: ledapkc5464 |
| 12684976 | 12728458 | 12775502 | T: ledapkc52sl |
| 13014819 | 13039086 | 13071472 | T: ledapkc54sl |
| 13270241 | 13306026 | 13332409 | T: ledapkc53sl |
|
|
|