Measurements of public-key Diffie–Hellman secret-sharing systems on one machine: amd64; Airmont (406c3); 2015 Intel Pentium N3700; 4 x 1600MHz; nucnuc, supercop-20241022
[Page version: 20241215 22:59:13]
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 Diffie–Hellman secret-sharing systems:
- Time (cycles) to generate a key pair:
a secret key and a corresponding public key.
- Time to compute a shared secret,
given one user's secret key and another user's public key.
- Space (bytes) for a secret key.
- Space for a public key.
- Space for a shared secret.
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
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 Diffie–Hellman system and each implementation.
Designers and implementors
interested in submitting new Diffie–Hellman systems
and new implementations of existing systems
should read the call for submissions.
Test results
Graphs:
(pkcycles,pkbytes)
(scycles,pkbytes)
Cycles to generate a key pair |
25% | 50% | 75% | system |
80233 | 83628 | 87500 | T: jacfp127i |
84310 | 86800 | 90053 | T: kumjacfp127g |
94410 | 100749 | 109373 | T: prjfp127i |
96206 | 103858 | 111595 | T: hecfp127i |
101213 | 108395 | 123115 | T: ecfp256e |
107837 | 110654 | 122449 | T: curve2251 |
105907 | 112754 | 126769 | T: ecfp256h |
110181 | 116977 | 135913 | T: ecfp256s |
118109 | 125450 | 138516 | T: ecfp256q |
138488 | 140987 | 143789 | T: gls254 |
131291? | 143860? | 164730? | T: prjfp128bk |
134984? | 144387? | 170915? | T: hecfp128bk |
134891? | 144448? | 170420? | T: hecfp128fkt |
133758 | 145604 | 161700 | T: jacfp128bk |
136824 | 146302 | 166720 | T: hecfp128i |
185096 | 187297 | 189198 | T: gls1271 |
206017 | 206139 | 206369 | T: gls254prot |
280388 | 280436 | 280570 | T: kumfp127g |
287663 | 287828 | 288067 | T: k277taa |
305786 | 306232 | 308504 | T: k298 |
422138 | 422182 | 422277 | T: k277mon |
447289 | 447351 | 447453 | T: kumfp128g |
448382 | 448444 | 448515 | T: curve25519 |
502311 | 505026 | 509488 | T: ecfp256i |
550390 | 550396 | 550537 | T: kummer |
550240 | 556645 | 583168 | T: hector |
566868 | 569277 | 571300 | T: surf127eps |
612686 | 613939 | 616032 | T: nistp256 |
761913 | 763086 | 764348 | T: ed448goldilocks |
769763 | 778824 | 785122 | T: sclaus1024 |
1153848 | 1168455 | 1183439 | T: surf2113 |
3658599 | 3660115 | 3664173 | T: ed521gs |
3792187 | 3812435 | 3843518 | T: sclaus2048 |
4312608 | 4313784 | 4317659 | T: nist521gs |
4652064 | 4661086 | 4670156 | T: claus |
|
Cycles to compute a shared secret |
25% | 50% | 75% | system |
135453 | 139051 | 142121 | T: gls254 |
205745 | 205851 | 206007 | T: gls254prot |
283279 | 283353 | 283409 | T: kumfp127g |
286599 | 286641 | 286755 | T: kumjacfp127g |
287559 | 287671 | 288008 | T: k277taa |
305037 | 305286 | 305625 | T: k298 |
317400 | 317983 | 318655 | T: jacfp128bk |
370697 | 371179 | 372701 | T: hecfp128bk |
374846 | 375547 | 376941 | T: prjfp128bk |
384471 | 385056 | 386573 | T: hecfp128fkt |
421914 | 421914 | 422004 | T: k277mon |
422954 | 425917 | 427910 | T: curve2251 |
429009 | 437732 | 448676 | T: gls1271 |
442183 | 442542 | 443624 | T: jacfp127i |
448282 | 448282 | 448316 | T: curve25519 |
457488 | 457515 | 457579 | T: kumfp128g |
479950 | 480379 | 481477 | T: ecfp256e |
502321 | 502830 | 504399 | T: ecfp256q |
504081 | 505136 | 506074 | T: ecfp256i |
520787 | 521236 | 523026 | T: prjfp127i |
532509 | 532868 | 534337 | T: hecfp127i |
550286 | 550286 | 550320 | T: kummer |
564539 | 566491 | 568108 | T: surf127eps |
595255 | 596208 | 598456 | T: ecfp256h |
625214 | 625786 | 626985 | T: ecfp256s |
780196 | 781291 | 792141 | T: sclaus1024 |
808566 | 809285 | 814033 | T: hecfp128i |
1150234 | 1162530 | 1174141 | T: surf2113 |
1867310 | 1922336 | 1936788 | T: hector |
2081237 | 2083574 | 2086577 | T: nistp256 |
2634715 | 2635284 | 2637418 | T: ed448goldilocks |
3657348 | 3658559 | 3659459 | T: ed521gs |
3758500 | 3773963 | 3861026 | T: sclaus2048 |
4311697 | 4312879 | 4313902 | T: nist521gs |
4655547 | 4670699 | 4677417 | T: claus |
|
|
|