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-20250922

[Page version: 20251001 12:36:48]

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.310.320.32chacha8
0.33?0.36?0.37?T:aes128ctr
0.440.440.45chacha12
0.44?0.46?0.49?T:aes192ctr
0.560.570.58salsa208
0.600.610.61tango642
0.660.680.71chacha20
0.680.690.70T:speck6496ctr
0.690.700.70salsa2012
0.700.720.73T:speck64128ctr
0.760.790.80T:speck128128ctr
0.790.820.82T:speck128192ctr
0.810.840.85T:speck128256ctr
0.930.940.95salsa20
0.930.940.96xsalsa20
0.950.960.97T:simon6496ctr
0.83?0.99?1.16?T:simon64128ctr
1.201.281.30T:tpy
1.281.291.30T:hc128
1.341.351.36T:simon128128ctr
1.361.421.50T:simon128256ctr
1.601.611.61T:nlsv2
1.681.681.70T:sosemanuk
1.681.721.83T:tpy6
1.751.771.79T:hc256
1.831.831.86T:cryptmtv3
2.042.052.06T:panama
2.002.072.08T:trivium
2.082.192.26T:tpypy
2.422.442.46T:snow20
3.083.103.19T:rabbit
4.024.044.06T:lexv2
8.138.188.20T:aes128estream
12.0212.0412.07T:aes256estream
12.7212.8713.04T:ocelot1
13.9214.1014.26T:ocelot2
27.6127.9228.22T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.260.260.26aes256ctr
0.320.330.33chacha8
0.360.380.39T:aes128ctr
0.450.450.45chacha12
0.580.590.59salsa208
0.630.640.66T:aes192ctr
0.670.690.71chacha20
0.710.710.72salsa2012
0.710.720.73T:speck6496ctr
0.740.740.74tango642
0.740.750.76T:speck64128ctr
0.810.820.83T:speck128128ctr
0.840.860.86T:speck128192ctr
0.860.880.88T:speck128256ctr
0.950.960.96salsa20
1.041.041.05xsalsa20
1.101.101.11T:simon6496ctr
1.221.351.35T:simon64128ctr
1.491.501.50T:simon128128ctr
1.761.771.77T:nlsv2
1.761.801.80T:simon128256ctr
2.042.052.06T:sosemanuk
2.102.152.15T:trivium
2.322.342.40T:tpy6
2.422.422.43T:cryptmtv3
2.502.512.52T:snow20
2.492.532.55T:tpy
2.632.642.64T:panama
3.223.233.27T:rabbit
3.343.373.40T:tpypy
3.773.783.78T:hc128
4.154.164.17T:lexv2
8.198.198.20T:hc256
8.198.238.24T:aes128estream
12.1012.1212.13T:aes256estream
13.7113.7613.85T:ocelot1
14.7814.8914.98T:ocelot2
28.4528.6128.73T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.290.300.30aes256ctr
0.400.410.42T:aes128ctr
0.410.420.43chacha8
0.530.530.54salsa208
0.590.590.59chacha12
0.680.680.68salsa2012
0.770.770.78T:speck6496ctr
0.790.790.80T:speck64128ctr
0.870.890.92T:speck128128ctr
0.900.910.93chacha20
0.910.920.92T:speck128192ctr
0.930.940.95T:speck128256ctr
0.930.950.95salsa20
0.910.961.00T:aes192ctr
0.960.960.97tango642
1.181.181.19xsalsa20
1.341.341.35T:simon6496ctr
1.731.741.75T:simon128128ctr
1.61?1.93?1.95?T:simon64128ctr
2.142.152.16T:nlsv2
2.212.262.31T:trivium
2.292.412.45T:simon128256ctr
2.622.622.64T:snow20
2.692.692.70T:sosemanuk
3.193.243.32T:tpy6
3.373.473.47T:rabbit
3.623.623.64T:panama
3.633.643.66T:cryptmtv3
4.344.354.37T:lexv2
4.454.524.57T:tpy
5.265.335.41T:tpypy
7.907.937.94T:hc128
8.288.298.30T:aes128estream
12.2312.2412.26T:aes256estream
15.2015.3115.41T:ocelot1
16.1816.2716.41T:ocelot2
18.9018.9118.96T:hc256
29.5429.6630.08T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.510.520.52T:aes128ctr
0.540.540.55salsa208
0.550.560.57aes256ctr
0.550.560.57chacha8
0.770.780.79chacha12
0.790.790.80salsa2012
1.051.071.09T:speck6496ctr
1.091.101.11T:speck64128ctr
1.191.221.24chacha20
1.261.261.27T:speck128128ctr
1.271.281.29salsa20
1.311.311.32T:speck128192ctr
1.331.341.36T:speck128256ctr
1.561.561.57tango642
1.731.741.86T:aes192ctr
1.901.921.93xsalsa20
2.272.282.29T:simon64128ctr
2.612.642.70T:trivium
2.632.652.66T:simon128128ctr
2.902.922.94T:simon128256ctr
2.41?2.94?2.95?T:simon6496ctr
2.962.973.01T:snow20
3.033.043.08T:nlsv2
3.973.973.97T:rabbit
4.364.394.39T:cryptmtv3
4.424.434.43T:sosemanuk
4.904.914.92T:lexv2
5.856.036.18T:tpy6
6.226.256.28T:panama
8.478.498.53T:aes128estream
9.819.859.87T:tpy
10.6010.9211.25T:tpypy
12.5312.6012.65T:aes256estream
18.9618.9819.04T:hc128
18.9119.1419.35T:ocelot1
19.8320.1220.32T:ocelot2
35.5635.8736.08T:amastrid
47.3347.3947.41T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.53?1.59?1.84?T:aes128ctr
2.812.832.86salsa208
3.033.233.36aes256ctr
3.663.673.69salsa2012
3.923.924.05T:speck6496ctr
3.913.983.98T:speck64128ctr
4.694.704.81T:speck128128ctr
4.724.804.89chacha8
4.864.895.05T:simon6496ctr
4.955.055.22T:speck128192ctr
5.095.145.17T:speck128256ctr
5.505.525.52salsa20
6.16?6.20?6.88?T:simon64128ctr
6.616.726.83chacha12
7.14?7.34?8.36?T:trivium
7.347.417.47T:snow20
8.148.198.23T:simon128128ctr
8.959.029.11T:cryptmtv3
9.179.239.28tango642
9.589.599.70T:simon128256ctr
10.4410.5910.83chacha20
10.5510.6410.64T:rabbit
10.7710.7710.81xsalsa20
11.5311.5911.61T:aes128estream
11.6611.7811.81T:lexv2
12.3312.5313.48T:aes192ctr
17.0017.0017.03T:aes256estream
16.8917.0317.34T:nlsv2
23.8323.9124.02T:sosemanuk
37.1738.0838.86T:tpy6
40.0540.2840.30T:panama
66.2569.0670.28T:ocelot2
67.9169.8071.22T:ocelot1
77.0077.6978.97T:tpypy
77.4277.9578.28T:tpy
97.9599.58101.61T:amastrid
160.64161.11161.36T:hc128
411.80412.89413.48T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
12.62?12.88?14.62?T:aes128ctr
14.7514.7514.75T:speck6496ctr
16.7516.7517.38T:speck64128ctr
18.8818.8818.88T:speck128256ctr
20.0020.0020.00T:speck128192ctr
20.2520.2520.38T:speck128128ctr
24.7525.3826.75aes256ctr
30.3830.8831.12chacha8
30.8831.3831.62salsa208
38.1239.0039.38T:simon6496ctr
40.6241.1241.25chacha12
42.88?44.12?53.25?T:trivium
46.6247.2547.75salsa2012
48.5049.0049.50T:aes128estream
49.2549.2549.25T:simon64128ctr
56.7557.7558.00T:snow20
58.1258.1263.00T:cryptmtv3
60.3860.7561.50chacha20
62.5063.1264.00salsa20
63.0063.6263.88T:aes256estream
66.7566.7567.88T:rabbit
68.2568.5069.50T:lexv2
69.1269.8869.88tango642
76.0076.0076.00T:simon128128ctr
87.5087.5087.50T:simon128256ctr
88.3889.6291.75T:nlsv2
101.00104.50108.62T:aes192ctr
106.62109.12109.12xsalsa20
190.50191.38192.38T:sosemanuk
296.00299.75304.38T:tpy6
312.62313.12315.12T:panama
452.00463.12479.50T:ocelot2
453.75468.75485.00T:ocelot1
601.88607.12610.75T:tpy
604.50616.88620.50T:tpypy
661.62680.50693.38T:amastrid
1284.621287.121290.75T:hc128
3301.003301.503307.25T:hc256