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 i3-6100; 2 x 3700MHz; skydell, supercop-20260330

[Page version: 20260522 07:40:48]

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.520.520.53chacha8
0.59?0.61?0.66?salsa208
0.620.630.63T:aes128ctr
0.690.700.71tango642
0.720.730.74chacha12
0.750.770.80T:aes192ctr
0.850.860.87salsa2012
0.880.880.88aes256ctr
1.001.011.01T:speck6496ctr
1.031.041.05T:speck64128ctr
1.141.151.15chacha20
1.201.211.23T:speck128128ctr
1.251.251.26T:speck128192ctr
1.281.291.30T:speck128256ctr
1.341.351.37salsa20
1.341.371.39xsalsa20
1.481.491.49T:simon6496ctr
1.531.541.55T:simon64128ctr
1.671.711.74T:tpy
1.811.841.86T:hc128
1.831.841.86T:sosemanuk
1.951.961.96T:trivium
1.911.972.05T:tpy6
1.981.992.00T:nlsv2
2.182.192.21T:simon128128ctr
2.332.352.35T:simon128256ctr
2.412.462.50T:hc256
2.512.542.56T:cryptmtv3
2.602.662.73T:tpypy
2.752.762.79T:snow20
2.772.792.80T:rabbit
2.842.862.88T:panama
4.074.084.10T:lexv2
8.308.338.35T:aes128estream
12.7012.7212.75T:aes256estream
16.5716.7117.10T:ocelot1
17.1517.2817.35T:ocelot2
32.2833.7634.04T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.540.540.54chacha8
0.630.640.67salsa208
0.680.680.68T:aes128ctr
0.750.760.76chacha12
0.850.860.86tango642
0.880.880.89salsa2012
0.940.940.94aes256ctr
1.041.041.05T:speck6496ctr
1.071.081.08T:speck64128ctr
1.101.111.12T:aes192ctr
1.161.171.17chacha20
1.261.271.27T:speck128128ctr
1.291.291.30T:speck128192ctr
1.341.341.35T:speck128256ctr
1.371.381.39salsa20
1.471.481.50xsalsa20
1.721.721.72T:simon6496ctr
1.911.911.91T:simon64128ctr
2.042.042.04T:trivium
2.122.132.13T:nlsv2
2.332.332.34T:sosemanuk
2.462.472.48T:simon128128ctr
2.522.552.59T:tpy6
2.772.772.77T:simon128256ctr
2.862.872.88T:snow20
2.872.882.88T:rabbit
3.033.043.05T:cryptmtv3
3.053.073.08T:tpy
3.773.783.79T:panama
3.984.014.04T:tpypy
4.214.224.23T:lexv2
4.694.704.71T:hc128
8.408.418.43T:aes128estream
9.879.889.90T:hc256
12.8512.8712.88T:aes256estream
18.0918.1918.43T:ocelot1
18.7018.7718.80T:ocelot2
33.9234.9135.01T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.570.570.58chacha8
0.660.670.71salsa208
0.760.770.77T:aes128ctr
0.790.790.80chacha12
0.910.920.93salsa2012
1.041.041.05aes256ctr
1.101.101.11T:speck6496ctr
1.111.111.13tango642
1.141.141.14T:speck64128ctr
1.191.201.21chacha20
1.321.331.34T:speck128128ctr
1.361.361.37T:speck128192ctr
1.401.411.44salsa20
1.411.411.44T:speck128256ctr
1.671.681.69xsalsa20
1.671.681.70T:aes192ctr
2.102.102.11T:simon6496ctr
2.162.162.16T:trivium
2.402.412.42T:nlsv2
2.512.522.52T:simon64128ctr
2.892.902.92T:simon128128ctr
3.023.033.04T:rabbit
3.033.053.06T:snow20
3.193.203.22T:sosemanuk
3.473.483.51T:simon128256ctr
3.453.513.60T:tpy6
4.434.454.48T:lexv2
4.454.494.50T:cryptmtv3
5.295.305.32T:panama
5.325.355.40T:tpy
6.066.216.28T:tpypy
8.528.548.56T:aes128estream
9.419.439.46T:hc128
13.0913.1113.13T:aes256estream
20.6020.7320.83T:ocelot1
21.0521.1521.25T:ocelot2
22.1522.1922.25T:hc256
36.6137.8537.95T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.800.800.81chacha8
0.940.960.99salsa208
1.061.061.07T:aes128ctr
1.101.121.13chacha12
1.271.281.30salsa2012
1.351.361.36T:speck6496ctr
1.391.391.40T:speck64128ctr
1.411.421.42aes256ctr
1.601.611.64T:speck128128ctr
1.651.651.66T:speck128192ctr
1.661.671.67chacha20
1.711.721.75T:speck128256ctr
1.811.821.86tango642
1.961.972.00salsa20
2.572.592.60T:trivium
2.642.652.68xsalsa20
3.023.063.14T:aes192ctr
3.143.163.18T:nlsv2
3.273.293.31T:simon64128ctr
3.423.433.45T:rabbit
3.433.473.50T:snow20
3.703.713.73T:simon6496ctr
4.924.944.97T:simon128128ctr
4.844.954.97T:cryptmtv3
5.075.095.12T:lexv2
5.345.365.38T:simon128256ctr
5.515.535.55T:sosemanuk
6.226.286.32T:tpy6
8.848.878.91T:aes128estream
9.349.369.42T:panama
11.4311.4911.55T:tpy
11.5511.6512.10T:tpypy
13.7113.7513.77T:aes256estream
22.2222.2722.34T:hc128
26.6626.7826.95T:ocelot1
27.5527.7327.88T:ocelot2
42.2042.4142.66T:amastrid
55.2655.3455.41T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.223.253.27chacha8
3.763.803.84salsa208
3.883.903.99T:speck6496ctr
4.034.064.11T:speck64128ctr
4.174.204.23chacha12
4.474.504.65T:speck128128ctr
4.544.564.58T:aes128ctr
4.564.594.70T:speck128192ctr
4.684.784.97T:speck128256ctr
4.834.844.90salsa2012
5.755.765.79aes256ctr
5.966.016.05chacha20
6.917.007.09salsa20
7.327.437.55T:simon6496ctr
8.058.128.21T:trivium
8.258.288.38T:rabbit
8.788.919.01T:snow20
8.848.959.05T:simon64128ctr
10.7410.8210.96tango642
11.3212.3712.48T:cryptmtv3
12.5012.5912.71T:aes128estream
12.7112.9113.28T:lexv2
12.8012.9213.27T:simon128128ctr
13.2013.2913.39xsalsa20
14.7114.8015.26T:simon128256ctr
14.8814.9615.04T:nlsv2
19.5219.6319.73T:aes256estream
21.1221.3522.06T:aes192ctr
31.9132.0632.26T:sosemanuk
38.8539.0139.46T:tpy6
60.8160.9861.38T:panama
83.7888.2589.12T:tpypy
88.0488.3588.96T:tpy
102.63103.16103.67T:ocelot1
103.17104.32105.24T:ocelot2
115.15115.79116.76T:amastrid
185.42186.17186.53T:hc128
476.60477.39478.67T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
21.3221.5621.99T:speck6496ctr
21.9922.4222.70T:speck64128ctr
25.0525.4727.32T:speck128192ctr
25.82?27.06?29.65?T:speck128256ctr
26.25?27.69?29.49?T:speck128128ctr
35.2535.3435.74T:aes128ctr
36.1936.2736.43chacha8
40.3940.7141.36salsa208
44.8044.8845.24aes256ctr
49.1149.5550.06salsa2012
49.3649.7750.08chacha12
49.9150.0550.60T:rabbit
50.2450.7451.38T:simon6496ctr
51.0651.3851.62T:trivium
58.3658.8359.36T:aes128estream
61.5061.9762.81T:simon64128ctr
66.7667.4968.32salsa20
69.1169.7670.41chacha20
68.8569.8671.82T:snow20
76.1777.2278.38T:simon128128ctr
69.83?77.39?77.70?T:cryptmtv3
76.8277.9480.23T:lexv2
81.2381.6882.24T:aes256estream
81.0181.8883.03T:nlsv2
81.9683.0584.92tango642
90.6692.3994.00T:simon128256ctr
116.03116.84117.96xsalsa20
167.26168.31172.97T:aes192ctr
255.44256.23258.97T:sosemanuk
301.19305.45309.78T:tpy6
477.43478.92482.88T:panama
692.78694.30695.81T:tpypy
692.72697.95700.75T:tpy
705.32710.36718.31T:ocelot1
714.04723.28742.30T:ocelot2
756.67763.89772.96T:amastrid
1484.221490.261492.83T:hc128
3817.783825.283831.56T:hc256