Measurements of public-key Diffie–Hellman secret-sharing systems on one machine: amd64; Zen 3 (a50f00); 2021 AMD Ryzen 5 PRO 5650G; 6 x 3900MHz; cezanne, supercop-20241022
[Page version: 20241109 15:41:12]
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 |
23078 | 24995 | 27062 | T: jacfp127i |
25560 | 26937 | 28850 | T: kumjacfp127g |
27579 | 29344 | 32108 | T: prjfp127i |
28862 | 30540 | 32748 | T: hecfp127i |
30689 | 32619 | 34469 | T: jacfp128bk |
31737 | 33506 | 36793 | T: ecfp256e |
34227 | 35368 | 39418 | T: curve2251 |
33597 | 36080 | 41266 | T: ecfp256h |
35973 | 37755 | 40109 | T: prjfp128bk |
36745 | 38189 | 41047 | T: hecfp128i |
38272 | 38296 | 38371 | T: gls254prot |
36528 | 38364 | 41233 | T: hecfp128bk |
36690 | 38477 | 40933 | T: hecfp128fkt |
36030 | 38573 | 44832 | T: ecfp256s |
38622 | 38985 | 39540 | T: gls254 |
38435 | 41229 | 47208 | T: ecfp256q |
47249 | 47319 | 47514 | T: kummer |
47977 | 48029 | 48119 | T: k277taa |
53156 | 53724 | 54394 | T: gls1271 |
54135 | 54257 | 54971 | T: k298 |
75598 | 75660 | 75733 | T: k277mon |
81265 | 81363 | 81467 | T: kumfp127g |
102496 | 102572 | 102664 | T: curve25519 |
105162 | 105297 | 105527 | T: kumfp128g |
139791 | 140297 | 140653 | T: surf127eps |
146195 | 147224 | 148135 | T: ecfp256i |
158144 | 158471 | 158880 | T: ed448goldilocks |
162684 | 166990 | 177764 | T: hector |
198905 | 200796 | 202646 | T: sclaus1024 |
219676 | 220130 | 220219 | T: nistp256 |
356805 | 358349 | 359096 | T: surf2113 |
754819 | 757965 | 758607 | T: ed521gs |
902908 | 905422 | 906941 | T: nist521gs |
1007714 | 1015152 | 1022367 | T: sclaus2048 |
1022845 | 1023695 | 1035543 | T: claus |
|
Cycles to compute a shared secret |
25% | 50% | 75% | system |
35697 | 35730 | 35774 | T: gls254 |
38260 | 38266 | 38324 | T: gls254prot |
47285 | 47485 | 47643 | T: kummer |
47954 | 48009 | 48012 | T: k277taa |
53956 | 54016 | 54084 | T: k298 |
75535 | 75590 | 75664 | T: k277mon |
81277 | 81331 | 81381 | T: jacfp128bk |
83883 | 83937 | 84008 | T: kumfp127g |
85834 | 85897 | 85963 | T: kumjacfp127g |
104390 | 104421 | 104730 | T: prjfp128bk |
106858 | 107004 | 107284 | T: hecfp128bk |
109736 | 109947 | 110253 | T: kumfp128g |
110818 | 110890 | 110979 | T: curve25519 |
111159 | 111208 | 111305 | T: hecfp128fkt |
128965 | 129759 | 134200 | T: gls1271 |
130637 | 131178 | 131400 | T: curve2251 |
131573 | 131757 | 131876 | T: jacfp127i |
132704 | 133242 | 133487 | T: ecfp256e |
135455 | 137086 | 137343 | T: surf127eps |
141589 | 141710 | 142088 | T: ecfp256i |
142324 | 142498 | 142555 | T: ecfp256q |
158395 | 159313 | 159837 | T: ecfp256h |
175196 | 175272 | 175313 | T: prjfp127i |
177830 | 177923 | 178101 | T: hecfp127i |
201610 | 203417 | 208559 | T: sclaus1024 |
204246 | 204291 | 204523 | T: ecfp256s |
237912 | 238598 | 238806 | T: hecfp128i |
352087 | 352506 | 352850 | T: surf2113 |
524903 | 527311 | 528762 | T: ed448goldilocks |
566631 | 573373 | 585659 | T: hector |
580485 | 581091 | 582516 | T: nistp256 |
754202 | 755507 | 756944 | T: ed521gs |
902529 | 905585 | 907864 | T: nist521gs |
1014691 | 1016644 | 1017737 | T: sclaus2048 |
1019808 | 1025718 | 1026982 | T: claus |
|
|
|