VAMPIRE

eBACS: ECRYPT Benchmarking of Cryptographic Systems


ECRYPT II
General information:IntroductioneBASHeBASCeBAEADeBATSSUPERCOPXBXComputersArch
How to submit new software:Tipshashstreamaeaddhkemencryptsign
List of primitives measured:lwcsha3hashstreamlwccaesaraeaddhkemencryptsign
Measurements:lwcsha3hashstreamlwccaesaraeaddhkemencryptsign
List of subroutines:verifydecodeencodesortcorehashblocksxofscalarmult

Measurements of stream ciphers on one machine: amd64; Zen 4 (a60f12); 2023 AMD Ryzen 7 7700; 8 x 3800MHz; hertz, supercop-20251114

[Page version: 20251128 09:21:59]

eBASC (ECRYPT Benchmarking of Stream Ciphers) is a project to measure the performance of stream ciphers. This page presents benchmark results collected in eBASC:

Graphs show timings for all message lengths between 0 and 4096 bytes. The stair-step shape of a typical curve on the graphs reflects the fact that these stream ciphers handle messages in blocks, such as 64-byte blocks.

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 stream cipher and each implementation. Designers and implementors interested in submitting new stream ciphers and new implementations should read the call for submissions.


Test results

Graphs: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.230.240.24aes256ctr
0.290.320.32chacha8
0.34?0.35?0.38?T:aes128ctr
0.41?0.44?0.49?T:aes192ctr
0.43?0.44?0.49?chacha12
0.560.570.57salsa208
0.600.610.61tango642
0.670.680.70chacha20
0.690.690.70salsa2012
0.680.700.72T:speck6496ctr
0.710.720.73T:speck64128ctr
0.770.790.82T:speck128128ctr
0.780.820.83T:speck128192ctr
0.810.840.85T:speck128256ctr
0.940.940.95salsa20
0.930.940.97xsalsa20
0.950.960.97T:simon6496ctr
0.83?0.99?1.18?T:simon64128ctr
1.291.291.30T:hc128
1.331.351.42T:simon128128ctr
1.26?1.37?1.41?T:tpy
1.391.421.48T:simon128256ctr
1.46?1.61?1.80?T:nlsv2
1.671.681.72T:sosemanuk
1.681.751.81T:tpy6
1.771.791.80T:hc256
1.821.851.88T:cryptmtv3
2.042.042.05T:panama
1.982.052.09T:trivium
2.142.222.30T:tpypy
2.402.412.43T:snow20
3.053.163.17T:rabbit
4.024.044.06T:lexv2
8.138.148.17T:aes128estream
11.9912.0312.06T:aes256estream
12.7512.8712.98T:ocelot1
14.0514.2914.49T:ocelot2
24.31?26.96?28.72?T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.260.260.26aes256ctr
0.320.330.33chacha8
0.370.370.39T:aes128ctr
0.440.450.48chacha12
0.580.590.59salsa208
0.640.640.66T:aes192ctr
0.690.690.70chacha20
0.710.710.72salsa2012
0.720.730.74T:speck6496ctr
0.740.740.74tango642
0.740.750.75T:speck64128ctr
0.810.830.84T:speck128128ctr
0.840.860.86T:speck128192ctr
0.860.880.89T:speck128256ctr
0.960.960.96salsa20
1.041.051.06xsalsa20
1.101.101.11T:simon6496ctr
1.231.351.36T:simon64128ctr
1.491.501.55T:simon128128ctr
1.771.771.91T:nlsv2
1.781.801.81T:simon128256ctr
2.042.052.07T:sosemanuk
2.082.132.14T:trivium
2.312.352.38T:tpy6
2.412.422.43T:cryptmtv3
2.482.492.50T:snow20
2.462.532.55T:tpy
2.642.642.64T:panama
3.203.283.28T:rabbit
3.393.423.46T:tpypy
3.783.783.78T:hc128
4.144.154.16T:lexv2
8.198.198.21T:aes128estream
8.198.208.21T:hc256
12.0912.1112.12T:aes256estream
13.7113.7713.82T:ocelot1
14.9415.0615.17T:ocelot2
26.2428.1928.92T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.290.300.30aes256ctr
0.400.400.41T:aes128ctr
0.420.430.46chacha8
0.530.540.54salsa208
0.580.580.59chacha12
0.680.680.68salsa2012
0.770.790.83T:speck6496ctr
0.790.790.80T:speck64128ctr
0.890.890.90T:speck128128ctr
0.900.920.93chacha20
0.920.930.96T:speck128192ctr
0.930.940.95T:speck128256ctr
0.940.950.96salsa20
0.920.960.99T:aes192ctr
0.960.960.97tango642
1.171.171.20xsalsa20
1.341.341.34T:simon6496ctr
1.741.751.77T:simon128128ctr
1.60?1.93?1.95?T:simon64128ctr
2.13?2.17?2.70?T:nlsv2
2.222.262.28T:trivium
2.342.422.45T:simon128256ctr
2.592.602.61T:snow20
2.682.702.71T:sosemanuk
3.163.243.30T:tpy6
3.373.383.47T:rabbit
3.623.633.64T:cryptmtv3
3.643.643.65T:panama
4.354.364.37T:lexv2
4.514.564.56T:tpy
5.365.395.44T:tpypy
7.907.917.92T:hc128
8.278.318.32T:aes128estream
12.2312.2412.26T:aes256estream
15.0415.1815.29T:ocelot1
16.1816.3416.51T:ocelot2
18.7918.8718.91T:hc256
28.6330.3530.43T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.510.520.53T:aes128ctr
0.540.540.55salsa208
0.550.560.57aes256ctr
0.56?0.57?0.63?chacha8
0.770.780.79chacha12
0.770.780.78salsa2012
1.071.071.08T:speck6496ctr
1.101.111.11T:speck64128ctr
1.221.241.27chacha20
1.261.271.31T:speck128128ctr
1.261.281.28salsa20
1.311.311.31T:speck128192ctr
1.341.351.36T:speck128256ctr
1.551.561.56tango642
1.721.731.85T:aes192ctr
1.901.901.93xsalsa20
2.272.272.27T:simon64128ctr
2.572.622.63T:trivium
2.642.652.65T:simon128128ctr
2.902.912.92T:simon128256ctr
2.43?2.92?2.95?T:simon6496ctr
2.942.962.98T:snow20
2.99?3.02?4.34?T:nlsv2
3.973.973.97T:rabbit
4.354.364.40T:cryptmtv3
4.424.454.47T:sosemanuk
4.874.884.89T:lexv2
5.885.926.11T:tpy6
6.266.296.32T:panama
8.488.558.57T:aes128estream
9.909.9710.04T:tpy
10.4010.5810.71T:tpypy
12.5512.5612.59T:aes256estream
18.9518.9819.00T:hc128
18.8419.0819.28T:ocelot1
19.8620.2020.48T:ocelot2
34.3135.2935.43T:amastrid
47.3547.4147.42T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.531.581.66T:aes128ctr
2.802.812.83salsa208
3.023.203.34aes256ctr
3.663.673.75salsa2012
3.783.883.89T:speck6496ctr
3.983.984.19T:speck64128ctr
4.70?4.73?5.27?T:speck128128ctr
4.804.865.05T:simon6496ctr
4.804.915.33chacha8
5.115.175.31T:speck128256ctr
5.165.255.28T:speck128192ctr
5.505.505.50salsa20
6.086.206.30T:simon64128ctr
6.616.756.91chacha12
7.117.227.31T:trivium
7.287.317.39T:snow20
8.178.238.25T:simon128128ctr
8.668.729.00T:cryptmtv3
9.209.209.20tango642
9.569.599.59T:simon128256ctr
10.5510.6410.64T:rabbit
10.7310.8110.81xsalsa20
10.6710.8411.28chacha20
11.5211.6611.78T:lexv2
11.5611.6611.70T:aes128estream
12.3113.3313.47T:aes192ctr
17.0017.0617.20T:aes256estream
16.91?17.47?33.81?T:nlsv2
23.8323.9124.00T:sosemanuk
38.9139.1939.98T:tpy6
40.2340.4140.59T:panama
65.8868.1671.84T:ocelot1
67.8369.0270.67T:ocelot2
76.8077.6178.45T:tpy
77.3978.0578.28T:tpypy
99.72102.16103.30T:amastrid
160.33160.59160.73T:hc128
412.97413.05413.55T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
12.62?13.38?14.50?T:aes128ctr
16.7516.7516.75T:speck64128ctr
17.5017.5017.50T:speck6496ctr
18.5018.5018.50T:speck128192ctr
18.8818.8818.88T:speck128256ctr
20.3820.6220.62T:speck128128ctr
25.0025.7527.00aes256ctr
27.88?28.50?35.25?chacha8
36.50?37.50?40.62?salsa208
39.0039.3839.88T:simon6496ctr
40.6241.1241.50chacha12
43.0043.8844.38T:trivium
46.5047.1247.75salsa2012
48.6249.1249.25T:aes128estream
49.2549.2549.25T:simon64128ctr
55.1255.5055.62chacha20
55.7556.1258.12T:cryptmtv3
58.0058.5058.75T:snow20
63.0063.5064.12salsa20
63.7564.3864.38T:aes256estream
66.7566.7566.88T:rabbit
67.2568.0069.50T:lexv2
69.1269.8870.00tango642
76.0076.0076.00T:simon128128ctr
87.5087.5087.50T:simon128256ctr
88.88?91.88?153.50?T:nlsv2
101.00105.25108.50T:aes192ctr
107.50107.75108.75xsalsa20
190.25190.88192.38T:sosemanuk
290.88295.50302.00T:tpy6
315.12316.75319.12T:panama
441.88456.62460.75T:ocelot2
450.88457.38470.25T:ocelot1
605.62611.62614.75T:tpy
610.88615.62619.12T:tpypy
662.50671.25676.38T:amastrid
1287.75?1288.25?1701.50?T:hc128
3299.383302.883310.75T:hc256