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; Broadwell+AES (306d4); 2015 Intel Core i3-5005U; 2 x 1900MHz; shoe, supercop-20250307

[Page version: 20250419 00:25: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.550.560.56chacha8
0.620.620.62salsa208
0.720.740.75tango642
0.740.750.75T:aes128ctr
0.740.750.76T:aes192ctr
0.770.770.78chacha12
0.85?0.88?0.95?salsa2012
1.031.031.04T:speck6496ctr
1.061.071.08T:speck64128ctr
0.99?1.07?1.12?aes256ctr
1.191.201.21chacha20
1.251.261.26T:speck128128ctr
1.291.301.30T:speck128192ctr
1.321.341.35T:speck128256ctr
1.371.381.38xsalsa20
1.381.381.39salsa20
1.45?1.52?1.83?T:simon6496ctr
1.571.581.59T:simon64128ctr
1.921.921.93T:trivium
1.962.002.04T:hc128
2.302.312.32T:simon128128ctr
2.402.422.44T:hc256
2.402.442.46T:simon128256ctr
2.442.492.54T:cryptmtv3
2.522.552.60T:nlsv2
2.542.562.58T:sosemanuk
2.852.893.04T:rabbit
2.882.953.01T:tpy
2.893.003.10T:tpy6
2.993.023.03T:panama
3.073.083.10T:snow20
4.234.254.26T:lexv2
4.404.454.54T:tpypy
8.508.518.53T:aes128estream
13.1613.1913.22T:aes256estream
17.6817.7817.87T:ocelot1
18.3819.2319.39T:ocelot2
32.5233.0033.28T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.580.580.58chacha8
0.640.640.64salsa208
0.790.790.80T:aes128ctr
0.790.800.80chacha12
0.900.900.96salsa2012
0.910.910.92T:aes192ctr
0.910.920.92tango642
1.071.081.08T:speck6496ctr
1.111.111.12T:speck64128ctr
1.071.131.15aes256ctr
1.221.221.23chacha20
1.311.311.31T:speck128128ctr
1.351.351.35T:speck128192ctr
1.391.391.40T:speck128256ctr
1.401.401.40salsa20
1.491.491.50xsalsa20
1.70?1.71?1.93?T:simon6496ctr
1.851.861.86T:simon64128ctr
2.022.022.02T:trivium
2.572.572.58T:simon128128ctr
2.692.712.74T:nlsv2
2.832.842.84T:sosemanuk
2.872.882.90T:simon128256ctr
2.982.993.10T:rabbit
3.003.003.03T:cryptmtv3
3.173.183.18T:snow20
3.673.713.76T:tpy6
3.963.973.97T:panama
4.394.394.40T:lexv2
4.394.404.43T:tpy
5.405.405.41T:hc128
5.875.905.94T:tpypy
8.578.578.58T:aes128estream
10.3210.3310.34T:hc256
13.2613.2813.29T:aes256estream
19.2719.3119.35T:ocelot1
20.0820.6820.77T:ocelot2
33.9834.2634.43T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.610.610.62chacha8
0.670.680.68salsa208
0.830.830.83chacha12
0.870.870.88T:aes128ctr
0.930.931.00salsa2012
1.141.151.15T:speck6496ctr
1.181.181.20T:speck64128ctr
1.181.191.20T:aes192ctr
1.191.211.24tango642
1.171.231.24aes256ctr
1.261.261.27chacha20
1.391.391.39T:speck128128ctr
1.431.431.43salsa20
1.431.431.44T:speck128192ctr
1.471.481.49T:speck128256ctr
1.681.681.69xsalsa20
2.022.042.24T:simon6496ctr
2.192.202.21T:trivium
2.312.312.32T:simon64128ctr
2.982.993.00T:simon128128ctr
3.073.103.11T:nlsv2
3.143.163.26T:rabbit
3.323.333.35T:snow20
3.333.353.37T:sosemanuk
3.603.623.64T:simon128256ctr
4.304.314.39T:cryptmtv3
4.624.634.65T:lexv2
4.834.915.02T:tpy6
5.545.565.58T:panama
6.886.926.94T:tpy
8.448.478.49T:tpypy
8.668.678.68T:aes128estream
11.0311.0411.06T:hc128
13.4213.4313.45T:aes256estream
21.7621.8821.99T:ocelot1
22.6923.2523.31T:ocelot2
23.4823.5123.56T:hc256
35.7836.6736.84T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.870.870.89chacha8
0.960.970.98salsa208
1.161.161.17T:aes128ctr
1.171.181.19chacha12
1.311.321.33salsa2012
1.401.411.42T:speck6496ctr
1.451.461.47T:speck64128ctr
1.681.691.69T:speck128128ctr
1.731.741.76T:speck128192ctr
1.731.771.85aes256ctr
1.791.791.84T:speck128256ctr
1.791.801.81chacha20
1.881.891.92T:aes192ctr
1.981.991.99salsa20
2.012.042.11tango642
2.632.632.64T:trivium
2.642.662.67xsalsa20
3.523.573.72T:simon6496ctr
3.603.633.72T:rabbit
3.633.633.65T:simon64128ctr
3.723.733.76T:snow20
3.903.953.97T:nlsv2
4.744.764.78T:sosemanuk
4.874.895.12T:cryptmtv3
5.115.125.16T:simon128128ctr
5.275.285.33T:lexv2
5.525.555.58T:simon128256ctr
8.018.168.27T:tpy6
8.958.989.01T:aes128estream
9.779.799.86T:panama
13.4613.5613.60T:tpy
13.7613.8513.86T:aes256estream
14.4514.5814.80T:tpypy
25.9425.9826.17T:hc128
28.3228.4528.60T:ocelot1
29.2429.5829.90T:ocelot2
42.6342.7142.80T:amastrid
58.6258.6658.74T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.583.613.64chacha8
3.863.893.94salsa208
4.284.304.41T:speck64128ctr
4.224.364.48T:speck6496ctr
4.454.484.50T:aes128ctr
4.614.644.66chacha12
4.944.954.98T:speck128128ctr
5.035.095.14T:speck128192ctr
5.055.095.12salsa2012
5.195.225.59T:speck128256ctr
6.676.696.72chacha20
6.987.027.06aes256ctr
7.027.087.14salsa20
8.288.318.33T:trivium
8.708.728.78T:simon6496ctr
8.959.039.17T:snow20
8.929.059.25T:rabbit
9.709.759.97T:simon64128ctr
10.81?10.86?13.11?T:cryptmtv3
10.7711.0511.28T:aes192ctr
12.1912.3412.64tango642
12.5912.6712.75T:aes128estream
12.9112.9113.14T:simon128128ctr
13.0913.2213.27xsalsa20
13.5213.6713.83T:lexv2
14.6414.7215.00T:simon128256ctr
16.7516.9517.50T:nlsv2
19.0619.1219.22T:aes256estream
20.8320.9121.05T:sosemanuk
47.5349.2251.20T:tpy6
63.7563.9264.73T:panama
95.8997.2898.78T:tpy
97.9298.3698.80T:tpypy
112.62113.73114.34T:ocelot2
110.80113.95115.58T:ocelot1
122.38123.52124.08T:amastrid
210.89211.16211.67T:hc128
507.88508.34508.95T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
20.5021.1221.62T:speck6496ctr
21.2521.5021.88T:speck64128ctr
23.6224.2524.50T:speck128192ctr
25.12?25.62?28.12?T:speck128256ctr
25.7526.7527.88T:speck128128ctr
34.8835.0035.25T:aes128ctr
41.6242.3843.62chacha8
42.7543.7544.38aes256ctr
45.2545.2545.75salsa208
46.8847.5049.12salsa2012
50.2550.5052.88T:simon6496ctr
51.2551.5052.88chacha12
52.7553.0053.25T:trivium
57.1257.7558.38T:rabbit
57.1257.7559.88T:simon64128ctr
57.5058.0058.50T:aes128estream
64.38?65.38?82.75?T:cryptmtv3
71.3872.0072.75T:snow20
72.8873.2574.00chacha20
76.2577.2577.50T:aes256estream
77.3878.0078.62T:simon128128ctr
77.8878.1278.62salsa20
82.5083.6285.38T:lexv2
82.8884.0086.50T:nlsv2
84.3885.5087.50T:aes192ctr
90.7592.1293.25T:simon128256ctr
94.3894.8895.38tango642
125.62126.50127.50xsalsa20
166.62167.25168.75T:sosemanuk
353.50356.12368.62T:tpy6
500.50502.38507.00T:panama
745.00750.88757.62T:tpy
731.25755.25763.00T:tpypy
772.88787.12809.38T:ocelot2
770.50789.75797.75T:ocelot1
824.25830.12836.75T:amastrid
1689.251692.251695.00T:hc128
4067.624073.884081.62T:hc256