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

[Page version: 20250506 12:42:54]

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.25aes256ctr
0.310.310.32chacha8
0.360.360.36T:aes128ctr
0.440.450.45chacha12
0.440.450.46tango642
0.41?0.46?0.47?T:aes192ctr
0.570.570.58salsa208
0.640.650.66T:speck6496ctr
0.640.650.67T:speck64128ctr
0.670.680.69chacha20
0.690.700.70salsa2012
0.780.790.82T:speck128192ctr
0.740.810.82T:speck128128ctr
0.800.810.84T:speck128256ctr
0.880.890.89T:simon6496ctr
0.83?0.92?0.94?T:simon64128ctr
0.930.940.95xsalsa20
0.940.940.96salsa20
1.281.291.34T:hc128
1.311.331.34T:simon128128ctr
1.331.371.40T:tpy
1.33?1.42?1.50?T:simon128256ctr
1.471.531.56T:nlsv2
1.521.541.55T:trivium
1.671.691.72T:sosemanuk
1.74?1.79?2.00?T:hc256
1.771.811.82T:cryptmtv3
1.781.841.92T:tpy6
2.062.112.11T:panama
2.122.212.28T:tpypy
2.412.422.44T:snow20
2.973.003.03T:rabbit
4.024.034.03T:lexv2
8.118.138.22T:aes128estream
12.6512.6712.69T:aes256estream
13.5113.6313.73T:ocelot1
14.5314.6414.78T:ocelot2
27.3727.5927.94T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.260.260.27aes256ctr
0.320.320.33chacha8
0.370.380.38T:aes128ctr
0.450.450.45chacha12
0.580.580.58tango642
0.590.590.59salsa208
0.670.680.69T:speck6496ctr
0.680.680.69T:aes192ctr
0.690.690.70chacha20
0.690.700.71T:speck64128ctr
0.710.710.72salsa2012
0.840.850.86T:speck128192ctr
0.820.850.85T:speck128128ctr
0.860.860.89T:speck128256ctr
0.960.960.96salsa20
1.011.011.02T:simon6496ctr
1.041.041.05xsalsa20
1.101.101.11T:simon64128ctr
1.481.491.49T:simon128128ctr
1.641.651.65T:trivium
1.651.691.70T:nlsv2
1.741.791.81T:simon128256ctr
2.042.052.07T:sosemanuk
2.382.392.40T:cryptmtv3
2.382.422.46T:tpy6
2.482.492.50T:snow20
2.532.552.57T:tpy
2.702.732.73T:panama
3.113.133.14T:rabbit
3.403.423.45T:tpypy
3.763.773.79T:hc128
4.144.144.15T:lexv2
8.188.198.26T:aes128estream
8.258.268.40T:hc256
12.7512.7712.77T:aes256estream
14.4514.5014.55T:ocelot1
15.4415.5015.55T:ocelot2
28.4428.5828.64T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.290.300.30aes256ctr
0.400.410.43T:aes128ctr
0.420.420.43chacha8
0.530.540.54salsa208
0.590.590.59chacha12
0.670.670.67salsa2012
0.720.730.74T:speck6496ctr
0.760.770.78T:speck64128ctr
0.800.800.82tango642
0.900.910.92chacha20
0.900.920.97T:speck128128ctr
0.920.930.94T:speck128192ctr
0.950.950.95salsa20
0.960.970.98T:speck128256ctr
1.031.071.12T:aes192ctr
1.171.191.19xsalsa20
1.211.221.22T:simon6496ctr
1.401.411.42T:simon64128ctr
1.741.751.76T:simon128128ctr
1.821.831.85T:trivium
2.022.052.07T:nlsv2
2.292.422.45T:simon128256ctr
2.602.612.61T:snow20
2.702.702.71T:sosemanuk
3.313.333.36T:rabbit
3.303.383.50T:tpy6
3.583.583.59T:cryptmtv3
3.743.783.78T:panama
4.354.374.40T:lexv2
4.484.574.60T:tpy
5.235.335.44T:tpypy
7.907.917.93T:hc128
8.308.318.35T:aes128estream
12.8512.9012.93T:aes256estream
15.7915.8515.98T:ocelot1
16.4516.9217.25T:ocelot2
19.0119.0519.13T:hc256
29.8730.1530.23T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.510.510.52T:aes128ctr
0.530.540.55salsa208
0.550.550.56aes256ctr
0.560.560.58chacha8
0.770.780.80chacha12
0.780.790.80salsa2012
1.041.041.04T:speck6496ctr
1.101.111.11T:speck64128ctr
1.201.231.24chacha20
1.271.271.29salsa20
1.331.341.36T:speck128128ctr
1.361.391.39T:speck128192ctr
1.381.401.42T:speck128256ctr
1.371.411.43tango642
1.901.901.92xsalsa20
2.05?2.14?2.31?T:aes192ctr
2.182.192.21T:simon6496ctr
2.312.332.35T:trivium
2.492.502.51T:simon64128ctr
2.892.912.94T:simon128256ctr
2.902.942.95T:snow20
2.942.962.98T:nlsv2
3.813.813.82T:simon128128ctr
3.853.913.94T:rabbit
4.374.394.45T:cryptmtv3
4.434.454.46T:sosemanuk
4.89?4.92?5.73?T:lexv2
5.895.976.05T:tpy6
6.516.576.64T:panama
8.548.558.57T:aes128estream
9.9110.0510.14T:tpy
10.5210.6410.75T:tpypy
13.2613.2813.34T:aes256estream
18.9318.9518.98T:hc128
19.7219.9220.15T:ocelot1
20.5120.6621.01T:ocelot2
33.8935.4436.27T:amastrid
47.5747.7847.81T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.591.661.72T:aes128ctr
2.782.802.80salsa208
2.983.143.23aes256ctr
3.703.723.72salsa2012
3.954.004.05T:speck6496ctr
4.054.084.16T:speck64128ctr
4.724.734.81chacha8
4.955.055.08T:speck128128ctr
5.065.125.16T:simon6496ctr
5.125.235.34T:speck128192ctr
5.395.475.55T:speck128256ctr
5.505.505.50salsa20
6.336.336.34T:simon64128ctr
6.666.816.91chacha12
6.987.057.11T:snow20
8.238.388.38T:simon128128ctr
8.368.448.53T:trivium
8.948.979.02T:cryptmtv3
9.099.399.45tango642
9.559.569.61T:simon128256ctr
10.6410.6710.78xsalsa20
10.5910.8410.94chacha20
10.6410.9711.20T:rabbit
11.5511.6211.75T:lexv2
11.6711.7711.84T:aes128estream
14.8814.9215.45T:aes192ctr
16.5516.6917.03T:nlsv2
17.8618.0218.08T:aes256estream
23.8823.9524.02T:sosemanuk
38.7738.8839.20T:tpy6
42.2342.5242.56T:panama
68.6470.1670.83T:ocelot1
71.0372.0073.14T:ocelot2
77.3177.9179.11T:tpypy
77.3178.0278.77T:tpy
99.84100.78101.91T:amastrid
160.08160.53160.69T:hc128
414.58414.64415.48T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
12.75?12.88?14.25?T:aes128ctr
17.3817.3817.50T:speck64128ctr
18.3818.3818.38T:speck128128ctr
19.0019.0019.00T:speck128256ctr
19.3819.3819.38T:speck128192ctr
24.2525.3826.00aes256ctr
25.8826.2527.50T:speck6496ctr
30.5031.0031.25chacha8
29.6231.2531.88salsa208
38.2538.6239.25T:simon6496ctr
39.2540.2540.62salsa2012
41.0041.5041.75chacha12
47.5048.0048.38T:simon64128ctr
49.0049.0049.38T:aes128estream
55.8856.3857.25T:snow20
56.8857.2557.75T:trivium
57.5058.1258.62salsa20
56.5058.6258.75T:cryptmtv3
59.6260.0060.25chacha20
63.8863.8863.88T:simon128128ctr
66.6267.3868.50T:aes256estream
66.8867.7568.38tango642
67.1269.0070.00T:rabbit
69.1269.2569.75T:lexv2
87.7587.7587.75T:simon128256ctr
87.3888.7590.62T:nlsv2
98.7598.8899.50xsalsa20
118.62119.25123.38T:aes192ctr
191.50192.25194.00T:sosemanuk
289.12304.00313.75T:tpy6
330.62334.12334.50T:panama
440.62449.12465.00T:ocelot1
450.88475.38484.25T:ocelot2
605.25609.38613.88T:tpypy
605.75611.25615.00T:tpy
652.88665.38671.62T:amastrid
1280.121281.121281.38T:hc128
3318.123319.883333.50T:hc256