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; Kaby Lake (906e9); 2017 Intel Xeon E3-1220 v6; 4 x 3000MHz; kizomba, 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: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.520.520.53chacha8
0.56?0.62?0.81?salsa208
0.620.630.63T:aes128ctr
0.690.690.70tango642
0.720.730.74chacha12
0.750.770.81T:aes192ctr
0.840.850.85salsa2012
0.880.880.89aes256ctr
1.001.001.01T:speck6496ctr
1.031.041.05T:speck64128ctr
1.131.141.15chacha20
1.221.231.25T:speck128128ctr
1.251.261.27T:speck128192ctr
1.291.291.30T:speck128256ctr
1.341.341.35salsa20
1.341.351.35xsalsa20
1.471.481.48T:simon6496ctr
1.521.541.54T:simon64128ctr
1.731.771.81T:tpy
1.761.791.82T:hc128
1.801.821.83T:sosemanuk
1.901.911.92T:trivium
1.931.992.04T:tpy6
1.992.002.01T:nlsv2
2.172.182.21T:simon128128ctr
2.292.322.34T:simon128256ctr
2.412.472.54T:hc256
2.472.482.49T:cryptmtv3
2.682.732.77T:tpypy
2.732.772.80T:snow20
2.762.782.79T:rabbit
2.852.862.88T:panama
4.094.104.12T:lexv2
8.338.368.38T:aes128estream
12.9613.0613.20T:aes256estream
15.8315.9316.02T:ocelot1
18.4818.5818.74T:ocelot2
33.3533.7336.15T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.540.550.55chacha8
0.63?0.64?0.78?salsa208
0.680.680.68T:aes128ctr
0.750.750.75chacha12
0.850.850.86tango642
0.870.870.87salsa2012
0.940.950.95aes256ctr
1.041.041.04T:speck6496ctr
1.081.081.08T:speck64128ctr
1.151.161.17T:aes192ctr
1.161.171.17chacha20
1.271.281.29T:speck128128ctr
1.301.301.31T:speck128192ctr
1.341.341.34T:speck128256ctr
1.371.371.38salsa20
1.471.471.48xsalsa20
1.701.711.71T:simon6496ctr
1.891.901.90T:simon64128ctr
2.002.012.01T:trivium
2.132.142.14T:nlsv2
2.332.342.34T:sosemanuk
2.452.462.48T:simon128128ctr
2.532.562.59T:tpy6
2.752.752.76T:simon128256ctr
2.842.862.88T:snow20
2.872.872.88T:rabbit
2.962.972.97T:cryptmtv3
3.063.083.10T:tpy
3.813.813.82T:panama
4.044.064.08T:tpypy
4.234.244.25T:lexv2
4.584.584.59T:hc128
8.418.428.43T:aes128estream
9.709.719.74T:hc256
13.1113.1613.24T:aes256estream
17.2917.3417.37T:ocelot1
19.5019.5519.64T:ocelot2
34.8635.0636.51T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.580.580.59chacha8
0.66?0.67?0.82?salsa208
0.780.780.78T:aes128ctr
0.790.790.80chacha12
0.910.910.92salsa2012
1.051.051.05aes256ctr
1.101.101.10T:speck6496ctr
1.111.111.13tango642
1.141.141.15T:speck64128ctr
1.191.201.21chacha20
1.351.351.36T:speck128128ctr
1.381.381.39T:speck128192ctr
1.411.411.42T:speck128256ctr
1.411.421.43salsa20
1.681.691.69xsalsa20
1.711.741.79T:aes192ctr
2.082.082.08T:simon6496ctr
2.182.182.19T:trivium
2.402.412.42T:nlsv2
2.492.502.50T:simon64128ctr
2.882.892.90T:simon128128ctr
2.993.013.03T:snow20
3.023.033.05T:rabbit
3.243.253.27T:sosemanuk
3.453.473.51T:simon128256ctr
3.503.533.58T:tpy6
4.284.294.30T:cryptmtv3
4.474.484.50T:lexv2
5.335.355.39T:tpy
5.375.385.40T:panama
6.276.326.35T:tpypy
8.508.528.54T:aes128estream
9.209.269.29T:hc128
13.2713.3513.42T:aes256estream
19.5819.6319.71T:ocelot1
21.0721.1121.22T:ocelot2
21.7021.7421.85T:hc256
37.3737.5237.66T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.820.830.85chacha8
0.93?0.95?1.06?salsa208
1.061.071.08T:aes128ctr
1.091.101.11chacha12
1.281.281.29salsa2012
1.341.341.35T:speck6496ctr
1.401.411.45aes256ctr
1.411.411.42T:speck64128ctr
1.631.641.66T:speck128128ctr
1.671.681.69T:speck128192ctr
1.681.691.70chacha20
1.711.721.73T:speck128256ctr
1.821.841.85tango642
1.961.971.99salsa20
2.602.632.64T:trivium
2.682.692.71xsalsa20
3.143.163.18T:nlsv2
3.303.323.35T:aes192ctr
3.363.373.39T:simon64128ctr
3.383.403.45T:snow20
3.453.473.49T:rabbit
3.713.723.74T:simon6496ctr
4.744.784.80T:cryptmtv3
4.944.985.01T:simon128128ctr
5.055.085.11T:lexv2
5.345.355.37T:simon128256ctr
5.655.685.70T:sosemanuk
5.875.986.16T:tpy6
8.788.818.86T:aes128estream
9.549.569.64T:panama
11.3211.4111.50T:tpy
12.2112.3012.42T:tpypy
13.7313.8113.90T:aes256estream
21.6221.6721.84T:hc128
25.1425.2725.39T:ocelot2
25.5425.7225.85T:ocelot1
43.1743.3543.54T:amastrid
53.7653.8754.18T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.233.263.31chacha8
3.723.773.80salsa208
3.743.793.86T:speck6496ctr
4.104.124.17chacha12
4.124.174.28T:speck64128ctr
4.514.574.63T:speck128128ctr
4.584.614.66T:aes128ctr
4.644.724.84T:speck128192ctr
4.784.814.84salsa2012
4.814.895.04T:speck128256ctr
5.655.785.93aes256ctr
5.996.026.05chacha20
6.856.916.93salsa20
8.008.078.24T:simon6496ctr
8.098.138.22T:trivium
8.468.548.73T:rabbit
8.488.628.82T:snow20
9.279.389.55T:simon64128ctr
10.2110.7310.82T:cryptmtv3
10.7210.8211.03tango642
12.5212.6012.77T:aes128estream
12.6412.7212.91T:lexv2
12.8912.9513.19T:simon128128ctr
13.4213.5113.60xsalsa20
14.2814.4014.56T:nlsv2
14.6914.8014.95T:simon128256ctr
18.5818.7618.98T:aes256estream
23.7323.8523.95T:aes192ctr
33.3333.5433.78T:sosemanuk
38.3638.6239.05T:tpy6
62.3362.5563.07T:panama
77.0677.6878.49T:ocelot2
87.2587.9988.63T:tpy
88.3888.7489.96T:tpypy
102.36104.60105.67T:ocelot1
115.12116.18116.95T:amastrid
180.37180.56181.58T:hc128
464.30464.81466.82T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
20.5420.9721.91T:speck6496ctr
22.1622.6123.58T:speck64128ctr
23.35?23.93?27.07?T:speck128128ctr
24.7725.0226.52T:speck128192ctr
25.2825.8126.45T:speck128256ctr
35.7835.9336.19T:aes128ctr
41.9642.5842.90chacha8
45.2345.4246.50aes256ctr
49.1749.6250.33chacha12
50.5951.1552.12T:simon6496ctr
51.6551.9152.58T:rabbit
52.3252.5754.04T:trivium
52.7453.4954.76salsa2012
56.0756.7557.19salsa208
58.3858.8059.64T:aes128estream
61.0261.5961.98T:simon64128ctr
61.0264.3564.97T:cryptmtv3
67.1068.5970.10T:snow20
69.2369.9970.62salsa20
69.6070.0970.62chacha20
70.5771.7874.27T:aes256estream
75.9276.6877.62T:lexv2
77.0277.5979.04T:simon128128ctr
77.7978.4579.19T:nlsv2
81.5682.2885.47tango642
90.1791.0491.53T:simon128256ctr
120.26121.16122.16xsalsa20
190.03190.79192.34T:aes192ctr
266.06267.22268.68T:sosemanuk
293.76296.55298.79T:tpy6
491.81493.20497.28T:panama
492.85497.15502.49T:ocelot2
690.44694.98697.89T:tpy
697.49698.84703.05T:tpypy
699.38704.98713.44T:ocelot1
756.58762.77767.52T:amastrid
1442.621447.541458.22T:hc128
3721.393725.733741.84T:hc256