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

[Page version: 20240719 07:49: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.121.13tango642
1.701.701.70chacha8
1.992.002.00salsa208
2.272.272.27chacha12
2.422.442.45T:hc128
2.442.592.68T:tpy
2.632.632.64salsa2012
2.822.822.83T:trivium
2.752.982.99T:tpy6
3.363.363.36chacha20
3.373.373.37T:speck6496ctr
3.353.463.53T:hc256
3.543.553.56T:speck64128ctr
3.563.593.60T:sosemanuk
3.723.723.73T:cryptmtv3
3.813.833.86T:nlsv2
3.994.004.00T:snow20
3.994.004.01salsa20
4.004.014.02xsalsa20
3.984.084.20T:panama
3.82?4.19?4.27?T:tpypy
4.734.744.74T:speck128128ctr
4.864.864.86T:speck128192ctr
4.874.874.88T:rabbit
5.005.005.01T:speck128256ctr
5.795.795.81T:lexv2
6.386.396.39T:simon6496ctr
6.626.646.66T:simon64128ctr
8.828.858.89T:aes128ctr
9.529.539.53T:simon128128ctr
10.3410.3810.44T:aes192ctr
10.4010.4010.40T:simon128256ctr
10.6010.6110.63T:aes128estream
11.8811.9812.04T:aes256ctr
18.0218.0418.14T:aes256estream
24.03?26.15?32.18?T:ocelot1
28.5129.1029.33T:ocelot2
41.4142.3044.57T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.401.401.40tango642
1.731.731.73chacha8
2.022.022.02salsa208
2.302.302.30chacha12
2.662.672.67salsa2012
2.952.952.96T:trivium
3.393.393.39chacha20
3.423.423.42T:speck6496ctr
3.583.613.62T:tpy6
3.613.613.62T:speck64128ctr
3.933.953.95T:sosemanuk
4.034.044.04salsa20
4.044.054.07T:nlsv2
4.124.134.14T:snow20
4.084.154.20T:tpy
4.154.154.16xsalsa20
4.334.334.33T:cryptmtv3
4.804.814.81T:speck128128ctr
4.924.924.92T:speck128192ctr
5.015.025.02T:rabbit
5.075.075.08T:speck128256ctr
5.375.425.45T:panama
5.795.915.95T:tpypy
5.985.985.99T:lexv2
6.676.686.68T:simon6496ctr
7.067.077.08T:hc128
7.097.107.12T:simon64128ctr
9.929.939.94T:aes128ctr
9.979.979.97T:simon128128ctr
10.6810.6910.69T:aes128estream
11.5011.5111.55T:aes192ctr
12.0212.0212.02T:simon128256ctr
13.0913.1113.13T:aes256ctr
15.4115.4715.50T:hc256
18.1718.1818.25T:aes256estream
27.60?27.94?32.30?T:ocelot1
30.6030.9331.02T:ocelot2
43.9744.3045.97T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.781.781.78chacha8
1.851.851.86tango642
2.052.052.07salsa208
2.352.352.35chacha12
2.722.722.72salsa2012
3.183.183.18T:trivium
3.443.443.44chacha20
3.503.513.51T:speck6496ctr
3.713.713.73T:speck64128ctr
4.114.124.12salsa20
4.354.354.37T:snow20
4.384.394.40xsalsa20
4.514.544.55T:nlsv2
4.614.624.64T:sosemanuk
4.754.874.89T:tpy6
4.924.924.92T:speck128128ctr
5.025.025.02T:speck128192ctr
5.185.185.19T:speck128256ctr
5.265.265.30T:rabbit
5.805.805.80T:cryptmtv3
6.296.316.32T:lexv2
6.656.666.88T:tpy
7.167.167.17T:simon6496ctr
7.497.687.70T:panama
7.867.887.90T:simon64128ctr
8.548.588.68T:tpypy
10.7010.7110.71T:simon128128ctr
10.8010.8510.86T:aes128estream
11.6911.7311.79T:aes128ctr
13.3813.4113.49T:aes192ctr
14.7314.7314.73T:simon128256ctr
14.7514.7714.78T:hc128
14.9915.0615.11T:aes256ctr
18.4018.4118.44T:aes256estream
29.95?30.26?34.01?T:ocelot1
33.5034.1134.24T:ocelot2
35.4135.4435.48T:hc256
46.5048.4648.66T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
2.032.032.03chacha8
2.262.262.29salsa208
2.682.682.69chacha12
2.993.013.01salsa2012
3.073.083.11tango642
3.743.743.76T:trivium
3.783.793.80T:speck6496ctr
3.963.963.96chacha20
4.014.024.08T:speck64128ctr
4.494.514.53salsa20
5.025.045.05T:snow20
5.285.285.28T:speck128128ctr
5.305.315.33xsalsa20
5.345.345.34T:speck128192ctr
5.545.545.55T:speck128256ctr
5.655.715.76T:nlsv2
5.925.925.92T:rabbit
6.406.446.52T:sosemanuk
6.726.746.74T:cryptmtv3
7.167.197.19T:lexv2
7.61?8.44?8.52?T:tpy6
9.419.439.45T:simon6496ctr
11.1511.1911.19T:aes128estream
13.0613.4813.56T:panama
13.7213.7913.93T:tpy
15.7715.9416.28T:tpypy
17.5017.6117.79T:aes128ctr
18.9618.9819.06T:aes256estream
19.4519.5119.77T:aes192ctr
21.2121.4521.52T:aes256ctr
21.5321.5421.54T:simon64128ctr
23.9623.9623.96T:simon128128ctr
27.8827.8827.88T:simon128256ctr
35.5135.5435.56T:hc128
36.92?37.74?42.73?T:ocelot1
40.1640.5742.36T:ocelot2
56.7358.7659.25T:amastrid
88.6588.7788.88T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
4.344.344.34chacha8
4.454.454.45salsa208
5.585.585.58salsa2012
5.625.625.67chacha12
7.167.167.16T:speck6496ctr
7.237.337.70T:speck64128ctr
7.917.917.91salsa20
8.258.258.27chacha20
9.009.009.00T:speck128192ctr
9.629.629.62T:speck128128ctr
9.759.759.75T:speck128256ctr
11.4511.4711.47T:trivium
12.2812.3912.69T:snow20
14.4514.4514.45T:rabbit
15.4115.4115.41xsalsa20
15.6115.6115.61T:simon6496ctr
15.7515.8015.80T:aes128estream
17.2217.2217.22T:lexv2
17.2817.4517.45T:cryptmtv3
17.6717.6717.67T:simon64128ctr
18.7018.7719.02tango642
23.3323.3423.53T:nlsv2
24.7024.7025.19T:simon128128ctr
25.1725.1725.17T:simon128256ctr
26.1926.3326.45T:aes256estream
27.1427.2727.28T:sosemanuk
52.7052.7753.27T:tpy6
85.4186.3186.69T:panama
95.5695.9496.84T:aes128ctr
103.81103.91105.69T:tpy
103.92104.42105.61T:aes192ctr
108.50109.22112.58T:aes256ctr
107.56109.27110.27T:tpypy
133.05134.95137.28T:ocelot1
136.56138.50140.80T:ocelot2
165.56166.98168.05T:amastrid
299.84299.89300.02T:hc128
769.27771.88772.89T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
26.2526.2526.50T:speck6496ctr
30.3831.6232.88T:speck64128ctr
32.1232.1232.12T:speck128256ctr
33.2533.2533.25T:speck128192ctr
34.0034.0034.00T:speck128128ctr
38.1239.3840.00chacha8
49.0049.8850.25chacha12
54.1254.1254.12salsa208
63.6263.6263.62salsa2012
69.6269.6269.62chacha20
72.2572.2572.25T:trivium
75.3875.3875.38T:simon6496ctr
81.1282.2582.50T:aes128estream
82.3882.3882.38salsa20
88.5088.5088.50T:simon64128ctr
88.2589.0089.00T:rabbit
98.3898.62100.00T:snow20
102.00102.00102.00T:lexv2
103.00103.50104.50T:cryptmtv3
104.00104.75106.38T:aes256estream
115.75115.75115.75T:simon128128ctr
122.62122.75123.75T:nlsv2
132.88134.00136.12T:simon128256ctr
141.75142.25144.50tango642
144.00144.88145.62xsalsa20
214.88217.25217.38T:sosemanuk
401.38404.25408.62T:tpy6
579.62582.50593.25T:aes128ctr
610.25613.75622.25T:aes192ctr
627.75635.50646.50T:aes256ctr
669.62673.25676.25T:panama
809.88832.62835.25T:tpy
831.75845.12853.00T:tpypy
880.62886.88907.25T:ocelot1
883.00910.62936.62T:ocelot2
1105.751126.751159.62T:amastrid
2398.382399.382399.75T:hc128
6155.006171.256178.12T:hc256