Measurements of public-key Diffie–Hellman secret-sharing systems on one machine: amd64; Silvermont (406c4); 2016 Intel Atom x5-Z8350; 4 x 1440MHz; cherry, supercop-20240808
[Page version: 20240828 00:45:27]
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.
Implementation notes
Graphs:
(pkcycles,pkbytes)
(scycles,pkbytes)
Cycles to generate a key pair |
25% | 50% | 75% | system |
64690 | 65466 | 66936 | T: jacfp127i |
67966 | 70974 | 78739 | T: kumjacfp127g |
72626 | 74171 | 76377 | T: hecfp127i |
73443 | 75696 | 80193 | T: prjfp127i |
97241 | 99899 | 105554 | T: jacfp128bk |
112724 | 114804 | 117175 | T: hecfp128fkt |
113189 | 114935 | 122531 | T: hecfp128i |
111891 | 115885 | 119790 | T: curve2251 |
114353 | 116455 | 120229 | T: hecfp128bk |
118458 | 123074 | 130004 | T: prjfp128bk |
140354 | 142989 | 145329 | T: gls254 |
186226 | 188805 | 190482 | T: gls1271 |
205793 | 205972 | 207210 | T: gls254prot |
280553 | 280649 | 280919 | T: kumfp127g |
287772 | 287891 | 288253 | T: k277taa |
305984 | 307271 | 311105 | T: k298 |
422305 | 422392 | 422659 | T: k277mon |
447460 | 447559 | 447711 | T: kumfp128g |
448613 | 448753 | 448981 | T: curve25519 |
552423 | 554147 | 555342 | T: kummer |
618956 | 621660 | 623465 | T: nistp256 |
765230 | 766930 | 771143 | T: ed448goldilocks |
775452 | 782604 | 790392 | T: sclaus1024 |
1139728 | 1149052 | 1158785 | T: surf2113 |
3660424 | 3664233 | 3670268 | T: ed521gs |
3800892 | 3827603 | 3852737 | T: sclaus2048 |
4323923 | 4327503 | 4331834 | T: nist521gs |
4658208 | 4670858 | 4682649 | T: claus |
|
Cycles to compute a shared secret |
25% | 50% | 75% | system |
135022 | 139976 | 141170 | T: gls254 |
205346 | 205510 | 205732 | T: gls254prot |
283424 | 283488 | 283592 | T: kumfp127g |
286631 | 286689 | 286810 | T: kumjacfp127g |
287586 | 287682 | 287868 | T: k277taa |
305773 | 307260 | 308558 | T: k298 |
317503 | 318007 | 318875 | T: jacfp128bk |
372996 | 373777 | 376027 | T: hecfp128bk |
374389 | 375920 | 379180 | T: prjfp128bk |
386147 | 387790 | 389535 | T: hecfp128fkt |
422067 | 422118 | 422226 | T: k277mon |
426523 | 429950 | 430305 | T: curve2251 |
435283 | 436147 | 436837 | T: gls1271 |
442481 | 443533 | 447058 | T: jacfp127i |
448504 | 448618 | 448765 | T: curve25519 |
457835 | 457915 | 459763 | T: kumfp128g |
524674 | 526831 | 530198 | T: prjfp127i |
533717 | 534843 | 538302 | T: hecfp127i |
552107 | 553794 | 554647 | T: kummer |
791641 | 795213 | 796891 | T: sclaus1024 |
809222 | 811172 | 815782 | T: hecfp128i |
1129075 | 1141568 | 1155000 | T: surf2113 |
2086993 | 2091748 | 2095883 | T: nistp256 |
2647791 | 2649568 | 2656595 | T: ed448goldilocks |
3659612 | 3661106 | 3665228 | T: ed521gs |
3772610 | 3786464 | 3853377 | T: sclaus2048 |
4316911 | 4323199 | 4326289 | T: nist521gs |
4655366 | 4674497 | 4688304 | T: claus |
|
|
|