Measurements of key-encapsulation mechanisms on one machine: riscv64; U54 (sifive,u54-mc); 2017 SiFive Freedom U540; 4 x 1000MHz; riscvunleashed000, supercop-20240107
[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 key-encapsulation mechanisms:
- Time (cycles) to generate a key pair:
a secret key and a corresponding public key.
- Time for "encapsulation":
time to compute a ciphertext and corresponding session key, given a user's public key.
- Time for "decapsulation":
time to compute the session key from the ciphertext, given the user's secret key.
- Space (bytes) for a secret key.
- Space for a public key.
- Space for a ciphertext.
- Space for a session key.
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 key-encapsulation mechanism.
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 key-encapsulation mechanism and each implementation.
Designers and implementors
interested in submitting new key-encapsulation mechanisms
and new implementations of existing systems
should read the call for submissions.
Test results
Graphs:
(pkcycles,pkbytes)
(ccycles,cbytes)
(kcycles,cbytes)
(pkbytes,cbytes)
NISTPQC graphs:
(pkcycles,pkbytes)
(ccycles,cbytes)
(kcycles,cbytes)
(pkbytes,cbytes)
Cycles to generate a key pair |
25% | 50% | 75% | system |
600249 | 600940 | 608502 | kyber512 |
683267 | 683467 | 698247 | T: newhope512cca |
870547 | 873670 | 896812 | kyber90s512 |
1020230 | 1022646 | 1050223 | kyber768 |
1117510 | 1118050 | 1134023 | T: lightsaber2 |
1398149 | 1399439 | 1416899 | T: newhope1024cca |
1405896 | 1411455 | 1427833 | T: C:hila5 |
1528447 | 1530877 | 1553767 | T: kindi256342 |
1553726 | 1578866 | 1617908 | kyber90s768 |
1587736 | 1595940 | 1646470 | kyber1024 |
1900048 | 1922470 | 1926362 | T: kindi512241 |
1919131 | 1940601 | 1946119 | T: kindi512222 |
2423592 | 2438630 | 2443842 | T: saber2 |
2494800 | 2513995 | 2612509 | kyber90s1024 |
3922892 | 3926088 | 3936308 | T: kindi512321 |
4103874 | 4106272 | 4125790 | T: kindi256522 |
4215632 | 4216851 | 4226075 | T: firesaber2 |
6167044 | 6178139 | 6180076 | threebears624r2cca |
6120202 | 6257102 | 6426648 | T: hqc1281 |
6318393 | 6329903 | 6343842 | T: ntrulpr653 |
6540200 | 6550620 | 6554668 | C:threebears624r2cpa |
8681850 | 8684463 | 8704927 | T: ntrulpr761 |
10892262 | 10904542 | 10910297 | T: ntrulpr857 |
13333794 | 13353194 | 13362436 | T: ntrulpr953 |
13935606 | 13987362 | 14041184 | T: C:lake1 |
14448122 | 14457920 | 14461849 | threebears936r2cca |
14461510 | 14470371 | 14474294 | C:threebears936r2cpa |
14499401 | 14513937 | 14530002 | T: ntrulpr1013 |
14568006 | 14728174 | 14900430 | T: hqc1921 |
15396902 | 15620822 | 15854314 | T: hqc1922 |
16769926 | 16784398 | 16806966 | T: C:lake3 |
18444040 | 18462256 | 18485446 | T: C:lake2 |
20713430 | 20719950 | 20733383 | T: ntrulpr4591761 |
22639738 | 22645614 | 22654266 | T: ntrulpr1277 |
22422770 | 22912854 | 23563370 | T: hqc2561 |
23966640 | 23970300 | 23987357 | threebears1248r2cca |
25138204 | 25237745 | 25303879 | T: ntrukem443 |
25496944 | 25506780 | 25529377 | C:threebears1248r2cpa |
26459860 | 26674950 | 26854790 | T: hqc2562 |
28364528 | 28387986 | 28420906 | T: locker1 |
30085566 | 30107828 | 30136188 | T: locker2 |
29955354 | 30148644 | 30414912 | T: hqc2563 |
33237952 | 33257260 | 33291030 | T: locker3 |
39224026 | 39244750 | 39276958 | T: locker4 |
41418241 | 41446558 | 41491830 | T: locker5 |
42750138 | 42782092 | 42823946 | T: locker6 |
46705882 | 46717228 | 46745860 | T: C:bikel1 |
70414195 | 70501131 | 70598463 | T: ntrukem743 |
79061976 | 79095322 | 79140942 | T: locker7 |
81384190 | 81428046 | 81469586 | T: locker8 |
87925724 | 87977932 | 88009310 | T: locker9 |
88117426 | 88134576 | 88192742 | T: frodokem640shake |
91794030 | 91811564 | 91864742 | T: frodokem640 |
93149674 | 93180610 | 93217034 | T: frodokem640aes |
93518798 | 93542384 | 93594133 | T: ntruhps2048509 |
93637429 | 93662258 | 93703391 | ntruhps2048509 |
137674472 | 137705815 | 137757634 | T: sntrup653 |
137890089 | 137942290 | 138048933 | sntrup653 |
154463613 | 154527052 | 154884785 | T: C:bikel3 |
155075370 | 155355088 | 155569306 | T: mersenne756839 |
163290296 | 163326427 | 163380308 | T: ntruhps2048677 |
163486870 | 163524668 | 163580502 | ntruhps2048677 |
176641510 | 176684491 | 176834296 | ntruhrss701 |
176796624 | 176847724 | 176940222 | T: sntrup4591761 |
199677080 | 199705516 | 199749824 | T: frodokem976shake |
206965105 | 207071931 | 207188862 | T: sntrup761 |
207788869 | 207830308 | 207884506 | sntrup761 |
212934960 | 212975040 | 213040608 | T: frodokem976 |
217019352 | 217053160 | 217090836 | T: frodokem976aes |
231978959 | 232075890 | 232217096 | T: sntrup857 |
232249977 | 232364042 | 232507371 | sntrup857 |
233788321 | 233820730 | 233872964 | T: sikep434 |
239521660 | 239559660 | 239623112 | T: ntruhps4096821 |
277215600 | 277881322 | 278940770 | T: ntskem1264 |
288123364 | 288208784 | 288330093 | T: sntrup953 |
288434527 | 288563301 | 288683476 | sntrup953 |
315451358 | 315504792 | 315570940 | ntruhps4096821 |
324619818 | 324782013 | 324965277 | T: sntrup1013 |
324942826 | 325168844 | 325435352 | sntrup1013 |
360383666 | 360450670 | 360560918 | T: sikep503 |
371399382 | 371451216 | 371545066 | T: frodokem1344shake |
370894083 | 371741825 | 405149333 | T: sikep434comp |
410225282 | 410281978 | 410372234 | T: frodokem1344aes |
512450730 | 512674576 | 513170456 | T: lotus128 |
570123114 | 570576002 | 619495515 | T: sikep503comp |
669704252 | 669759044 | 669832272 | T: sikep610 |
714623268 | 714711320 | 714829290 | T: sntrup1277 |
715072078 | 715135834 | 715217350 | sntrup1277 |
859579855 | 862075108 | 866891294 | T: ntskem1380 |
1093700618 | 1093934798 | 1094440878 | T: lotus192 |
1124691798 | 1127573339 | 1230548960 | T: sikep610comp |
1213431549 | 1213530520 | 1213668908 | T: sikep751 |
862626546? | 1498596782? | 2621231786? | T: rsa2048 |
1549512380 | 1550075120 | 1550870074 | T: oddmanhattan128 |
1871081757 | 1873864899 | 2053819442 | T: sikep751comp |
1918383510 | 1943091950 | 1950405856 | T: ntskem13136 |
1995586966 | 1995828300 | 1996468430 | T: lotus256 |
2510920394 | 2515993769 | 2521402857 | T: oddmanhattan192 |
4540457474 | 4542771992 | 4545467798 | T: oddmanhattan256 |
|
Cycles for encapsulation |
25% | 50% | 75% | system |
153794 | 179103 | 185897 | T: rsa2048 |
734408 | 736198 | 765282 | T: ntskem1264 |
849043 | 849928 | 868266 | kyber512 |
1080925 | 1081295 | 1096822 | T: newhope512cca |
1107654 | 1110940 | 1137082 | kyber90s512 |
1344914 | 1349100 | 1387433 | kyber768 |
1642640 | 1643925 | 1660234 | T: lightsaber2 |
1787938 | 1801419 | 1812959 | T: C:hila5 |
1852321 | 1881222 | 1929140 | kyber90s768 |
1959640 | 1979084 | 2024549 | kyber1024 |
2017972 | 2038963 | 2042608 | T: kindi256342 |
2145626 | 2157290 | 2175474 | T: C:lake1 |
2183334 | 2199631 | 2202236 | T: newhope1024cca |
2685092 | 2703488 | 2714204 | T: C:lake2 |
2742794 | 2792606 | 2900190 | T: ntskem1380 |
2824260 | 2843288 | 2847050 | T: kindi512241 |
2834009 | 2853293 | 2856612 | T: kindi512222 |
2856319 | 2879240 | 2982861 | kyber90s1024 |
2907264 | 2920350 | 2928186 | T: C:lake3 |
3031897 | 3039872 | 3166802 | T: ntrukem443 |
3144910 | 3150465 | 3155027 | T: C:bikel1 |
3212282 | 3213210 | 3214478 | T: saber2 |
3910158 | 3924492 | 3972480 | T: locker1 |
4053022 | 4060998 | 4067540 | T: locker2 |
4249749 | 4250992 | 4274963 | T: ntruhps2048509 |
4381192 | 4383113 | 4406222 | ntruhps2048509 |
4546410 | 4554234 | 4563044 | T: locker3 |
4954446 | 4958338 | 4977660 | T: kindi256522 |
5192116 | 5199150 | 5216218 | T: kindi512321 |
5230692 | 5234687 | 5246879 | T: firesaber2 |
5238522 | 5250524 | 5265274 | T: locker4 |
5689297 | 5701099 | 5722569 | T: locker5 |
5758928 | 5778220 | 5792288 | T: locker6 |
6052166 | 6091152 | 6199372 | T: ntskem13136 |
6179902 | 6189956 | 6202562 | T: sntrup653 |
6376932 | 6387400 | 6401799 | sntrup653 |
7426080 | 7434435 | 7451883 | T: ntruhps2048677 |
7631074 | 7636278 | 7655532 | ntruhps2048677 |
7880835 | 7881596 | 7883533 | ntruhrss701 |
7907460 | 7922407 | 8040402 | T: ntrukem743 |
8090401 | 8093266 | 8104541 | T: sntrup761 |
8178752 | 8186432 | 8205632 | T: lotus128 |
8328310 | 8329754 | 8345193 | sntrup761 |
9019665 | 9020847 | 9032204 | threebears624r2cca |
9478230 | 9503596 | 9531484 | T: locker7 |
9617972 | 9625797 | 9632478 | C:threebears624r2cpa |
9674512 | 9689844 | 9699332 | T: C:bikel3 |
9685746 | 9705252 | 9727102 | T: locker8 |
10374822 | 10388481 | 10401821 | T: sntrup857 |
10399188 | 10431324 | 10463110 | T: locker9 |
10665116 | 10682695 | 10690932 | sntrup857 |
10834964 | 10841459 | 10865490 | T: ntruhps4096821 |
11110649 | 11114164 | 11136218 | ntruhps4096821 |
11694024 | 11819626 | 12049214 | T: hqc1281 |
12372415 | 12375032 | 12384012 | T: ntrulpr653 |
12368472 | 12400856 | 12436122 | T: lotus192 |
13636953 | 13647667 | 13658995 | T: sntrup953 |
13965368 | 13975342 | 13989288 | sntrup953 |
15347478 | 15366240 | 15378595 | T: sntrup1013 |
15703547 | 15725224 | 15731526 | sntrup1013 |
17045548 | 17055033 | 17065810 | T: ntrulpr761 |
17762858 | 17810832 | 17890186 | T: lotus256 |
18978143 | 18983216 | 18997471 | threebears936r2cca |
19023981 | 19025588 | 19041366 | C:threebears936r2cpa |
19657258 | 19664031 | 19699452 | T: sntrup4591761 |
21411452 | 21422902 | 21442503 | T: ntrulpr857 |
22499774 | 22514143 | 22533110 | T: sntrup1277 |
22992358 | 23002574 | 23012722 | sntrup1277 |
26269464 | 26280844 | 26292399 | T: ntrulpr953 |
27468900 | 27731862 | 27991668 | T: hqc1921 |
28561314 | 28569185 | 28589158 | T: ntrulpr1013 |
28932449 | 29332037 | 29842486 | T: hqc1922 |
29582331 | 29590880 | 29600055 | threebears1248r2cca |
31540028 | 31546663 | 31568944 | C:threebears1248r2cpa |
40595056 | 40606990 | 40632786 | T: ntrulpr4591761 |
42245284 | 42902446 | 43631026 | T: hqc2561 |
44726184 | 44740100 | 44766300 | T: ntrulpr1277 |
50123660 | 50438660 | 50892492 | T: hqc2562 |
56825082 | 57179190 | 57562646 | T: hqc2563 |
95236856 | 95258129 | 95306480 | T: frodokem640shake |
96576002 | 96619056 | 96690470 | T: frodokem640 |
97838598 | 97857908 | 97902971 | T: frodokem640aes |
196619334 | 196978504 | 197535650 | T: mersenne756839 |
214920330 | 214959386 | 215019094 | T: frodokem976shake |
222456536 | 222488884 | 222574344 | T: frodokem976 |
223734772 | 223774676 | 223808300 | T: frodokem976aes |
370066618 | 371225264 | 372612378 | T: oddmanhattan128 |
383100630 | 383157944 | 383209080 | T: sikep434 |
399166954 | 399206916 | 399287296 | T: frodokem1344shake |
428355308 | 428412104 | 428549048 | T: frodokem1344aes |
584964928 | 587790842 | 591245462 | T: sikep434comp |
594097800 | 594157582 | 594218634 | T: sikep503 |
716603918 | 717037730 | 717770400 | T: oddmanhattan192 |
891766658 | 892506200 | 897100746 | T: sikep503comp |
1232357620 | 1232460368 | 1232583504 | T: sikep610 |
1584931840 | 1587092232 | 1590881038 | T: oddmanhattan256 |
1668027266 | 1675878842 | 1684266384 | T: sikep610comp |
1967472846 | 1967557936 | 1967682436 | T: sikep751 |
3008284552 | 3022865562 | 3025973816 | T: sikep751comp |
|
Cycles for decapsulation |
25% | 50% | 75% | system |
421656 | 421861 | 422720 | T: C:hila5 |
1061953 | 1063170 | 1083749 | kyber512 |
1177315 | 1177811 | 1192644 | T: newhope512cca |
1281215 | 1284999 | 1319156 | kyber90s512 |
1621414 | 1626111 | 1657468 | kyber768 |
2079698 | 2093997 | 2095335 | T: lightsaber2 |
2071033 | 2101672 | 2153052 | kyber90s768 |
2312228 | 2339286 | 2396326 | kyber1024 |
2412580 | 2430075 | 2431402 | T: newhope1024cca |
2475738 | 2498744 | 2502112 | T: kindi256342 |
2651232 | 2677767 | 2678902 | T: ntskem1264 |
3126996? | 3137260? | 4543494? | kyber90s1024 |
3237919 | 3238401 | 3240007 | C:threebears624r2cpa |
3717274 | 3719776 | 3722354 | T: kindi512241 |
3752518 | 3755218 | 3757874 | T: kindi512222 |
3855824 | 3856738 | 3858095 | T: saber2 |
4777347 | 4777987 | 4787055 | C:threebears936r2cpa |
5319714 | 5321158 | 5340514 | T: ntskem1380 |
5600074 | 5603841 | 5620803 | T: ntrukem443 |
5701310 | 5707216 | 5724152 | T: kindi256522 |
6098374 | 6113262 | 6115878 | T: firesaber2 |
6316701 | 6328539 | 6329767 | C:threebears1248r2cpa |
6482126 | 6500434 | 6505746 | T: kindi512321 |
6522961 | 6541571 | 6550087 | T: C:lake1 |
10124638 | 10145100 | 10154460 | T: lotus128 |
11020985 | 11071508 | 11103514 | T: C:lake2 |
12139088 | 12142270 | 12152681 | T: ntskem13136 |
12308807 | 12309478 | 12314152 | T: ntruhps2048509 |
12309531 | 12311795 | 12314648 | ntruhps2048509 |
13612091 | 13655440 | 13703112 | T: C:lake3 |
14508784 | 14554680 | 14584564 | T: locker1 |
15044412 | 15134490 | 15176646 | T: locker2 |
15171166 | 15180845 | 15189253 | T: ntrukem743 |
15890554 | 15909196 | 15961910 | T: lotus192 |
16349497 | 16352407 | 16360682 | T: sntrup761 |
16350211 | 16353448 | 16363553 | sntrup761 |
17141896 | 17281136 | 17313752 | T: locker4 |
17628796 | 17638098 | 17646853 | T: sntrup653 |
17629258 | 17639880 | 17647118 | sntrup653 |
18095781 | 18108402 | 18115842 | T: ntrulpr653 |
18031036 | 18250690 | 18851782 | T: hqc1281 |
18370422 | 18377588 | 18383398 | threebears624r2cca |
20399434 | 20504346 | 20609408 | T: locker3 |
21670354 | 21680806 | 21685030 | ntruhps2048677 |
21673397 | 21681500 | 21688929 | T: ntruhps2048677 |
22618296 | 22649184 | 22683456 | T: locker5 |
22969276 | 23022004 | 23055022 | T: locker6 |
23291818 | 23295394 | 23307249 | ntruhrss701 |
23315280 | 23365672 | 23472798 | T: lotus256 |
25040658 | 25049286 | 25064136 | T: ntrulpr761 |
26485075 | 26491100 | 26535318 | T: rsa2048 |
28532334 | 28576766 | 28634228 | T: locker7 |
29225184 | 29273208 | 29330214 | T: locker8 |
30152474 | 30160258 | 30168864 | T: sntrup857 |
30151552 | 30160814 | 30191068 | sntrup857 |
31538240 | 31543564 | 31554828 | T: ntrulpr857 |
31787895 | 31793580 | 31806355 | T: ntruhps4096821 |
31806218 | 31811619 | 31815461 | ntruhps4096821 |
36383486 | 36438458 | 36507098 | T: locker9 |
38389086 | 38397646 | 38405536 | threebears936r2cca |
38758094 | 38766356 | 38776696 | T: ntrulpr953 |
39022562 | 39030550 | 39045686 | T: sntrup953 |
39023230 | 39030964 | 39046750 | sntrup953 |
40721987 | 41705242 | 42011514 | T: hqc1921 |
42149046 | 42158050 | 42173292 | T: ntrulpr1013 |
43013456 | 43020894 | 43059318 | T: sntrup1013 |
43011570 | 43021078 | 43058914 | sntrup1013 |
43361174 | 43678984 | 44130882 | T: hqc1922 |
55631011 | 55669858 | 55754862 | T: sntrup4591761 |
59714192 | 59724224 | 59760394 | threebears1248r2cca |
60470214 | 60483540 | 60531038 | T: ntrulpr4591761 |
62637386 | 64315530 | 65178388 | T: hqc2561 |
65254000 | 65274798 | 65307618 | T: C:bikel1 |
66225968 | 66235148 | 66265530 | T: ntrulpr1277 |
66493114 | 66503522 | 66537394 | sntrup1277 |
66493018 | 66503914 | 66570862 | T: sntrup1277 |
74387588 | 75605966 | 75947712 | T: hqc2562 |
84886983 | 85215905 | 85327906 | T: hqc2563 |
95149850 | 95170820 | 95213906 | T: frodokem640shake |
97201304 | 97226961 | 97268402 | T: frodokem640 |
97993774 | 98014432 | 98065992 | T: frodokem640aes |
214475140 | 214505740 | 214556684 | T: frodokem976shake |
219344600 | 219391756 | 219447776 | T: C:bikel3 |
223368376 | 223404786 | 223429746 | T: frodokem976 |
223862608 | 223895806 | 223946792 | T: frodokem976aes |
298150920 | 298462638 | 298849368 | T: mersenne756839 |
398970348 | 399013566 | 399095794 | T: frodokem1344shake |
408525578 | 408565934 | 408635034 | T: sikep434 |
416437276 | 418282272 | 419441740 | T: oddmanhattan128 |
428658234 | 428706310 | 428777404 | T: frodokem1344aes |
434255080 | 434314150 | 434373130 | T: sikep434comp |
631603744 | 631659258 | 631709304 | T: sikep503 |
669205480 | 669271133 | 669360868 | T: sikep503comp |
816534454 | 817684392 | 818196631 | T: oddmanhattan192 |
1239412756 | 1239483434 | 1239576402 | T: sikep610 |
1314528740 | 1314630498 | 1314775160 | T: sikep610comp |
1789273790 | 1791271502 | 1794414080 | T: oddmanhattan256 |
2113395308 | 2113500408 | 2113660056 | T: sikep751 |
2238449617 | 2238545224 | 2238990398 | T: sikep751comp |
|
|
|