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

[Page version: 20241215 22:59:29]

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.240.240.26aes256ctr
0.310.320.32chacha8
0.32?0.35?0.44?T:aes128ctr
0.440.440.46chacha12
0.41?0.45?0.47?T:aes192ctr
0.450.450.46tango642
0.580.580.59salsa208
0.630.640.65T:speck6496ctr
0.670.700.70chacha20
0.690.700.70salsa2012
0.680.700.72T:speck64128ctr
0.760.800.80T:speck128128ctr
0.800.810.84T:speck128256ctr
0.820.820.83T:speck128192ctr
0.940.950.99salsa20
0.950.950.96xsalsa20
1.261.281.30T:hc128
1.321.321.34T:simon128128ctr
1.361.421.47T:tpy
1.361.431.50T:simon128256ctr
1.501.511.53T:trivium
1.571.591.64T:nlsv2
1.681.691.69T:simon6496ctr
1.651.691.73T:sosemanuk
1.69?1.76?1.93?T:tpy6
1.811.821.83T:simon64128ctr
1.811.831.84T:cryptmtv3
1.811.841.85T:hc256
2.062.072.09T:panama
2.122.192.26T:tpypy
2.392.402.43T:snow20
2.962.993.03T:rabbit
4.034.064.07T:lexv2
8.108.148.25T:aes128estream
12.6412.6812.70T:aes256estream
13.4413.5213.59T:ocelot1
14.5114.6814.77T:ocelot2
25.5826.8627.65T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.260.260.27aes256ctr
0.340.340.34chacha8
0.37?0.38?0.44?T:aes128ctr
0.460.470.48chacha12
0.580.580.58tango642
0.610.610.61salsa208
0.670.670.68T:speck6496ctr
0.660.670.68T:aes192ctr
0.690.720.72chacha20
0.720.730.74T:speck64128ctr
0.730.730.73salsa2012
0.820.840.84T:speck128128ctr
0.860.870.89T:speck128256ctr
0.870.870.87T:speck128192ctr
0.980.981.01salsa20
1.071.071.08xsalsa20
1.461.471.47T:simon128128ctr
1.621.631.64T:trivium
1.751.761.78T:nlsv2
1.761.811.82T:simon128256ctr
1.811.811.82T:simon6496ctr
1.961.961.97T:simon64128ctr
2.042.052.08T:sosemanuk
2.322.362.43T:tpy6
2.392.402.41T:cryptmtv3
2.472.482.50T:snow20
2.552.582.60T:tpy
2.712.722.72T:panama
3.103.113.13T:rabbit
3.393.413.45T:tpypy
3.773.783.80T:hc128
4.164.174.18T:lexv2
8.188.218.28T:aes128estream
8.258.278.28T:hc256
12.7312.7612.77T:aes256estream
14.3714.4014.44T:ocelot1
15.4215.4915.52T:ocelot2
27.2628.1528.70T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.290.290.30aes256ctr
0.40?0.42?0.46?T:aes128ctr
0.480.480.48chacha8
0.580.580.59salsa208
0.640.640.65chacha12
0.720.730.73salsa2012
0.730.730.73T:speck6496ctr
0.750.760.80T:speck64128ctr
0.800.800.81tango642
0.910.920.92T:speck128128ctr
0.920.950.96T:speck128192ctr
0.950.950.97T:speck128256ctr
0.960.970.97chacha20
1.011.011.02salsa20
1.051.101.12T:aes192ctr
1.231.241.25xsalsa20
1.701.711.72T:simon128128ctr
1.811.821.83T:trivium
2.022.022.03T:simon6496ctr
2.112.122.15T:nlsv2
2.202.212.23T:simon64128ctr
2.332.432.46T:simon128256ctr
2.602.612.65T:snow20
2.702.712.77T:sosemanuk
3.323.333.34T:rabbit
3.313.363.42T:tpy6
3.573.583.60T:cryptmtv3
3.773.793.81T:panama
4.334.364.36T:lexv2
4.454.634.66T:tpy
5.425.465.53T:tpypy
7.937.937.96T:hc128
8.328.358.38T:aes128estream
12.8812.9012.93T:aes256estream
15.7615.8615.94T:ocelot1
16.4416.8516.98T:ocelot2
18.9918.9919.00T:hc256
29.1029.2130.31T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.52?0.53?0.62?T:aes128ctr
0.550.560.56aes256ctr
0.580.590.59salsa208
0.630.630.63chacha8
0.830.840.84chacha12
0.830.840.85salsa2012
1.031.041.05T:speck6496ctr
1.081.091.10T:speck64128ctr
1.261.271.27chacha20
1.321.321.32salsa20
1.331.341.35T:speck128128ctr
1.361.361.39T:speck128192ctr
1.381.411.41tango642
1.411.431.43T:speck128256ctr
1.911.921.95xsalsa20
1.981.992.09T:aes192ctr
2.292.332.34T:trivium
2.672.702.71T:simon128128ctr
2.902.922.98T:snow20
2.89?2.93?3.32?T:simon128256ctr
2.973.033.03T:nlsv2
3.413.443.46T:simon6496ctr
3.673.733.95T:simon64128ctr
3.843.863.92T:rabbit
4.364.374.39T:cryptmtv3
4.444.484.63T:sosemanuk
4.914.914.92T:lexv2
5.846.036.28T:tpy6
6.566.586.62T:panama
8.528.568.57T:aes128estream
9.709.7410.02T:tpy
10.7010.7610.82T:tpypy
13.2313.2713.32T:aes256estream
19.0619.0719.07T:hc128
19.8619.9720.17T:ocelot1
20.5220.8621.07T:ocelot2
35.2235.5335.63T:amastrid
47.5947.6747.69T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.531.591.70T:aes128ctr
2.522.552.56salsa208
2.84?3.23?3.34?aes256ctr
3.313.313.34salsa2012
3.944.024.23T:speck6496ctr
4.234.344.41T:speck64128ctr
4.844.844.86salsa20
5.055.085.19T:speck128128ctr
5.115.145.27T:speck128192ctr
5.225.225.23chacha8
5.395.525.66T:speck128256ctr
6.566.586.58T:simon6496ctr
6.836.987.02T:simon64128ctr
6.987.037.08T:snow20
7.177.257.33chacha12
8.508.598.67T:simon128128ctr
8.628.789.03T:cryptmtv3
8.758.848.91T:trivium
9.099.399.45tango642
9.569.589.61T:simon128256ctr
10.2310.2510.66xsalsa20
10.6210.9411.12T:rabbit
11.0911.2311.36chacha20
11.4711.6111.70T:lexv2
11.6111.8111.88T:aes128estream
14.3914.7215.53T:aes192ctr
16.7316.8917.00T:nlsv2
17.8817.9718.11T:aes256estream
23.8924.0824.38T:sosemanuk
38.5638.7839.19T:tpy6
42.0542.6642.73T:panama
68.0969.8372.12T:ocelot1
68.0570.2772.91T:ocelot2
76.7376.7778.67T:tpy
78.3879.1479.47T:tpypy
100.25101.05103.05T:amastrid
160.22161.16162.16T:hc128
413.06415.12415.28T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
12.6213.0013.62T:aes128ctr
18.0018.2518.25T:speck128192ctr
18.3818.3819.12T:speck128128ctr
19.0019.0019.00T:speck128256ctr
23.8824.3824.88T:speck64128ctr
24.8825.3826.12aes256ctr
25.7526.1227.50T:speck6496ctr
29.7530.1230.75chacha8
37.8838.2538.25salsa2012
38.6238.7538.75chacha12
39.8840.1240.25T:simon6496ctr
41.1241.6241.88salsa208
46.3846.7547.38T:simon64128ctr
50.0050.3851.50T:aes128estream
54.1254.1254.25salsa20
54.6255.0056.62T:snow20
56.0056.0058.25T:cryptmtv3
57.3857.6257.62chacha20
59.5060.1260.62T:trivium
66.3867.1268.00T:aes256estream
66.1267.5069.62T:rabbit
67.0067.8867.88tango642
67.5069.6269.75T:lexv2
76.8877.0077.00T:simon128128ctr
87.7587.7587.75T:simon128256ctr
88.3889.7591.25T:nlsv2
99.0099.50100.50xsalsa20
115.88117.00124.25T:aes192ctr
191.50191.75194.38T:sosemanuk
295.38299.88301.38T:tpy6
331.00332.38336.25T:panama
451.62467.50481.50T:ocelot1
461.75468.62474.75T:ocelot2
604.12607.00609.75T:tpypy
609.75615.88622.38T:tpy
665.38669.00673.25T:amastrid
1285.621294.381297.62T:hc128
3309.753315.123322.75T:hc256