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

[Page version: 20241006 02:11:59]

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.550.56chacha8
0.60?0.62?0.67?salsa208
0.720.740.75tango642
0.72?0.75?0.86?T:aes128ctr
0.740.750.76T:aes192ctr
0.72?0.78?0.98?chacha12
0.870.870.88salsa2012
1.001.001.01aes256ctr
1.031.031.04T:speck6496ctr
1.071.071.07T:speck64128ctr
1.201.211.21chacha20
1.251.261.29T:speck128128ctr
1.291.311.34T:speck128192ctr
1.331.341.38T:speck128256ctr
1.381.381.39xsalsa20
1.381.381.39salsa20
1.501.521.63T:simon6496ctr
1.51?1.59?1.89?T:simon64128ctr
1.921.921.93T:trivium
1.952.012.03T:hc128
2.302.342.39T:simon128128ctr
2.392.412.43T:hc256
2.422.472.52T:simon128256ctr
2.452.482.54T:cryptmtv3
2.512.542.58T:nlsv2
2.532.552.57T:sosemanuk
2.822.862.92T:rabbit
2.882.953.02T:tpy6
2.812.963.02T:tpy
2.993.013.03T:panama
3.073.083.09T:snow20
4.224.244.26T:lexv2
4.394.474.59T:tpypy
8.768.778.78T:aes128estream
13.1713.2013.23T:aes256estream
17.7217.8518.51T:ocelot1
18.66?19.21?21.85?T:ocelot2
32.6733.3834.39T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.570.570.58chacha8
0.640.640.68salsa208
0.79?0.79?0.88?T:aes128ctr
0.80?0.80?0.95?chacha12
0.890.890.90salsa2012
0.900.910.91T:aes192ctr
0.910.910.92tango642
1.061.061.06aes256ctr
1.071.081.08T:speck6496ctr
1.111.111.11T:speck64128ctr
1.221.231.23chacha20
1.311.311.33T:speck128128ctr
1.351.361.38T:speck128192ctr
1.391.391.42T:speck128256ctr
1.411.411.41salsa20
1.491.491.50xsalsa20
1.711.711.78T:simon6496ctr
1.86?1.87?2.09?T:simon64128ctr
2.022.022.02T:trivium
2.562.592.62T:simon128128ctr
2.722.732.75T:nlsv2
2.822.832.83T:sosemanuk
2.882.912.94T:simon128256ctr
2.972.993.01T:rabbit
2.993.013.02T:cryptmtv3
3.173.183.18T:snow20
3.663.693.71T:tpy6
3.953.963.97T:panama
4.384.384.40T:lexv2
4.374.404.43T:tpy
5.405.415.41T:hc128
5.905.955.98T:tpypy
8.848.858.85T:aes128estream
10.3210.3310.34T:hc256
13.2713.2913.30T:aes256estream
19.4119.4619.87T:ocelot1
20.7020.7822.69T:ocelot2
34.3534.8535.48T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.600.600.61chacha8
0.680.680.73salsa208
0.83?0.84?0.99?chacha12
0.880.880.97T:aes128ctr
0.930.930.93salsa2012
1.141.151.15T:speck6496ctr
1.151.161.16aes256ctr
1.161.171.18T:aes192ctr
1.181.181.19T:speck64128ctr
1.191.211.24tango642
1.261.261.27chacha20
1.391.391.41T:speck128128ctr
1.431.441.46T:speck128192ctr
1.431.441.45salsa20
1.471.481.50T:speck128256ctr
1.681.691.69xsalsa20
2.022.042.08T:simon6496ctr
2.192.202.20T:trivium
2.312.322.54T:simon64128ctr
2.982.993.01T:simon128128ctr
3.103.123.16T:nlsv2
3.153.183.25T:rabbit
3.313.323.34T:snow20
3.333.353.37T:sosemanuk
3.623.673.74T:simon128256ctr
4.274.344.36T:cryptmtv3
4.624.634.64T:lexv2
4.864.925.02T:tpy6
5.535.555.58T:panama
6.826.877.11T:tpy
8.418.448.49T:tpypy
8.958.968.97T:aes128estream
11.0411.0711.23T:hc128
13.4013.4213.44T:aes256estream
21.8522.2022.33T:ocelot1
23.3323.4625.18T:ocelot2
23.5023.5223.55T:hc256
37.2437.8137.96T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.850.860.87chacha8
0.960.970.99salsa208
1.161.161.22T:aes128ctr
1.17?1.19?1.36?chacha12
1.301.311.31salsa2012
1.411.421.43T:speck6496ctr
1.451.451.45T:speck64128ctr
1.511.511.51aes256ctr
1.691.691.72T:speck128128ctr
1.741.761.77T:speck128192ctr
1.791.801.82T:speck128256ctr
1.811.811.81chacha20
1.851.861.89T:aes192ctr
1.992.002.01salsa20
2.002.012.08tango642
2.632.632.64T:trivium
2.662.682.69xsalsa20
3.533.583.60T:simon6496ctr
3.623.633.64T:simon64128ctr
3.603.643.86T:rabbit
3.733.753.79T:snow20
3.984.034.05T:nlsv2
4.734.764.78T:sosemanuk
4.805.015.04T:cryptmtv3
5.115.125.12T:simon128128ctr
5.285.305.32T:lexv2
5.515.535.57T:simon128256ctr
8.098.198.27T:tpy6
9.269.289.31T:aes128estream
9.779.819.89T:panama
13.4913.5613.80T:tpy
13.8013.8413.85T:aes256estream
14.8715.0015.28T:tpypy
25.9025.9526.21T:hc128
28.1128.4529.69T:ocelot1
29.6929.8731.26T:ocelot2
42.7143.3643.58T:amastrid
58.6758.7058.76T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.583.613.62chacha8
3.863.893.92salsa208
4.174.204.23T:speck6496ctr
4.284.284.30T:speck64128ctr
4.474.484.52T:aes128ctr
4.614.624.64chacha12
4.924.955.00salsa2012
4.954.985.11T:speck128128ctr
5.025.095.20T:speck128192ctr
5.175.205.27T:speck128256ctr
5.485.505.55aes256ctr
6.696.726.73chacha20
7.037.067.11salsa20
8.288.318.34T:trivium
8.708.728.78T:simon6496ctr
8.959.059.17T:snow20
9.169.239.45T:rabbit
9.679.699.70T:simon64128ctr
10.5210.6610.86T:aes192ctr
12.2212.2712.36tango642
10.20?12.53?12.56?T:cryptmtv3
12.9813.0813.12T:simon128128ctr
13.1213.3113.31xsalsa20
13.4513.5613.70T:aes128estream
13.4813.6113.70T:lexv2
14.6914.7015.02T:simon128256ctr
16.3116.4116.58T:nlsv2
18.9519.0519.12T:aes256estream
20.7520.8820.97T:sosemanuk
48.9549.7351.30T:tpy6
63.4463.5864.36T:panama
94.2898.1699.53T:tpypy
97.3399.0699.47T:tpy
114.66116.42122.72T:ocelot1
114.17116.89118.44T:ocelot2
121.14121.80122.48T:amastrid
210.80211.20211.67T:hc128
507.91508.23508.62T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
21.1221.5021.62T:speck6496ctr
21.6221.6221.75T:speck64128ctr
23.6224.3824.62T:speck128192ctr
24.3825.3825.50T:speck128256ctr
24.7526.2526.25T:speck128128ctr
35.0035.0035.25T:aes128ctr
36.8837.1240.62chacha8
43.1243.1243.62aes256ctr
44.7545.5046.00salsa208
46.8847.0048.38chacha12
50.2550.7551.50T:simon6496ctr
52.8853.1253.38T:trivium
55.7555.7556.62salsa2012
56.2557.7559.38T:rabbit
57.1257.7558.25T:simon64128ctr
60.5061.6262.88salsa20
63.2563.7564.00T:aes128estream
70.5071.2571.38chacha20
71.2572.2573.25T:snow20
75.6276.5076.88T:aes256estream
77.7578.6279.00T:simon128128ctr
62.25?79.25?80.12?T:cryptmtv3
82.1283.0085.00T:lexv2
83.8885.7587.62T:aes192ctr
90.5091.1292.00T:nlsv2
90.3891.7592.62T:simon128256ctr
94.6295.1295.50tango642
109.38110.12111.88xsalsa20
166.25167.12168.62T:sosemanuk
372.00388.75393.75T:tpy6
498.25500.38505.12T:panama
732.12744.12766.50T:tpypy
753.00759.88783.38T:ocelot1
756.62761.88767.50T:tpy
763.75772.38780.88T:ocelot2
795.12802.12808.75T:amastrid
1687.751693.251701.25T:hc128
4069.504075.624080.38T:hc256