Measurements of public-key Diffie–Hellman secret-sharing systems on one machine: amd64; Zen 4 (a60f12); 2023 AMD Ryzen 7 7700; 8 x 3800MHz; hertz, supercop-20240909
[Page version: 20241006 02:11:52]
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 |
24032 | 24896 | 26127 | T: jacfp127i |
24542 | 25716 | 26702 | T: kumjacfp127g |
25866 | 27149 | 28477 | T: hecfp127i |
26072 | 27277 | 28379 | T: prjfp127i |
29001 | 30491 | 31967 | T: jacfp128bk |
30903 | 31108 | 31540 | T: gls254 |
31644 | 31682 | 31736 | T: gls254prot |
33093 | 34622 | 36701 | T: hecfp128fkt |
34221 | 35498 | 38600 | T: curve2251 |
34357 | 35798 | 36985 | T: prjfp128bk |
35028 | 35967 | 36958 | T: hecfp128i |
35222 | 36216 | 37313 | T: hecfp128bk |
42083 | 42122 | 42167 | T: kummer |
42258 | 42324 | 42394 | T: k277taa |
48118 | 48271 | 49206 | T: k298 |
56141 | 56974 | 57642 | T: gls1271 |
63446 | 63506 | 64014 | T: k277mon |
78957 | 79057 | 79288 | T: kumfp127g |
101407 | 101533 | 103020 | T: curve25519 |
104252 | 104331 | 104405 | T: kumfp128g |
158593 | 158830 | 159134 | T: ed448goldilocks |
196519 | 198427 | 200420 | T: sclaus1024 |
222601 | 223409 | 224392 | T: nistp256 |
338386 | 340068 | 341612 | T: surf2113 |
744798 | 747686 | 771482 | T: ed521gs |
914397 | 915409 | 916199 | T: nist521gs |
998695 | 1007850 | 1013910 | T: sclaus2048 |
1014966 | 1016544 | 1020777 | T: claus |
|
Cycles to compute a shared secret |
25% | 50% | 75% | system |
29756 | 29820 | 29895 | T: gls254 |
31642 | 31687 | 31823 | T: gls254prot |
42055 | 42068 | 42119 | T: kummer |
42208 | 42210 | 42282 | T: k277taa |
47960 | 48063 | 48156 | T: k298 |
63406 | 63406 | 63446 | T: k277mon |
78878 | 78998 | 79119 | T: jacfp128bk |
81179 | 81310 | 81320 | T: kumfp127g |
82687 | 82725 | 82746 | T: kumjacfp127g |
93240 | 93335 | 93443 | T: prjfp128bk |
96152 | 96279 | 96673 | T: hecfp128bk |
99549 | 99746 | 99950 | T: hecfp128fkt |
109062 | 109155 | 109250 | T: kumfp128g |
109482 | 109583 | 110809 | T: curve25519 |
120188 | 120264 | 120341 | T: jacfp127i |
127615 | 129540 | 130013 | T: gls1271 |
135500 | 136781 | 137012 | T: curve2251 |
149858 | 149965 | 150105 | T: prjfp127i |
152003 | 152107 | 152254 | T: hecfp127i |
198177 | 198893 | 200055 | T: sclaus1024 |
210615 | 210693 | 210993 | T: hecfp128i |
332376 | 336761 | 337870 | T: surf2113 |
525940 | 527184 | 529251 | T: ed448goldilocks |
716412 | 718055 | 729646 | T: nistp256 |
746010 | 768784 | 777229 | T: ed521gs |
912243 | 914820 | 915982 | T: nist521gs |
993456 | 1008917 | 1019152 | T: sclaus2048 |
1012628 | 1013555 | 1015647 | T: claus |
|
|
|