Measurements of public-key cryptosystems on one machine: amd64; Zen (800f11); 2017 AMD Ryzen 5 1600; 6 x 3200MHz; rumba5, supercop-20241022
[Page version: 20260221 06:44:50]
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 |
| 62258 | 62999 | 63834 | T: r5nd1pke5d |
| 83346 | 83838 | 84876 | T: r5nd1pke0d |
| 122108 | 122604 | 123695 | T: r5nd3pke0d |
| 125266 | 126600 | 128596 | T: r5nd3pke5d |
| 166271 | 167240 | 168147 | T: r5nd5pke0d |
| 228830 | 230587 | 232712 | T: r5nd5pke5d |
| 746260 | 748181 | 749829 | T: r5n11pke0d |
| 1709112 | 1712537 | 1718426 | T: r5n13pke0d |
| 2395295 | 2399116 | 2403584 | T: r5n15pke0d |
| 2992797 | 2996122 | 2998622 | T: ledapkc1464 |
| 3860936 | 3880458 | 3894292 | T: ledapkc1364 |
| 4116008 | 4118349 | 4122809 | T: ledapkc1264 |
| 4460994? | 4669607? | 5691772? | T: ledapkc13sl |
| 4964088? | 4970025? | 6713927? | T: ledapkc14sl |
| 6559811 | 6576092 | 7357392 | T: ledapkc12sl |
| 6836896? | 6851968? | 9678720? | T: ledapkc3464 |
| 8122141 | 8128205 | 8135850 | T: ledapkc3364 |
| 9193597 | 9314393 | 10333521 | T: ledapkc3264 |
| 10761510? | 10775813? | 14430990? | T: ledapkc34sl |
| 10772403 | 10805824 | 10814723 | T: ledapkc33sl |
| 11872438 | 11882630 | 11888063 | T: lotus128 |
| 12666317 | 12674008 | 12684202 | T: ledapkc5464 |
| 13342146 | 13354475 | 13360846 | T: ledapkc5364 |
| 13673179 | 13801836 | 15225528 | T: ledapkc32sl |
| 16438735 | 16453300 | 16547060 | T: ledapkc54sl |
| 21077113 | 21120270 | 24598778 | T: ledapkc53sl |
| 21381608 | 21928348 | 23945489 | T: ledapkc5264 |
| 22959125 | 23426142 | 23646961 | T: lotus192 |
| 29060778 | 29116892 | 29247561 | T: mcnie4q1281 |
| 29706995 | 30445399 | 31596705 | T: C:mceliece |
| 32665796 | 32927751 | 35659735 | T: ledapkc52sl |
| 38261070 | 38993244 | 39187478 | T: lotus256 |
| 39639399 | 39920819 | 39959857 | T: r5n13pke0smallct |
| 49635614 | 49730667 | 49919197 | T: mcnie4q1282 |
| 57966893 | 58402372 | 58916815 | T: mcnie3q1281 |
| 64913739 | 65132106 | 65406265 | T: mcnie4q1921 |
| 80521965 | 80709990 | 80829618 | T: mcnie4q2561 |
| 82625461 | 83043619 | 84098022 | T: mcnie3q1282 |
| 86914801 | 87452507 | 87671952 | T: mcnie4q1922 |
| 106155315 | 106617782 | 107239613 | T: mcnie3q1921 |
| 111728406 | 111901427 | 112082016 | T: mcnie4q2562 |
| 65039366? | 125182821? | 179017826? | T: cargocult2048 |
| 75661985? | 135018081? | 222486949? | T: rsa2048 |
| 143960169 | 144466687 | 145460166 | T: mcnie3q1922 |
| 147618044 | 148125190 | 148624679 | T: mcnie3q2561 |
| 245276195 | 246003319 | 246826831 | T: mcnie3q2562 |
| 3815192165 | 3936241725 | 4026283438 | T: pqrsa15 |
|
| Cycles to encrypt 59 bytes |
| 25% | 50% | 75% | system |
| 23404 | 23859 | 24286 | T: cargocult2048 |
| 23704 | 24146 | 24607 | T: rsa2048 |
| 42351 | 42933 | 43779 | T: C:mceliece |
| 109104 | 110065 | 110900 | T: r5nd1pke5d |
| 155778 | 156343 | 156761 | T: r5nd1pke0d |
| 202414 | 203690 | 205455 | T: r5nd3pke5d |
| 213800 | 214095 | 214451 | T: lotus128 |
| 233635 | 234457 | 235308 | T: r5nd3pke0d |
| 302237 | 302992 | 303723 | T: mcnie4q1281 |
| 314086 | 315115 | 316122 | T: r5nd5pke0d |
| 348195 | 349800 | 353688 | T: r5nd5pke5d |
| 358493 | 359233 | 361779 | T: lotus192 |
| 404433 | 405752 | 407068 | T: mcnie4q1282 |
| 443309 | 443637 | 443996 | T: lotus256 |
| 491281 | 492664 | 494732 | T: mcnie4q1921 |
| 577293 | 578507 | 579803 | T: mcnie4q1922 |
| 593444 | 594762 | 605415 | T: mcnie4q2561 |
| 700622 | 711507 | 723565 | T: mcnie4q2562 |
| 748512 | 749825 | 750768 | T: ledapkc1264 |
| 870624 | 874827 | 875175 | T: ledapkc1364 |
| 898157 | 900679 | 901825 | T: ledapkc12sl |
| 910236 | 910692 | 912345 | T: ledapkc1464 |
| 975216 | 975808 | 976306 | T: ledapkc13sl |
| 1002426 | 1003519 | 1004968 | T: r5n11pke0d |
| 1001233 | 1007170 | 1011410 | T: mcnie3q1281 |
| 1174693 | 1180598 | 1181397 | T: ledapkc14sl |
| 1224278 | 1235844 | 1258129 | T: mcnie3q1282 |
| 1486352 | 1494305 | 1510787 | T: mcnie3q1921 |
| 1505303 | 1508884 | 1510591 | T: ledapkc3264 |
| 1696847 | 1700790 | 1702357 | T: ledapkc3464 |
| 1699465 | 1701990 | 1709507 | T: ledapkc3364 |
| 1776139 | 1783122 | 1792748 | T: mcnie3q1922 |
| 1896132 | 1897140 | 1897980 | T: ledapkc32sl |
| 2007571 | 2015669 | 2023732 | T: mcnie3q2561 |
| 2164348 | 2168021 | 2171980 | T: r5n13pke0d |
| 2193968 | 2202034 | 2206293 | T: ledapkc33sl |
| 2394848 | 2402154 | 2443957 | T: r5n13pke0smallct |
| 2448614 | 2451727 | 2452707 | T: ledapkc34sl |
| 2585794 | 2597613 | 2613058 | T: mcnie3q2562 |
| 2656291 | 2658781 | 2660402 | T: ledapkc5364 |
| 2793253 | 2794736 | 2796192 | T: ledapkc5264 |
| 3087101 | 3088491 | 3090106 | T: ledapkc5464 |
| 3086678 | 3091104 | 3094944 | T: r5n15pke0d |
| 3656088 | 3657708 | 3659352 | T: ledapkc52sl |
| 3680187 | 3684511 | 3691124 | T: ledapkc53sl |
| 3744517 | 3751233 | 3753088 | T: ledapkc54sl |
| 21241246 | 21256764 | 21267900 | T: pqrsa15 |
|
| Cycles to decrypt 59 bytes |
| 25% | 50% | 75% | system |
| 145661 | 146344 | 146764 | T: r5nd1pke5d |
| 223369 | 224187 | 225131 | T: r5nd1pke0d |
| 252710 | 252822 | 253028 | T: lotus128 |
| 282248 | 283354 | 284499 | T: r5nd3pke5d |
| 339477 | 340447 | 342043 | T: r5nd3pke0d |
| 451659 | 453432 | 454335 | T: r5nd5pke0d |
| 470057 | 472838 | 474770 | T: lotus192 |
| 496851 | 501946 | 506870 | T: r5nd5pke5d |
| 556339 | 556958 | 559495 | T: lotus256 |
| 823890 | 828211 | 836747 | T: mcnie4q1281 |
| 891922 | 902470 | 906778 | T: C:mceliece |
| 1125065 | 1125944 | 1126563 | T: r5n11pke0d |
| 1130444 | 1137999 | 1143432 | T: mcnie4q1282 |
| 1354160 | 1372480 | 1381210 | T: mcnie3q1281 |
| 1392824 | 1398224 | 1408498 | T: mcnie4q1921 |
| 1657696 | 1662244 | 1672264 | T: mcnie4q2561 |
| 1660205 | 1673217 | 1695829 | T: mcnie4q1922 |
| 1692448 | 1718005 | 1735930 | T: mcnie3q1282 |
| 1975524 | 1982716 | 2001402 | T: mcnie4q2562 |
| 2036218 | 2046684 | 2057500 | T: mcnie3q1921 |
| 2401378 | 2403238 | 2417527 | T: cargocult2048 |
| 2400653 | 2403376 | 2405980 | T: rsa2048 |
| 2412358 | 2420886 | 2488275 | T: mcnie3q1922 |
| 2596224 | 2605021 | 2643366 | T: mcnie3q2561 |
| 2780699 | 2783663 | 2786518 | T: r5n13pke0d |
| 2805138 | 2828185 | 2853672 | T: ledapkc1264 |
| 3315943 | 3321335 | 3325870 | T: ledapkc1364 |
| 3374523 | 3452877 | 3490529 | T: mcnie3q2562 |
| 3579464 | 3632960 | 3741932 | T: ledapkc1464 |
| 3683500 | 3694766 | 3700007 | T: ledapkc12sl |
| 3721911 | 3724937 | 3729678 | T: r5n15pke0d |
| 3953366 | 3965616 | 3994901 | T: ledapkc13sl |
| 4676838 | 4679970 | 4715721 | T: ledapkc14sl |
| 7249456 | 7256387 | 7261980 | T: ledapkc3264 |
| 7926009 | 7933385 | 7936418 | T: ledapkc3364 |
| 8428647 | 8437385 | 8460266 | T: ledapkc3464 |
| 9448234 | 9455214 | 9465720 | T: ledapkc32sl |
| 11366549 | 11371268 | 12757193 | T: ledapkc33sl |
| 12598324 | 12600639 | 12605413 | T: ledapkc34sl |
| 13874141 | 13913907 | 13927636 | T: r5n13pke0smallct |
| 15335300 | 15389350 | 15498385 | T: ledapkc5264 |
| 16591848 | 16638134 | 16641513 | T: ledapkc5364 |
| 19833474 | 19842513 | 19859107 | T: ledapkc5464 |
| 21487934 | 21541971 | 21568763 | T: ledapkc52sl |
| 22862388 | 22931970 | 22980528 | T: ledapkc53sl |
| 24565232 | 24577273 | 27186072 | T: ledapkc54sl |
| 130628226 | 130803159 | 131030333 | T: pqrsa15 |
|
|
|