Measurements of public-key cryptosystems on one machine: amd64; Zen (800f11); 2017 AMD Ryzen 7 1700; 8 x 3000MHz; rumba7, supercop-20260217
[Page version: 20260319 20:29:17]
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:
old
(pkcycles,pkbytes)
(ccycles,pkbytes)
(ccycles,cbytes)
(mcycles,cbytes)
(pkbytes,cbytes)
| Cycles to generate a key pair |
| 25% | 50% | 75% | system |
| 60721 | 61241 | 62026 | T: r5nd1pke5d |
| 86152 | 86994 | 87839 | T: r5nd1pke0d |
| 122892 | 124027 | 125421 | T: r5nd3pke0d |
| 124983 | 125972 | 126852 | T: r5nd3pke5d |
| 166278 | 167305 | 168455 | T: r5nd5pke0d |
| 224856 | 226132 | 227729 | T: r5nd5pke5d |
| 399664 | 402771 | 405997 | T: C:ntruees401ep2 |
| 455775 | 458742 | 462321 | T: C:ntruees439ep1 |
| 745700 | 747666 | 750324 | T: r5n11pke0d |
| 751655 | 755007 | 760190 | T: C:ntruees593ep1 |
| 1091419 | 1097333 | 1102522 | T: C:ntruees743ep1 |
| 1709921 | 1714332 | 1720555 | T: r5n13pke0d |
| 2396000 | 2400895 | 2405801 | T: r5n15pke0d |
| 2990851 | 2993158 | 2997591 | T: ledapkc1464 |
| 3878227 | 3884620 | 4038690 | T: ledapkc1364 |
| 4040928 | 4043108 | 4046075 | T: ledapkc1264 |
| 4964243? | 4981710? | 6937946? | T: ledapkc14sl |
| 4441187? | 5324478? | 6896918? | T: ledapkc13sl |
| 6510252 | 6532460 | 7176484 | T: ledapkc12sl |
| 6835250? | 7578887? | 10448331? | T: ledapkc3464 |
| 8134025 | 8161742 | 8196680 | T: ledapkc3364 |
| 9215446 | 9244252 | 9728840 | T: ledapkc3264 |
| 10710031 | 10722594 | 12464700 | T: ledapkc34sl |
| 10809543 | 10827750 | 11315840 | T: ledapkc33sl |
| 11659343 | 11677418 | 12026327 | T: lotus128 |
| 12752668 | 12801870 | 12855034 | T: ledapkc5464 |
| 13382322 | 13401611 | 13444575 | T: ledapkc5364 |
| 13791193 | 13912267 | 15146604 | T: ledapkc32sl |
| 16644031 | 16673435 | 19496747 | T: ledapkc54sl |
| 21259721 | 21509284 | 24565337 | T: ledapkc53sl |
| 21216056 | 21816807 | 23908550 | T: ledapkc5264 |
| 22844006 | 22861944 | 22896890 | T: lotus192 |
| 28754908 | 28836203 | 28930534 | T: mcnie4q1281 |
| 29565987 | 30370817 | 32175414 | T: C:mceliece |
| 32647450 | 33849996 | 36712516 | T: ledapkc52sl |
| 36561818 | 36787800 | 37202922 | T: mcnie3q1281 |
| 38105206 | 38155361 | 38328802 | T: lotus256 |
| 39549220 | 39615357 | 39707993 | T: r5n13pke0smallct |
| 43982867 | 44130727 | 44279323 | T: C:ntruees787ep1 |
| 49226742 | 49393398 | 49632220 | T: mcnie4q1282 |
| 54287185 | 54694412 | 55414771 | T: mcnie3q1282 |
| 64472511 | 64896472 | 65135785 | T: mcnie4q1921 |
| 46154230? | 66079781? | 93841736? | T: ronald1024 |
| 68878095 | 69124743 | 69883783 | T: mcnie3q1921 |
| 79980129 | 80197861 | 80488308 | T: mcnie4q2561 |
| 86597525 | 87130251 | 87579146 | T: mcnie4q1922 |
| 93551181 | 94026171 | 94639267 | T: mcnie3q1922 |
| 95738772 | 96091623 | 96704251 | T: mcnie3q2561 |
| 63782078? | 106016817? | 169416434? | T: cargocult2048 |
| 111376812 | 111624545 | 111845098 | T: mcnie4q2562 |
| 58347228? | 117505444? | 181866259? | T: rsa2048 |
| 158757521 | 159278769 | 160270371 | T: mcnie3q2562 |
| 218808692? | 331621876? | 493070589? | T: ronald1536 |
| 722166234? | 993871986? | 1596505982? | T: ronald2048 |
| 2230786222? | 3366202783? | 5090527517? | T: ronald3072 |
| 3530640477 | 3628556388 | 3730947589 | T: pqrsa15 |
| 4269664308? | 7193697126? | 10944576716? | T: ronald4096 |
|
| Cycles to encrypt 59 bytes |
| 25% | 50% | 75% | system |
| 19449 | 19751 | 20452 | T: rsa2048 |
| 19786 | 20143 | 20978 | T: cargocult2048 |
| 35730 | 36191 | 38651 | T: ronald1024 |
| 41807 | 42088 | 42364 | T: C:ntruees401ep2 |
| 44552 | 45121 | 45677 | T: C:mceliece |
| 47296 | 47536 | 47834 | T: C:ntruees439ep1 |
| 47013 | 48739 | 51326 | T: ronald1536 |
| 64769 | 65090 | 65385 | T: C:ntruees593ep1 |
| 63091 | 65287 | 67778 | T: ronald2048 |
| 82018 | 82304 | 82716 | T: C:ntruees743ep1 |
| 108348? | 110172? | 137839? | T: r5nd1pke5d |
| 109237 | 111705 | 114300 | T: ronald3072 |
| 127330 | 127762 | 128181 | T: C:ntruees787ep1 |
| 158077 | 158958 | 160095 | T: r5nd1pke0d |
| 168660 | 171608 | 175001 | T: ronald4096 |
| 202396 | 203131 | 204040 | T: r5nd3pke5d |
| 213155 | 213448 | 213844 | T: lotus128 |
| 229245 | 230418 | 231726 | T: r5nd3pke0d |
| 299804 | 300571 | 303981 | T: mcnie4q1281 |
| 309820 | 311169 | 314011 | T: r5nd5pke0d |
| 345698 | 346985 | 348597 | T: r5nd5pke5d |
| 362499 | 363095 | 363853 | T: lotus192 |
| 402492 | 405003 | 408384 | T: mcnie4q1282 |
| 445458 | 445755 | 446190 | T: lotus256 |
| 488124 | 489145 | 490099 | T: mcnie4q1921 |
| 573309 | 574625 | 576046 | T: mcnie4q1922 |
| 590864 | 592504 | 601594 | T: mcnie3q1281 |
| 597865 | 599661 | 607014 | T: mcnie4q2561 |
| 699421 | 700609 | 701995 | T: mcnie4q2562 |
| 723172 | 724847 | 725249 | T: ledapkc1264 |
| 751167 | 757257 | 760208 | T: mcnie3q1282 |
| 856987 | 858357 | 861018 | T: ledapkc1364 |
| 877319 | 878008 | 879301 | T: ledapkc12sl |
| 892794 | 893447 | 896553 | T: ledapkc1464 |
| 915525 | 918552 | 922944 | T: mcnie3q1921 |
| 957560 | 958040 | 958593 | T: ledapkc13sl |
| 997773 | 998992 | 1000134 | T: r5n11pke0d |
| 1103093 | 1109301 | 1111600 | T: mcnie3q1922 |
| 1166653 | 1167399 | 1168087 | T: ledapkc14sl |
| 1200009 | 1201770 | 1203495 | T: mcnie3q2561 |
| 1480063 | 1480642 | 1481274 | T: ledapkc3264 |
| 1572620 | 1573798 | 1575188 | T: mcnie3q2562 |
| 1667828 | 1671178 | 1681413 | T: ledapkc3364 |
| 1676435 | 1677499 | 1678286 | T: ledapkc3464 |
| 1868182 | 1869474 | 1870760 | T: ledapkc32sl |
| 2172155 | 2176562 | 2180767 | T: r5n13pke0d |
| 2179741 | 2183292 | 2188064 | T: ledapkc33sl |
| 2388593 | 2391538 | 2402384 | T: r5n13pke0smallct |
| 2425522 | 2427925 | 2428853 | T: ledapkc34sl |
| 2629039 | 2630833 | 2640231 | T: ledapkc5364 |
| 2743522 | 2745413 | 2746723 | T: ledapkc5264 |
| 3059137 | 3060610 | 3061952 | T: ledapkc5464 |
| 3077424 | 3081049 | 3086943 | T: r5n15pke0d |
| 3609934 | 3610788 | 3611772 | T: ledapkc52sl |
| 3676053 | 3678068 | 3679590 | T: ledapkc53sl |
| 3743326 | 3744333 | 3745240 | T: ledapkc54sl |
| 21109443 | 21130967 | 21152320 | T: pqrsa15 |
|
| Cycles to decrypt 59 bytes |
| 25% | 50% | 75% | system |
| 47327 | 47426 | 47861 | T: C:ntruees401ep2 |
| 52981 | 53225 | 53954 | T: C:ntruees439ep1 |
| 73566 | 74059 | 74871 | T: C:ntruees593ep1 |
| 96524 | 97022 | 98023 | T: C:ntruees743ep1 |
| 143221? | 145040? | 188064? | T: r5nd1pke5d |
| 198990 | 200348 | 201853 | T: C:ntruees787ep1 |
| 227130 | 228238 | 228791 | T: r5nd1pke0d |
| 252447 | 252603 | 252836 | T: lotus128 |
| 282109 | 282717 | 283480 | T: r5nd3pke5d |
| 329463 | 330244 | 332801 | T: r5nd3pke0d |
| 447368 | 448256 | 454606 | T: r5nd5pke0d |
| 454587 | 455580 | 456414 | T: lotus192 |
| 495852 | 496594 | 497728 | T: r5nd5pke5d |
| 558053 | 558479 | 558901 | T: lotus256 |
| 833266 | 839300 | 847564 | T: mcnie4q1281 |
| 882720 | 895883 | 906625 | T: C:mceliece |
| 938587 | 946340 | 954277 | T: ronald1024 |
| 1118526 | 1119595 | 1120382 | T: r5n11pke0d |
| 1139695 | 1145621 | 1154368 | T: mcnie4q1282 |
| 1200065 | 1207013 | 1219281 | T: mcnie3q1281 |
| 1386041 | 1390119 | 1399912 | T: mcnie4q1921 |
| 1436384 | 1451530 | 1486678 | T: mcnie3q1282 |
| 1643416 | 1650234 | 1663673 | T: mcnie4q1922 |
| 1652264 | 1664204 | 1683301 | T: mcnie4q2561 |
| 1743555 | 1758017 | 1808869 | T: mcnie3q1921 |
| 1962306 | 1971532 | 1983632 | T: mcnie4q2562 |
| 2084226 | 2095382 | 2110099 | T: mcnie3q1922 |
| 2182827 | 2191492 | 2207929 | T: mcnie3q2561 |
| 2405755 | 2406998 | 2409067 | T: rsa2048 |
| 2414718 | 2417515 | 2420937 | T: cargocult2048 |
| 2610234 | 2620571 | 2634642 | T: ronald1536 |
| 2790284 | 2792802 | 2797028 | T: ledapkc1264 |
| 2787232 | 2793005 | 2800152 | T: r5n13pke0d |
| 3014515 | 3022830 | 3039448 | T: mcnie3q2562 |
| 3334787 | 3336760 | 3343593 | T: ledapkc1364 |
| 3537993 | 3541835 | 3550800 | T: ledapkc1464 |
| 3693485 | 3696181 | 3702896 | T: ledapkc12sl |
| 3716465 | 3720987 | 3727083 | T: r5n15pke0d |
| 3935538 | 3940563 | 3981805 | T: ledapkc13sl |
| 4153829 | 4171006 | 4185970 | T: ronald2048 |
| 4693572 | 4708631 | 4726586 | T: ledapkc14sl |
| 7251676 | 7284377 | 7301037 | T: ledapkc3264 |
| 8011287 | 8018825 | 8171056 | T: ledapkc3364 |
| 8478073 | 8482040 | 8520734 | T: ledapkc3464 |
| 9485926 | 9497100 | 9542481 | T: ledapkc32sl |
| 11287960 | 11320770 | 11355244 | T: ronald3072 |
| 11363619 | 11412153 | 11428805 | T: ledapkc33sl |
| 12601479 | 12607886 | 12617484 | T: ledapkc34sl |
| 13849387 | 13874263 | 13909749 | T: r5n13pke0smallct |
| 15319279 | 15323363 | 15350084 | T: ledapkc5264 |
| 16527906 | 16537533 | 16581757 | T: ledapkc5364 |
| 19840437 | 19854287 | 19881995 | T: ledapkc5464 |
| 21301971 | 21385556 | 21556728 | T: ledapkc52sl |
| 22873075 | 22883185 | 22890032 | T: ledapkc53sl |
| 24071170 | 24108707 | 24138486 | T: ronald4096 |
| 24589356 | 24605058 | 24623157 | T: ledapkc54sl |
| 129944761 | 130044078 | 130121970 | T: pqrsa15 |
|
|
|