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 45nm (10676); 2007 Intel Xeon X5450; 8 x 2992MHz; unstable; gcc14, supercop-20220506

[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.461.461.46chacha8
1.681.701.73tango642
1.911.911.91chacha12
1.931.931.96salsa208
2.332.342.37T:sosemanuk
2.382.412.44T:hc128
2.612.622.64salsa2012
2.632.632.63T:speck6496ctr
2.712.712.73T:speck64128ctr
2.782.792.90T:trivium
2.842.842.85chacha20
2.993.083.23T:tpy
3.223.293.30T:tpy6
3.613.613.62T:cryptmtv3
3.613.623.62T:speck128128ctr
3.583.623.66T:hc256
3.673.683.70T:nlsv2
3.703.703.70T:speck128192ctr
3.833.843.84T:speck128256ctr
3.883.893.90T:snow20
3.983.983.99salsa20
3.983.993.99xsalsa20
4.174.184.21T:panama
4.734.754.76T:rabbit
5.145.145.14T:simon6496ctr
5.035.255.30T:tpypy
5.335.345.35T:simon64128ctr
5.795.795.80T:lexv2
7.737.747.75T:aes128ctr
7.857.867.86T:simon128128ctr
8.258.268.28T:simon128256ctr
9.159.169.17T:aes192ctr
10.5710.5910.60T:aes256ctr
10.5910.6010.61T:aes128estream
17.3317.3917.41T:aes256estream
20.34?23.70?34.63?T:ocelot1
26.0626.8527.31T:ocelot2
41.0143.4444.68T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.491.491.49chacha8
1.931.941.96tango642
1.941.941.94chacha12
1.971.971.99salsa208
2.652.662.67salsa2012
2.682.682.68T:speck6496ctr
2.772.772.78T:speck64128ctr
2.872.872.87chacha20
2.922.933.01T:trivium
3.133.133.15T:sosemanuk
3.683.683.69T:speck128128ctr
3.763.763.76T:speck128192ctr
3.903.903.90T:speck128256ctr
3.943.953.96T:nlsv2
4.014.014.02salsa20
4.034.034.04T:snow20
4.044.044.04T:cryptmtv3
4.064.114.12T:tpy6
4.144.144.14xsalsa20
4.644.704.80T:tpy
4.914.924.92T:rabbit
5.375.375.37T:simon6496ctr
5.435.435.44T:panama
5.665.665.67T:simon64128ctr
5.985.985.99T:lexv2
6.556.716.74T:tpypy
6.716.726.74T:hc128
8.098.108.10T:aes128ctr
8.228.228.22T:simon128128ctr
9.219.229.23T:simon128256ctr
9.529.539.53T:aes192ctr
10.6710.6710.68T:aes128estream
10.9710.9710.98T:aes256ctr
15.3215.3315.35T:hc256
17.4817.5117.53T:aes256estream
25.02?25.49?33.56?T:ocelot1
28.3228.5328.72T:ocelot2
43.4345.2446.09T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.541.541.55chacha8
1.991.991.99chacha12
2.022.032.06salsa208
2.322.332.33tango642
2.702.712.72salsa2012
2.762.762.76T:speck6496ctr
2.862.862.87T:speck64128ctr
2.922.922.92chacha20
3.163.163.24T:trivium
3.793.793.80T:speck128128ctr
3.863.863.86T:speck128192ctr
4.004.004.01T:speck128256ctr
4.054.064.06salsa20
4.264.274.27T:snow20
4.404.404.40xsalsa20
4.524.544.56T:sosemanuk
4.564.594.60T:nlsv2
5.165.165.19T:cryptmtv3
5.205.205.22T:rabbit
5.465.475.53T:tpy6
5.775.775.77T:simon6496ctr
6.196.196.20T:simon64128ctr
6.316.316.31T:lexv2
7.257.337.42T:tpy
7.497.507.54T:panama
8.688.698.69T:aes128ctr
8.828.828.82T:simon128128ctr
8.939.009.64T:tpypy
10.1110.1210.14T:aes192ctr
10.7210.7910.82T:aes128estream
10.8010.8110.83T:simon128256ctr
11.6111.6211.63T:aes256ctr
13.9013.9313.95T:hc128
17.7117.7417.76T:aes256estream
29.05?29.56?36.90?T:ocelot1
31.1231.2931.65T:ocelot2
34.8134.8634.90T:hc256
46.3348.2848.73T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.771.771.78chacha8
2.252.262.27salsa208
2.292.292.29chacha12
2.993.013.01salsa2012
3.023.023.02T:speck6496ctr
3.113.113.14T:speck64128ctr
3.413.423.45tango642
3.353.453.45chacha20
3.773.773.82T:trivium
4.124.124.12T:speck128128ctr
4.154.154.16T:speck128192ctr
4.324.324.33T:speck128256ctr
4.464.474.47salsa20
4.904.914.93T:snow20
5.325.345.35xsalsa20
5.865.875.87T:cryptmtv3
5.895.945.99T:rabbit
5.946.006.01T:nlsv2
7.137.157.16T:lexv2
7.657.657.65T:simon6496ctr
8.208.228.31T:sosemanuk
8.388.498.99T:tpy6
8.718.738.75T:simon64128ctr
11.0711.0911.11T:aes128ctr
11.1411.1411.14T:aes128estream
12.6912.7212.72T:aes192ctr
13.0113.0713.13T:panama
14.4514.4614.49T:aes256ctr
14.4114.4714.73T:tpy
16.0616.0616.06T:simon128128ctr
16.2416.2617.17T:tpypy
18.4018.4118.42T:aes256estream
24.4024.4124.43T:simon128256ctr
33.1133.1333.18T:hc128
35.58?35.91?44.39?T:ocelot1
38.9639.1239.32T:ocelot2
56.0157.5457.62T:amastrid
86.8186.9086.99T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.753.753.75chacha8
4.414.414.48salsa208
4.894.894.89chacha12
5.665.665.66salsa2012
6.006.006.00T:speck6496ctr
6.446.446.44T:speck64128ctr
6.956.956.95chacha20
7.697.757.75T:speck128192ctr
7.927.927.94salsa20
8.088.088.08T:speck128128ctr
8.198.198.20T:speck128256ctr
11.7811.7811.86T:trivium
12.9713.1213.12T:snow20
13.6213.6213.77T:simon6496ctr
14.4414.4514.45T:simon64128ctr
15.4215.5815.59T:rabbit
15.7015.7015.70T:aes128estream
15.7815.7815.78xsalsa20
15.8816.1116.23T:cryptmtv3
17.0917.0917.14T:lexv2
17.1717.2817.39tango642
22.4122.4122.41T:simon128128ctr
23.6923.6923.69T:simon128256ctr
27.4427.5027.69T:aes256estream
27.9428.9228.92T:nlsv2
46.8847.3347.48T:sosemanuk
49.6949.9449.98T:aes128ctr
53.8154.2554.52T:tpy6
55.3655.4755.59T:aes192ctr
62.0562.2562.50T:aes256ctr
83.3883.5284.02T:panama
105.42?106.09?118.30?T:tpy
109.56110.19110.22T:tpypy
140.19141.69146.59T:ocelot2
138.66144.41146.83T:ocelot1
161.81164.20166.64T:amastrid
278.95279.12279.52T:hc128
751.47752.86753.22T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
26.5026.5026.50T:speck6496ctr
27.6227.7529.38T:speck64128ctr
30.3830.3830.38T:speck128256ctr
31.6231.6234.50T:speck128192ctr
35.6235.6235.62chacha8
42.3842.3842.38T:speck128128ctr
43.6243.6243.62chacha12
54.0054.0054.00salsa208
58.6258.6258.62chacha20
60.6260.6261.25salsa2012
72.1272.6275.12T:simon6496ctr
74.3874.3875.62T:trivium
77.2579.3881.25T:simon64128ctr
81.1281.1281.12T:aes128estream
82.2582.2582.25salsa20
94.0094.3897.38T:rabbit
99.12100.25100.25T:cryptmtv3
102.00102.00102.00T:lexv2
101.75102.25103.38T:snow20
117.75117.75117.75T:simon128128ctr
117.62118.88119.38T:aes256estream
124.25124.75125.25tango642
128.75128.75128.75T:simon128256ctr
143.12144.75145.12T:nlsv2
149.00149.00149.00xsalsa20
216.00216.75217.25T:aes128ctr
224.88225.62226.75T:aes192ctr
242.88243.38244.25T:aes256ctr
373.62375.75378.75T:sosemanuk
370.62378.00411.00T:tpy6
657.12659.12664.25T:panama
833.50842.12903.88T:tpy
839.62844.50851.12T:tpypy
890.25911.62918.50T:ocelot1
908.12918.88936.38T:ocelot2
1088.001096.381118.88T:amastrid
2229.622232.882238.38T:hc128
6017.126022.886029.88T:hc256