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; Core 2 65nm (6fb); 2007 Intel Core 2 Quad Q6600; 4 x 2404MHz; margaux, supercop-20240625

[Page version: 20240726 23:46:00]

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.


Implementation notes

Graphs: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
1.121.131.14tango642
1.701.701.70chacha8
1.961.961.97salsa208
2.272.272.27chacha12
2.402.432.44T:hc128
2.552.642.73T:tpy
2.652.662.68salsa2012
2.812.822.87T:trivium
2.832.973.04T:tpy6
3.363.363.36chacha20
3.373.373.37T:speck6496ctr
3.443.533.60T:hc256
3.553.553.55T:speck64128ctr
3.583.593.61T:sosemanuk
3.803.823.93T:nlsv2
3.843.863.86T:cryptmtv3
3.993.993.99salsa20
3.994.024.02xsalsa20
4.004.024.03T:snow20
4.104.114.13T:panama
4.124.244.52T:tpypy
4.764.764.76T:speck128128ctr
4.804.814.85T:rabbit
4.854.864.86T:speck128192ctr
5.005.005.00T:speck128256ctr
5.795.795.79T:lexv2
6.376.396.41T:simon6496ctr
6.626.646.64T:simon64128ctr
8.798.848.92T:aes128ctr
9.529.539.53T:simon128128ctr
10.3510.3810.41T:aes192ctr
10.4010.4010.40T:simon128256ctr
10.5610.5910.64T:aes128estream
11.9411.9912.03T:aes256ctr
18.0018.0218.07T:aes256estream
25.5526.1426.44T:ocelot1
28.4228.5229.24T:ocelot2
39.4141.4743.19T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.401.401.41tango642
1.731.731.73chacha8
1.991.992.00salsa208
2.302.302.30chacha12
2.682.682.70salsa2012
2.952.952.99T:trivium
3.393.393.39chacha20
3.423.423.42T:speck6496ctr
3.613.613.61T:speck64128ctr
3.633.703.70T:tpy6
3.943.943.95T:sosemanuk
4.034.034.03salsa20
4.024.034.11T:nlsv2
4.144.144.15T:snow20
4.154.164.16xsalsa20
4.154.204.25T:tpy
4.464.464.47T:cryptmtv3
4.834.834.83T:speck128128ctr
4.924.924.92T:speck128192ctr
4.984.995.00T:rabbit
5.075.075.07T:speck128256ctr
5.365.365.37T:panama
5.855.906.02T:tpypy
5.985.985.98T:lexv2
6.676.686.69T:simon6496ctr
7.057.067.07T:hc128
7.107.107.10T:simon64128ctr
9.909.929.96T:aes128ctr
9.979.979.97T:simon128128ctr
10.6810.6810.68T:aes128estream
11.5111.5211.53T:aes192ctr
12.0212.0212.02T:simon128256ctr
13.0813.1013.12T:aes256ctr
15.5715.6015.66T:hc256
18.1418.1518.18T:aes256estream
27.4327.7327.87T:ocelot1
30.4030.4330.49T:ocelot2
43.4044.6245.54T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.781.781.78chacha8
1.851.861.87tango642
2.032.042.04salsa208
2.352.352.35chacha12
2.742.742.77salsa2012
3.183.183.20T:trivium
3.453.453.45chacha20
3.513.513.51T:speck6496ctr
3.713.713.71T:speck64128ctr
4.084.094.11salsa20
4.344.344.37T:snow20
4.384.404.40xsalsa20
4.504.544.54T:nlsv2
4.574.594.61T:sosemanuk
4.944.944.94T:speck128128ctr
4.964.995.01T:tpy6
5.025.025.03T:speck128192ctr
5.185.185.18T:speck128256ctr
5.245.295.30T:rabbit
5.955.965.97T:cryptmtv3
6.306.306.31T:lexv2
6.626.716.82T:tpy
7.157.167.17T:simon6496ctr
7.457.457.47T:panama
7.867.877.88T:simon64128ctr
8.478.628.70T:tpypy
10.6910.6910.84T:aes128estream
10.7010.7110.71T:simon128128ctr
11.6511.7011.80T:aes128ctr
13.3913.4213.48T:aes192ctr
14.7314.7314.73T:simon128256ctr
14.7514.7514.76T:hc128
14.9415.0315.06T:aes256ctr
18.3518.3718.40T:aes256estream
29.6229.7331.63T:ocelot1
33.2633.7733.79T:ocelot2
35.6735.6735.72T:hc256
46.95?47.03?54.64?T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
2.032.032.03chacha8
2.272.272.28salsa208
2.682.682.68chacha12
3.003.003.01salsa2012
3.083.083.13tango642
3.743.763.79T:trivium
3.783.793.80T:speck6496ctr
3.993.993.99chacha20
4.014.024.03T:speck64128ctr
4.474.474.50salsa20
4.924.924.93T:snow20
5.295.295.29T:speck128128ctr
5.295.305.30xsalsa20
5.345.345.36T:speck128192ctr
5.545.545.55T:speck128256ctr
5.635.715.73T:nlsv2
5.925.976.06T:rabbit
6.406.446.49T:sosemanuk
6.856.876.90T:cryptmtv3
7.187.197.19T:lexv2
7.788.348.36T:tpy6
9.419.439.43T:simon6496ctr
11.0311.0311.11T:aes128estream
13.0113.0513.06T:panama
13.6813.7114.18T:tpy
15.7716.1416.53T:tpypy
17.3617.5317.68T:aes128ctr
18.8818.9018.98T:aes256estream
19.4719.5019.68T:aes192ctr
21.1621.3821.57T:aes256ctr
21.5321.5421.54T:simon64128ctr
23.9623.9623.97T:simon128128ctr
27.8827.8827.88T:simon128256ctr
35.4335.5135.53T:hc128
36.9437.3938.51T:ocelot1
40.8342.0842.11T:ocelot2
58.2958.3658.77T:amastrid
89.3189.4889.64T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
4.334.344.34chacha8
4.564.564.56salsa208
5.625.625.62chacha12
5.665.665.66salsa2012
7.167.167.16T:speck6496ctr
7.237.237.28T:speck64128ctr
7.917.917.91salsa20
8.348.348.36chacha20
9.009.009.00T:speck128192ctr
9.589.589.58T:speck128128ctr
9.759.759.75T:speck128256ctr
11.3111.4511.47T:trivium
12.2012.2712.27T:snow20
14.7214.7215.00T:rabbit
15.4115.4115.41xsalsa20
15.5915.5915.59T:aes128estream
15.6115.6115.78T:simon6496ctr
17.2217.2217.22T:lexv2
17.2017.3417.42T:cryptmtv3
17.6717.6717.67T:simon64128ctr
18.6618.7218.83tango642
23.0023.3023.64T:nlsv2
24.7024.7024.70T:simon128128ctr
25.1725.1725.20T:simon128256ctr
26.3326.4726.62T:aes256estream
26.5626.9527.28T:sosemanuk
52.6152.8353.50T:tpy6
83.8684.1684.45T:panama
95.1495.9197.56T:aes128ctr
102.34103.33105.22T:tpy
104.02104.47105.22T:aes192ctr
108.52108.75109.61T:aes256ctr
109.14109.45112.23T:tpypy
129.88132.48133.84T:ocelot1
136.28138.00139.19T:ocelot2
163.05166.73173.94T:amastrid
299.75299.78299.88T:hc128
777.98778.84779.75T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
26.2526.2526.25T:speck6496ctr
30.8831.6231.75T:speck64128ctr
32.1232.1232.12T:speck128256ctr
33.2533.2533.25T:speck128192ctr
33.7533.7533.75T:speck128128ctr
38.2539.2539.75chacha8
48.3849.1250.25chacha12
54.7554.7559.00salsa208
63.6266.5067.88salsa2012
69.0069.0069.00chacha20
71.7572.2572.25T:trivium
75.3875.3876.62T:simon6496ctr
81.0081.0081.00T:aes128estream
82.6282.6282.62salsa20
88.5088.5088.50T:simon64128ctr
88.1289.3890.00T:rabbit
96.6297.5098.50T:snow20
102.00102.00102.00T:lexv2
103.75104.25104.75T:cryptmtv3
105.38105.50107.25T:aes256estream
115.75115.75115.75T:simon128128ctr
120.12121.62121.62T:nlsv2
132.88134.00136.12T:simon128256ctr
141.88142.25143.00tango642
144.00144.12145.62xsalsa20
212.50214.38217.00T:sosemanuk
373.88409.25410.00T:tpy6
574.75587.75602.12T:aes128ctr
607.00610.25624.38T:aes192ctr
612.00621.25631.12T:aes256ctr
661.75665.25669.25T:panama
813.00816.88824.62T:tpy
836.25848.12863.38T:tpypy
877.50881.50899.12T:ocelot1
891.25902.38908.12T:ocelot2
1121.121131.881139.25T:amastrid
2395.752397.752398.75T:hc128
6202.886210.006240.50T:hc256