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; Skylake (506e3); 2015 Intel Core i5-6500T; 4 x 2500MHz; thinksky, supercop-20260217

[Page version: 20260315 18:26:26]

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 (or StQ1 starting with supercop-20260214), the median of many speed measurements (or StQ2 starting with supercop-20260214), the third quartile of many speed measurements (or StQ3 starting with supercop-20260214), and the name of the primitive. Measurements with large interquartile range (or stabilized interquartile range) 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.510.520.53chacha8
0.610.620.62salsa208
0.620.620.63T:aes128ctr
0.680.700.71tango642
0.710.730.75chacha12
0.750.790.80T:aes192ctr
0.850.860.88salsa2012
0.870.880.88aes256ctr
1.001.011.02T:speck6496ctr
1.041.041.05T:speck64128ctr
1.131.141.15chacha20
1.211.211.22T:speck128128ctr
1.251.251.26T:speck128192ctr
1.271.281.30T:speck128256ctr
1.351.371.39salsa20
1.351.381.40xsalsa20
1.471.481.48T:simon6496ctr
1.531.541.55T:simon64128ctr
1.661.711.77T:tpy
1.791.811.84T:hc128
1.811.831.84T:sosemanuk
1.881.942.01T:tpy6
1.931.941.94T:trivium
1.971.981.99T:nlsv2
2.132.172.22T:simon128128ctr
2.192.232.26T:hc256
2.292.322.34T:simon128256ctr
2.522.532.54T:cryptmtv3
2.622.742.80T:tpypy
2.732.762.78T:snow20
2.752.772.80T:rabbit
2.832.852.87T:panama
4.104.114.13T:lexv2
8.338.358.38T:aes128estream
12.6312.6512.68T:aes256estream
17.0217.0717.11T:ocelot1
18.0718.1218.16T:ocelot2
32.3932.6633.13T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.540.550.55chacha8
0.630.640.64salsa208
0.680.680.68T:aes128ctr
0.740.750.77chacha12
0.850.850.86tango642
0.880.880.90salsa2012
0.940.940.94aes256ctr
1.051.051.06T:speck6496ctr
1.081.081.08T:speck64128ctr
1.091.101.11T:aes192ctr
1.161.161.17chacha20
1.251.261.26T:speck128128ctr
1.291.291.30T:speck128192ctr
1.341.341.34T:speck128256ctr
1.391.401.41salsa20
1.481.501.50xsalsa20
1.711.711.71T:simon6496ctr
1.901.901.91T:simon64128ctr
2.022.022.03T:trivium
2.112.122.12T:nlsv2
2.312.322.33T:sosemanuk
2.452.452.48T:simon128128ctr
2.502.532.56T:tpy6
2.752.762.76T:simon128256ctr
2.842.862.87T:snow20
2.852.862.88T:rabbit
3.033.033.04T:cryptmtv3
3.063.073.10T:tpy
3.763.773.78T:panama
3.954.004.03T:tpypy
4.244.254.25T:lexv2
4.674.684.69T:hc128
8.418.428.44T:aes128estream
9.609.629.63T:hc256
12.7912.8012.82T:aes256estream
18.0818.1118.12T:ocelot1
19.0519.0719.09T:ocelot2
33.8634.0034.31T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.570.580.59chacha8
0.670.670.68salsa208
0.760.760.77T:aes128ctr
0.780.790.81chacha12
0.920.930.94salsa2012
1.041.041.05aes256ctr
1.101.101.11T:speck6496ctr
1.111.111.13tango642
1.141.141.14T:speck64128ctr
1.191.191.20chacha20
1.321.331.34T:speck128128ctr
1.361.371.37T:speck128192ctr
1.401.401.43T:speck128256ctr
1.431.451.46salsa20
1.601.611.63T:aes192ctr
1.661.681.70xsalsa20
2.082.092.09T:simon6496ctr
2.162.162.16T:trivium
2.402.402.41T:nlsv2
2.502.512.52T:simon64128ctr
2.872.902.97T:simon128128ctr
2.993.013.02T:snow20
3.003.023.03T:rabbit
3.173.183.20T:sosemanuk
3.453.473.50T:simon128256ctr
3.463.523.59T:tpy6
4.434.444.45T:cryptmtv3
4.464.484.50T:lexv2
5.265.275.30T:tpy
5.295.315.33T:panama
6.136.206.26T:tpypy
8.538.558.60T:aes128estream
9.419.449.46T:hc128
13.0113.0313.05T:aes256estream
19.8119.8519.92T:ocelot1
20.5920.6420.69T:ocelot2
21.9021.9321.97T:hc256
34.3935.9736.15T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.800.810.83chacha8
0.930.940.95salsa208
1.061.061.06T:aes128ctr
1.091.111.15chacha12
1.271.281.29salsa2012
1.341.351.36T:speck6496ctr
1.401.401.41T:speck64128ctr
1.411.421.42aes256ctr
1.601.611.61T:speck128128ctr
1.651.661.67T:speck128192ctr
1.661.671.69chacha20
1.691.691.71T:speck128256ctr
1.801.821.86tango642
1.951.971.99salsa20
2.572.592.61T:trivium
2.632.662.68xsalsa20
3.003.013.04T:aes192ctr
3.163.183.19T:nlsv2
3.273.283.30T:simon64128ctr
3.403.423.46T:snow20
3.413.423.45T:rabbit
3.703.713.73T:simon6496ctr
4.904.914.94T:cryptmtv3
4.934.954.96T:simon128128ctr
5.045.065.09T:lexv2
5.345.355.37T:simon128256ctr
5.485.515.54T:sosemanuk
5.946.036.14T:tpy6
8.868.908.95T:aes128estream
9.329.379.43T:panama
11.0811.1511.23T:tpy
11.5911.7612.04T:tpypy
13.6413.6713.70T:aes256estream
22.1622.2622.33T:hc128
24.4524.5124.59T:ocelot1
24.8324.9525.06T:ocelot2
41.3941.9842.33T:amastrid
54.7254.7954.86T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.213.233.26chacha8
3.763.813.94salsa208
3.863.903.99T:speck6496ctr
4.034.074.13T:speck64128ctr
4.144.184.44chacha12
4.464.524.66T:speck128128ctr
4.544.554.59T:aes128ctr
4.584.594.64T:speck128192ctr
4.634.684.78T:speck128256ctr
4.824.864.92salsa2012
5.745.765.80aes256ctr
5.945.986.01chacha20
6.987.057.09salsa20
7.377.417.48T:simon6496ctr
8.028.108.30T:trivium
8.248.328.62T:rabbit
8.498.578.74T:snow20
8.818.889.02T:simon64128ctr
10.6210.7410.96tango642
11.6611.8011.92T:cryptmtv3
12.5612.6412.73T:lexv2
12.5712.6912.83T:aes128estream
12.8713.0313.26T:simon128128ctr
13.1813.2913.38xsalsa20
14.7614.8114.93T:simon128256ctr
14.9015.0015.11T:nlsv2
19.4019.4919.61T:aes256estream
20.9421.0421.20T:aes192ctr
31.9032.0232.18T:sosemanuk
38.1738.8639.40T:tpy6
60.7461.2161.71T:panama
77.7478.4379.38T:ocelot2
79.6480.1580.91T:ocelot1
86.3187.4587.62T:tpypy
86.7387.4988.29T:tpy
116.02116.88117.97T:amastrid
185.45186.01186.43T:hc128
471.01471.87473.51T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
22.1822.4423.04T:speck64128ctr
22.39?23.85?25.34?T:speck6496ctr
24.9825.2826.84T:speck128128ctr
25.1725.5627.90T:speck128192ctr
26.04?28.59?30.14?T:speck128256ctr
35.1635.2635.78T:aes128ctr
36.2036.2536.42chacha8
40.7741.3342.36salsa208
44.5945.1245.24aes256ctr
46.1046.3046.71chacha12
46.0347.0048.67salsa2012
49.7550.2851.93T:rabbit
49.8950.3651.08T:simon6496ctr
50.9851.3451.85T:trivium
58.7259.2760.00T:aes128estream
60.9761.5162.50T:simon64128ctr
63.3263.9764.65salsa20
65.8466.1467.05chacha20
67.8668.4969.44T:snow20
71.8573.2374.36T:cryptmtv3
75.7376.1976.74T:lexv2
76.4777.1277.20T:simon128128ctr
80.5781.3382.31T:nlsv2
81.0681.4982.05T:aes256estream
81.1581.7784.85tango642
89.6490.6991.34T:simon128256ctr
113.39114.07114.85xsalsa20
166.03166.73168.26T:aes192ctr
254.88255.97257.44T:sosemanuk
299.65301.98305.68T:tpy6
477.14479.25482.96T:panama
490.75495.20501.07T:ocelot2
517.40522.12526.40T:ocelot1
681.39681.83682.80T:tpypy
685.72690.96700.82T:tpy
764.10772.72782.17T:amastrid
1483.061487.301490.72T:hc128
3786.193791.603799.04T:hc256