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

[Page version: 20261107 07:59:14]

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.610.610.62salsa208
0.620.620.63T:aes128ctr
0.680.700.71tango642
0.720.730.73chacha12
0.750.770.80T:aes192ctr
0.850.850.86salsa2012
0.870.880.88aes256ctr
1.001.001.01T:speck6496ctr
1.031.041.05T:speck64128ctr
1.131.141.15chacha20
1.211.211.22T:speck128128ctr
1.251.251.26T:speck128192ctr
1.281.291.30T:speck128256ctr
1.331.351.36salsa20
1.341.361.38xsalsa20
1.461.481.48T:simon6496ctr
1.521.531.54T:simon64128ctr
1.661.701.75T:tpy
1.801.821.84T:sosemanuk
1.801.821.84T:hc128
1.911.921.92T:trivium
1.992.002.01T:nlsv2
1.942.002.06T:tpy6
2.172.182.18T:simon128128ctr
2.262.312.34T:simon128256ctr
2.422.482.53T:hc256
2.522.532.54T:cryptmtv3
2.642.702.81T:tpypy
2.732.752.78T:snow20
2.752.772.79T:rabbit
2.832.852.87T:panama
4.094.104.13T:lexv2
8.328.348.37T:aes128estream
12.6612.6812.71T:aes256estream
16.6516.7817.13T:ocelot1
17.3517.4317.58T:ocelot2
32.1532.2732.67T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.540.540.55chacha8
0.630.640.64salsa208
0.680.680.68T:aes128ctr
0.750.750.75chacha12
0.850.860.86tango642
0.880.880.88salsa2012
0.940.940.94aes256ctr
1.041.041.05T:speck6496ctr
1.081.091.09T:speck64128ctr
1.091.101.10T:aes192ctr
1.151.161.16chacha20
1.251.261.26T:speck128128ctr
1.291.291.30T:speck128192ctr
1.341.341.34T:speck128256ctr
1.361.371.38salsa20
1.461.471.49xsalsa20
1.711.711.71T:simon6496ctr
1.901.901.90T:simon64128ctr
2.012.012.02T:trivium
2.132.132.14T:nlsv2
2.302.312.32T:sosemanuk
2.452.452.45T:simon128128ctr
2.522.562.59T:tpy6
2.742.762.77T:simon128256ctr
2.842.852.87T:snow20
2.852.862.88T:rabbit
3.023.033.05T:tpy
3.033.033.04T:cryptmtv3
3.773.773.78T:panama
3.974.014.05T:tpypy
4.234.244.25T:lexv2
4.674.684.69T:hc128
8.408.418.43T:aes128estream
9.779.809.81T:hc256
12.8012.8112.83T:aes256estream
18.1518.2318.46T:ocelot1
18.8218.8518.88T:ocelot2
33.5933.6333.72T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.570.580.58chacha8
0.660.670.67salsa208
0.760.760.77T:aes128ctr
0.780.790.79chacha12
0.910.920.93salsa2012
1.041.041.05aes256ctr
1.101.101.10T:speck6496ctr
1.111.111.13tango642
1.141.141.15T:speck64128ctr
1.181.191.20chacha20
1.321.331.33T:speck128128ctr
1.361.361.37T:speck128192ctr
1.401.411.42salsa20
1.401.411.42T:speck128256ctr
1.581.591.61T:aes192ctr
1.661.671.69xsalsa20
2.092.092.10T:simon6496ctr
2.182.192.19T:trivium
2.412.412.42T:nlsv2
2.502.512.52T:simon64128ctr
2.872.882.93T:simon128128ctr
3.003.013.03T:rabbit
3.003.023.04T:snow20
3.173.183.20T:sosemanuk
3.383.443.50T:tpy6
3.463.493.54T:simon128256ctr
4.424.434.44T:cryptmtv3
4.484.494.51T:lexv2
5.215.255.27T:tpy
5.295.315.33T:panama
6.006.196.25T:tpypy
8.508.528.55T:aes128estream
9.399.419.44T:hc128
13.0113.0213.03T:aes256estream
20.4720.5120.57T:ocelot1
21.0121.1021.30T:ocelot2
21.9421.9922.03T:hc256
34.9435.6335.87T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.800.810.82chacha8
0.920.930.95salsa208
1.061.061.07T:aes128ctr
1.091.101.11chacha12
1.281.281.29salsa2012
1.341.351.36T:speck6496ctr
1.401.401.41T:speck64128ctr
1.421.421.42aes256ctr
1.611.611.62T:speck128128ctr
1.651.651.66T:speck128192ctr
1.651.661.67chacha20
1.691.701.73T:speck128256ctr
1.811.821.85tango642
1.961.971.98salsa20
2.592.602.62T:trivium
2.622.642.66xsalsa20
2.962.983.02T:aes192ctr
3.153.173.18T:nlsv2
3.283.293.31T:simon64128ctr
3.393.413.45T:snow20
3.413.433.46T:rabbit
3.703.713.73T:simon6496ctr
4.894.924.92T:cryptmtv3
4.944.965.01T:simon128128ctr
5.075.095.11T:lexv2
5.355.365.39T:simon128256ctr
5.495.525.57T:sosemanuk
5.845.966.04T:tpy6
8.838.868.90T:aes128estream
9.359.409.46T:panama
11.3311.4611.52T:tpy
11.6311.7811.97T:tpypy
13.6013.6413.72T:aes256estream
22.1922.2522.31T:hc128
27.0327.1227.25T:ocelot1
27.0527.2927.45T:ocelot2
40.9541.2741.41T:amastrid
54.7054.7654.83T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.253.263.27chacha8
3.763.783.82salsa208
3.964.014.10T:speck6496ctr
3.984.014.13T:speck64128ctr
4.154.174.19chacha12
4.484.514.54T:speck128128ctr
4.514.544.58T:aes128ctr
4.554.624.73T:speck128192ctr
4.624.674.82T:speck128256ctr
4.774.804.83salsa2012
5.745.765.79aes256ctr
6.006.006.03chacha20
6.946.987.08salsa20
7.367.397.46T:simon6496ctr
8.118.148.18T:trivium
8.238.278.54T:rabbit
8.518.598.72T:snow20
8.798.869.00T:simon64128ctr
10.6910.7711.10tango642
11.6511.7111.85T:cryptmtv3
12.5312.6412.78T:aes128estream
12.6712.8213.14T:lexv2
12.8613.0213.22T:simon128128ctr
13.1113.2013.34xsalsa20
14.5214.6014.69T:nlsv2
14.7914.8614.99T:simon128256ctr
19.4519.5819.76T:aes256estream
20.7320.8621.01T:aes192ctr
31.8431.9432.28T:sosemanuk
38.1738.5238.84T:tpy6
60.8561.3261.74T:panama
83.1086.6787.65T:tpypy
87.0587.6188.25T:tpy
103.32104.60106.25T:ocelot1
104.44105.56108.06T:ocelot2
116.18117.18118.19T:amastrid
185.66185.94186.21T:hc128
471.05472.89473.68T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
21.25?21.62?24.49?T:speck6496ctr
24.3024.9026.79T:speck128128ctr
22.84?25.29?26.56?T:speck64128ctr
25.3825.4427.27T:speck128192ctr
25.75?28.01?29.66?T:speck128256ctr
35.0535.1935.69T:aes128ctr
36.0736.2936.66chacha8
43.4143.8644.28salsa2012
44.5044.6545.08aes256ctr
47.8248.2048.64salsa208
49.8950.2150.60T:rabbit
50.0550.4450.99T:simon6496ctr
50.1650.4850.77chacha12
51.5851.9752.23T:trivium
58.4558.9759.57T:aes128estream
60.8461.4061.99T:simon64128ctr
65.9366.1566.51chacha20
67.2867.7668.19salsa20
67.2768.4569.93T:snow20
71.1272.5373.71T:cryptmtv3
76.7877.1277.55T:simon128128ctr
76.5577.8379.79T:lexv2
79.9680.4781.23T:nlsv2
81.1081.5583.99T:aes256estream
81.1881.9985.71tango642
90.4391.0891.57T:simon128256ctr
116.35117.46118.24xsalsa20
164.25165.15166.29T:aes192ctr
254.57255.82258.85T:sosemanuk
295.70297.44298.97T:tpy6
478.51482.22485.81T:panama
668.45681.45682.93T:tpypy
686.21691.86694.92T:tpy
709.65715.09718.95T:ocelot1
722.48726.28730.59T:ocelot2
764.50774.90783.18T:amastrid
1485.861488.651491.80T:hc128
3775.303789.123794.42T:hc256