Measurements of public-key Diffie–Hellman secret-sharing systems on one machine: amd64; Zen (820f01); 2020 AMD Athlon Silver 3050e; 2 x 1400MHz; dali, supercop-20241022
[Page version: 20241207 23:20:59]
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 |
26258 | 26724 | 27363 | T: jacfp127i |
26923 | 27395 | 27944 | T: kumjacfp127g |
30044 | 30734 | 31458 | T: prjfp127i |
30522 | 31300 | 32215 | T: hecfp127i |
34294 | 35309 | 36489 | T: jacfp128bk |
36837 | 37744 | 39308 | T: ecfp256e |
38921 | 39739 | 40591 | T: prjfp128bk |
39069 | 39825 | 40994 | T: hecfp128fkt |
39320 | 40055 | 41120 | T: hecfp128i |
39641 | 40502 | 41287 | T: hecfp128bk |
40458 | 40966 | 42720 | T: curve2251 |
40431 | 41790 | 44895 | T: ecfp256h |
41876 | 43661 | 46382 | T: ecfp256s |
43660 | 44021 | 44260 | T: gls254 |
44500 | 44678 | 44702 | T: gls254prot |
43669 | 45026 | 48250 | T: ecfp256q |
55871 | 55903 | 56038 | T: k277taa |
64544 | 64804 | 65198 | T: k298 |
64731 | 65634 | 66238 | T: gls1271 |
89765 | 89823 | 89883 | T: k277mon |
101326 | 101409 | 101469 | T: kumfp127g |
105289 | 105724 | 106209 | T: kummer |
133006 | 133094 | 133317 | T: kumfp128g |
144536 | 144552 | 144591 | T: curve25519 |
176237 | 177188 | 178477 | T: ecfp256i |
186451 | 187082 | 187454 | T: surf127eps |
198796 | 200930 | 202597 | T: sclaus1024 |
202297 | 202684 | 203022 | T: ed448goldilocks |
211117 | 220358 | 230206 | T: hector |
273243 | 273685 | 273918 | T: nistp256 |
454525 | 456612 | 457116 | T: surf2113 |
925177 | 926722 | 929821 | T: ed521gs |
990027 | 997811 | 1005365 | T: sclaus2048 |
1104807 | 1106662 | 1109590 | T: nist521gs |
1175578 | 1178773 | 1182234 | T: claus |
|
Cycles to compute a shared secret |
25% | 50% | 75% | system |
42349 | 42363 | 42378 | T: gls254 |
44439 | 44573 | 44629 | T: gls254prot |
55849 | 56014 | 56119 | T: k277taa |
64482 | 64590 | 64723 | T: k298 |
89699 | 89730 | 89783 | T: k277mon |
103811 | 103923 | 104057 | T: jacfp128bk |
104029 | 104139 | 104139 | T: kumfp127g |
105796 | 105797 | 105797 | T: kummer |
106353 | 106413 | 106488 | T: kumjacfp127g |
126397 | 126464 | 126562 | T: prjfp128bk |
129239 | 129413 | 129515 | T: hecfp128bk |
134010 | 134241 | 134421 | T: hecfp128fkt |
138310 | 139140 | 141121 | T: kumfp128g |
157240 | 157487 | 159021 | T: curve25519 |
159991 | 160551 | 161386 | T: curve2251 |
162197 | 162303 | 162734 | T: jacfp127i |
162988 | 163088 | 163215 | T: ecfp256e |
163411 | 164801 | 166909 | T: gls1271 |
171757 | 171884 | 172086 | T: ecfp256i |
173289 | 173360 | 173426 | T: ecfp256q |
182380 | 183781 | 184445 | T: surf127eps |
199857 | 202433 | 206842 | T: sclaus1024 |
203409 | 203624 | 204500 | T: prjfp127i |
204490 | 204544 | 204700 | T: ecfp256h |
207353 | 207486 | 207563 | T: hecfp127i |
228723 | 228898 | 229217 | T: ecfp256s |
285419 | 285728 | 286185 | T: hecfp128i |
455207 | 455397 | 455848 | T: surf2113 |
591794 | 592260 | 592855 | T: ed448goldilocks |
672723 | 673494 | 674160 | T: nistp256 |
718693 | 732773 | 744040 | T: hector |
925249 | 926635 | 927568 | T: ed521gs |
981775 | 1006793 | 1024287 | T: sclaus2048 |
1105447 | 1106931 | 1111182 | T: nist521gs |
1180757 | 1184474 | 1185232 | T: claus |
|
|
|