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; Tremont (906c0); 2021 Intel Celeron N4500; 2 x 1100MHz; jasper2, supercop-20241022

[Page version: 20241120 00:41:23]

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.440.450.46T:aes192ctr
0.600.610.64T:aes128ctr
0.750.760.77aes256ctr
1.041.061.06tango642
1.311.341.35chacha8
1.851.861.87chacha12
2.022.022.03salsa208
2.172.192.21T:hc128
2.372.382.38T:sosemanuk
2.592.602.61T:cryptmtv3
2.902.922.93salsa2012
2.972.982.99chacha20
3.033.043.06T:speck6496ctr
2.903.053.21T:hc256
3.093.123.17T:nlsv2
3.153.163.17T:speck64128ctr
3.123.173.27T:tpy
3.223.243.24T:snow20
3.293.343.37T:tpy6
3.473.513.57T:panama
3.853.873.89T:trivium
4.184.234.25T:rabbit
4.374.374.38T:simon6496ctr
4.524.554.56T:speck128128ctr
4.614.614.62T:simon64128ctr
4.654.684.69T:speck128192ctr
4.714.724.74salsa20
4.724.734.75xsalsa20
4.804.834.84T:speck128256ctr
4.924.934.96T:lexv2
5.245.285.31T:tpypy
6.656.656.66T:simon128128ctr
7.947.977.98T:simon128256ctr
9.609.649.69T:aes128estream
14.4714.5114.53T:aes256estream
20.4221.3921.66T:ocelot2
20.0821.7021.82T:ocelot1
36.8537.2938.17T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.610.620.62T:aes192ctr
0.640.640.66T:aes128ctr
0.780.780.79aes256ctr
1.281.281.29tango642
1.331.351.35chacha8
1.881.881.89chacha12
2.042.042.05salsa208
2.932.942.94salsa2012
2.982.982.99T:sosemanuk
3.003.003.00chacha20
3.083.083.09T:speck6496ctr
3.183.183.19T:cryptmtv3
3.193.203.21T:speck64128ctr
3.263.283.31T:nlsv2
3.343.343.34T:snow20
3.913.933.95T:tpy6
4.014.034.04T:trivium
4.324.354.36T:rabbit
4.554.564.63T:tpy
4.574.584.59T:speck128128ctr
4.584.594.63T:panama
4.624.624.62T:simon6496ctr
4.704.714.72T:speck128192ctr
4.744.744.75salsa20
4.854.864.87T:speck128256ctr
4.904.904.92xsalsa20
4.995.005.00T:simon64128ctr
5.075.085.09T:lexv2
6.606.626.62T:tpypy
6.826.826.83T:hc128
7.027.027.03T:simon128128ctr
8.528.548.55T:simon128256ctr
9.699.719.74T:aes128estream
14.5714.5914.60T:aes256estream
14.8414.8514.93T:hc256
22.2222.8022.86T:ocelot2
21.6822.8122.86T:ocelot1
38.5638.6539.04T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.700.700.73T:aes128ctr
0.830.830.85aes256ctr
0.880.890.90T:aes192ctr
1.361.381.38chacha8
1.681.691.71tango642
1.911.911.92chacha12
2.062.072.08salsa208
2.952.972.98salsa2012
3.023.033.03chacha20
3.143.153.18T:speck6496ctr
3.253.253.28T:speck64128ctr
3.503.513.52T:snow20
3.553.583.61T:nlsv2
4.054.064.07T:sosemanuk
4.284.314.31T:trivium
4.534.574.58T:rabbit
4.624.624.66T:speck128128ctr
4.634.644.65T:cryptmtv3
4.744.754.79T:speck128192ctr
4.784.794.82salsa20
4.904.914.94T:speck128256ctr
4.914.924.96T:tpy6
5.045.045.05T:simon6496ctr
5.195.215.22xsalsa20
5.315.345.35T:lexv2
5.645.645.65T:simon64128ctr
6.386.406.44T:panama
6.866.946.99T:tpy
7.637.647.65T:simon128128ctr
8.628.838.86T:tpypy
9.489.499.51T:simon128256ctr
9.799.809.83T:aes128estream
14.5114.5414.56T:hc128
14.7214.7314.73T:aes256estream
24.1024.1725.19T:ocelot1
24.9025.0125.37T:ocelot2
34.4834.5434.83T:hc256
40.0840.8241.21T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.830.840.91T:aes128ctr
0.991.011.02aes256ctr
1.501.511.52chacha8
1.641.651.66T:aes192ctr
2.112.122.15chacha12
2.272.282.31salsa208
2.712.742.77tango642
3.253.263.27T:speck6496ctr
3.253.283.28salsa2012
3.313.313.35chacha20
3.373.383.39T:speck64128ctr
4.004.024.04T:snow20
4.394.444.46T:nlsv2
4.834.844.86T:speck128128ctr
4.944.964.99T:speck128192ctr
4.954.985.00T:trivium
5.105.115.16T:speck128256ctr
5.125.165.18salsa20
5.155.175.18T:rabbit
5.365.375.38T:cryptmtv3
5.945.986.00T:lexv2
6.256.276.31xsalsa20
6.866.916.97T:sosemanuk
7.067.087.14T:simon6496ctr
7.577.637.67T:tpy6
9.579.589.59T:simon64128ctr
10.0310.0710.11T:aes128estream
11.1811.2411.25T:panama
12.9813.0913.15T:tpy
13.7113.7713.80T:simon128128ctr
14.6514.6814.72T:tpypy
15.0615.0815.12T:aes256estream
17.2817.3517.42T:simon128256ctr
30.8030.9431.07T:ocelot2
30.8531.3931.56T:ocelot1
35.0335.1435.21T:hc128
46.2847.2447.62T:amastrid
86.8486.9286.98T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.702.722.73chacha8
2.66?2.98?3.39?T:aes128ctr
3.143.143.19aes256ctr
3.693.723.80chacha12
4.454.454.47salsa208
4.864.985.00T:speck6496ctr
5.005.025.09T:speck64128ctr
5.665.755.78salsa2012
5.735.755.80chacha20
7.197.287.42T:speck128128ctr
7.277.317.45T:speck128192ctr
7.477.557.72T:speck128256ctr
8.618.698.72salsa20
10.0510.1210.23T:snow20
11.0611.1911.52T:aes192ctr
11.6211.8811.91T:rabbit
13.2313.3113.38T:simon6496ctr
13.4213.5313.55T:cryptmtv3
13.7813.8113.86T:trivium
13.9414.0814.20T:aes128estream
14.0514.1614.36T:lexv2
14.7314.8014.95T:simon64128ctr
16.1116.3016.33tango642
16.8817.2817.33T:nlsv2
18.4118.4818.70xsalsa20
19.5219.7219.92T:aes256estream
21.5321.6921.84T:simon128128ctr
25.5825.6626.36T:simon128256ctr
39.2339.6739.72T:sosemanuk
41.5841.8042.08T:tpy6
72.1772.6672.97T:panama
88.7389.3389.92T:tpypy
91.5592.0592.61T:tpy
109.00109.28111.83T:ocelot1
110.42112.72113.83T:ocelot2
134.25134.66136.41T:amastrid
298.14298.22298.36T:hc128
752.73754.36767.16T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
20.38?20.50?24.00?T:aes128ctr
23.50?24.50?26.50?chacha8
24.3824.6225.12aes256ctr
28.3828.5030.25T:speck128192ctr
28.75?29.38?32.88?T:speck128128ctr
28.88?29.38?32.50?T:speck128256ctr
30.1231.3832.12T:speck6496ctr
31.50?31.75?36.25?chacha12
30.6231.8833.00T:speck64128ctr
43.0043.0044.50salsa208
47.6247.8851.38chacha20
54.3854.5055.25salsa2012
62.1262.3862.50T:simon6496ctr
64.8865.1267.62T:aes128estream
68.8871.5072.12T:rabbit
71.7572.1272.50T:simon64128ctr
71.1273.2575.50T:aes256estream
79.0079.3880.62T:snow20
82.5082.7583.12T:trivium
82.3882.8885.00T:lexv2
84.2584.5086.62T:cryptmtv3
86.3887.3891.00T:aes192ctr
87.2588.3891.25salsa20
93.8894.8895.38T:nlsv2
110.25112.25117.00T:simon128128ctr
122.00125.75126.88tango642
130.62131.00133.25T:simon128256ctr
166.38167.12170.00xsalsa20
309.50310.25313.50T:tpy6
312.12315.00315.75T:sosemanuk
566.62569.88575.75T:panama
675.75679.12684.00T:tpypy
712.62720.50722.00T:tpy
747.38764.62774.75T:ocelot2
737.50766.62769.25T:ocelot1
890.25895.62901.25T:amastrid
2381.122385.002385.25T:hc128
6056.886062.886123.25T:hc256