Measurements of public-key Diffie–Hellman secret-sharing systems on one machine: amd64; Zen 2 (860f01); 2022 AMD Ryzen 5 4500U; 6 x 3600MHz; renoir, 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 |
21170 | 22207 | 24114 | T: jacfp127i |
22144 | 23176 | 24599 | T: kumjacfp127g |
23942 | 25084 | 27100 | T: prjfp127i |
25270 | 26588 | 28397 | T: hecfp127i |
31832 | 32734 | 33701 | T: jacfp128bk |
33141 | 34544 | 36400 | T: prjfp128bk |
33673 | 34700 | 36842 | T: ecfp256e |
33704 | 35317 | 36939 | T: hecfp128bk |
33963 | 35513 | 37201 | T: hecfp128i |
34368 | 35770 | 39334 | T: ecfp256h |
35867 | 36726 | 37438 | T: hecfp128fkt |
36534 | 38035 | 41381 | T: ecfp256s |
38874 | 40188 | 44042 | T: ecfp256q |
39863 | 40339 | 42098 | T: curve2251 |
43908 | 43917 | 43931 | T: gls254prot |
43472 | 45287 | 45624 | T: gls254 |
53616 | 53642 | 53702 | T: k277taa |
60121 | 60771 | 61228 | T: gls1271 |
60780 | 60830 | 61001 | T: kummer |
64023 | 64066 | 64168 | T: k298 |
82144 | 82240 | 82362 | T: kumfp127g |
86598 | 86598 | 86598 | T: k277mon |
109145 | 109202 | 109260 | T: kumfp128g |
134260 | 134367 | 134437 | T: curve25519 |
144677 | 144988 | 145394 | T: surf127eps |
152706 | 153586 | 154485 | T: ecfp256i |
158781 | 159969 | 160209 | T: ed448goldilocks |
163748 | 165525 | 166882 | T: sclaus1024 |
205151 | 214076 | 224336 | T: hector |
235587 | 235981 | 236606 | T: nistp256 |
442575 | 444555 | 445394 | T: surf2113 |
804326 | 804999 | 806045 | T: ed521gs |
844889 | 850043 | 855348 | T: sclaus2048 |
938526 | 941734 | 951973 | T: nist521gs |
976860 | 979744 | 982812 | T: claus |
|
Cycles to compute a shared secret |
25% | 50% | 75% | system |
41982 | 41995 | 42283 | T: gls254 |
43735 | 43831 | 43831 | T: gls254prot |
53618 | 53622 | 53623 | T: k277taa |
60781 | 60837 | 60939 | T: kummer |
63952 | 63981 | 64012 | T: k298 |
83602 | 83620 | 83737 | T: kumfp127g |
84218 | 84314 | 84633 | T: jacfp128bk |
85559 | 85579 | 86065 | T: kumjacfp127g |
86569 | 86583 | 86583 | T: k277mon |
99003 | 99104 | 99271 | T: prjfp128bk |
102217 | 102251 | 102657 | T: hecfp128bk |
105742 | 105833 | 105967 | T: hecfp128fkt |
115004 | 115046 | 115334 | T: kumfp128g |
128440 | 128788 | 128788 | T: jacfp127i |
134270 | 134341 | 134434 | T: curve25519 |
139975 | 140031 | 140238 | T: ecfp256e |
140887 | 141380 | 141900 | T: surf127eps |
146807 | 147247 | 148493 | T: gls1271 |
147365 | 147503 | 147943 | T: ecfp256i |
149259 | 149443 | 149579 | T: ecfp256q |
157226 | 158041 | 158139 | T: curve2251 |
159687 | 159762 | 160182 | T: prjfp127i |
161962 | 166801 | 167530 | T: sclaus1024 |
170626 | 170847 | 171137 | T: ecfp256h |
207776 | 207850 | 207863 | T: ecfp256s |
219412 | 219427 | 219434 | T: hecfp127i |
225872 | 226230 | 226516 | T: hecfp128i |
443663 | 444307 | 444629 | T: surf2113 |
482996 | 483167 | 483626 | T: ed448goldilocks |
597570 | 598080 | 599522 | T: nistp256 |
710471 | 717063 | 721102 | T: hector |
805534 | 805898 | 806767 | T: ed521gs |
851776 | 858333 | 861261 | T: sclaus2048 |
938235 | 941303 | 952921 | T: nist521gs |
977027 | 978635 | 980088 | T: claus |
|
|
|