Measurements of public-key cryptosystems on one machine: amd64; Zen 5 (b00f21); 2024 AMD EPYC 9555; 64 x 3200MHz; tripwire, supercop-20260831
[Page version: 20261004 23:38:48]
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 |
| 377053 | 380329 | 383799 | T: C:ntruees401ep2 |
| 436312 | 442232 | 446029 | T: C:ntruees439ep1 |
| 713671 | 718750 | 724914 | T: C:ntruees593ep1 |
| 1054772 | 1061280 | 1072352 | T: C:ntruees743ep1 |
| 6032838 | 6042687 | 6048491 | T: lotus128 |
| 11365607 | 11383154 | 11403055 | T: lotus192 |
| 15529293 | 15618209 | 15686408 | T: C:ntruees787ep1 |
| 18685437 | 18708753 | 18754947 | T: lotus256 |
| 22072161 | 22134994 | 22193861 | T: mcnie4q1281 |
| 29382227 | 29581798 | 29862130 | T: mcnie3q1281 |
| 31544689 | 32243195 | 33543493 | T: C:mceliece |
| 37729985 | 37787470 | 37875184 | T: mcnie4q1282 |
| 42018177 | 42421186 | 42956779 | T: mcnie3q1282 |
| 33631110? | 43774025? | 63597483? | T: ronald1024 |
| 48999127 | 49073302 | 49172823 | T: mcnie4q1921 |
| 54851752 | 55169066 | 55587951 | T: mcnie3q1921 |
| 64183713 | 64372155 | 64567818 | T: mcnie4q2561 |
| 65916813 | 66037808 | 66175796 | T: mcnie4q1922 |
| 74309423 | 74591982 | 75102882 | T: mcnie3q1922 |
| 79758520 | 80051446 | 80583797 | T: mcnie3q2561 |
| 46924158? | 83638524? | 134478258? | T: cargocult2048 |
| 49640442? | 86592033? | 135394270? | T: rsa2048 |
| 87159500 | 87270918 | 87437601 | T: mcnie4q2562 |
| 128499566 | 129023000 | 129786894 | T: mcnie3q2562 |
| 143422432? | 202460750? | 286952142? | T: ronald1536 |
| 238732226? | 343085322? | 495866770? | T: ronald2048 |
| 816203635? | 1328530076? | 1967694278? | T: ronald3072 |
| 2340357419? | 3562603414? | 4879466486? | T: ronald4096 |
|
| Cycles to encrypt 59 bytes |
| 25% | 50% | 75% | system |
| 14911 | 15153 | 15545 | T: rsa2048 |
| 15091 | 15368 | 15896 | T: cargocult2048 |
| 24196 | 24752 | 25240 | T: ronald1024 |
| 30343 | 30590 | 30881 | T: C:ntruees401ep2 |
| 31582 | 32158 | 32811 | T: ronald1536 |
| 34645 | 34879 | 35134 | T: C:ntruees439ep1 |
| 38401 | 38967 | 39461 | T: C:mceliece |
| 42429 | 43101 | 43883 | T: ronald2048 |
| 47262 | 47513 | 47780 | T: C:ntruees593ep1 |
| 59734 | 60065 | 60597 | T: C:ntruees743ep1 |
| 71663 | 72554 | 73602 | T: ronald3072 |
| 76108 | 76550 | 76963 | T: C:ntruees787ep1 |
| 83383 | 83776 | 85418 | T: lotus128 |
| 108566 | 109350 | 110589 | T: lotus192 |
| 111536 | 112673 | 113580 | T: ronald4096 |
| 155609 | 156282 | 156919 | T: lotus256 |
| 235698 | 236378 | 237010 | T: mcnie4q1281 |
| 317922 | 319052 | 319852 | T: mcnie4q1282 |
| 390785 | 391695 | 393163 | T: mcnie4q1921 |
| 461692 | 462614 | 463435 | T: mcnie4q1922 |
| 486331 | 487545 | 489766 | T: mcnie4q2561 |
| 492980 | 494277 | 495864 | T: mcnie3q1281 |
| 565068 | 566253 | 568797 | T: mcnie4q2562 |
| 607603 | 609210 | 614156 | T: mcnie3q1282 |
| 753836 | 755820 | 758957 | T: mcnie3q1921 |
| 899966 | 905280 | 908977 | T: mcnie3q1922 |
| 1029484 | 1031048 | 1032663 | T: mcnie3q2561 |
| 1337255 | 1342565 | 1345476 | T: mcnie3q2562 |
|
| Cycles to decrypt 59 bytes |
| 25% | 50% | 75% | system |
| 30186 | 30407 | 30677 | T: C:ntruees401ep2 |
| 33808 | 33902 | 34067 | T: C:ntruees439ep1 |
| 46265 | 46614 | 46724 | T: C:ntruees593ep1 |
| 61714 | 61970 | 63211 | T: C:ntruees743ep1 |
| 78837 | 79169 | 79553 | T: C:ntruees787ep1 |
| 103505 | 103876 | 104255 | T: lotus128 |
| 129469 | 130136 | 131131 | T: lotus192 |
| 193735 | 194294 | 195225 | T: lotus256 |
| 522065 | 524708 | 530538 | T: mcnie4q1281 |
| 587764 | 592640 | 598106 | T: ronald1024 |
| 730530 | 736225 | 749661 | T: mcnie4q1282 |
| 749869 | 754146 | 763619 | T: mcnie3q1281 |
| 828066 | 842008 | 862334 | T: C:mceliece |
| 884318 | 889361 | 914004 | T: mcnie4q1921 |
| 946479 | 953926 | 968878 | T: mcnie3q1282 |
| 1073625 | 1082353 | 1111896 | T: mcnie4q1922 |
| 1096783 | 1105331 | 1147335 | T: mcnie4q2561 |
| 1143779 | 1149435 | 1175872 | T: mcnie3q1921 |
| 1330165 | 1352523 | 1404438 | T: mcnie4q2562 |
| 1397051 | 1404802 | 1442127 | T: mcnie3q1922 |
| 1536794 | 1550145 | 1631504 | T: mcnie3q2561 |
| 1650505 | 1658927 | 1666572 | T: ronald1536 |
| 1710300 | 1718462 | 1729054 | T: ronald2048 |
| 1814556 | 1819388 | 1827926 | T: rsa2048 |
| 1822423 | 1823394 | 1825528 | T: cargocult2048 |
| 2138760 | 2164219 | 2258819 | T: mcnie3q2562 |
| 4069048 | 4084492 | 4099016 | T: ronald3072 |
| 7886453 | 7911768 | 7936438 | T: ronald4096 |
|
|
|