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 N5105; 4 x 2000MHz; jasper3, supercop-20241022

[Page version: 20241215 22:59:29]

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.450.460.47T:aes192ctr
0.610.630.64T:aes128ctr
0.750.750.76aes256ctr
1.041.061.07tango642
1.311.331.34chacha8
1.851.861.86chacha12
2.012.032.04salsa208
2.262.282.30T:hc128
2.322.382.39T:sosemanuk
2.602.612.61T:cryptmtv3
2.902.912.92salsa2012
2.982.982.99chacha20
3.033.043.06T:speck6496ctr
3.023.073.09T:nlsv2
2.983.123.21T:hc256
3.073.133.38T:tpy6
3.153.153.17T:speck64128ctr
3.183.203.28T:snow20
3.123.233.30T:tpy
3.473.483.52T:panama
3.823.873.89T:trivium
4.204.234.28T:rabbit
4.374.384.44T:simon6496ctr
4.514.534.56T:speck128128ctr
4.604.624.62T:simon64128ctr
4.644.674.68T:speck128192ctr
4.704.724.75salsa20
4.714.744.75xsalsa20
4.804.824.83T:speck128256ctr
4.924.944.97T:lexv2
5.255.285.37T:tpypy
6.646.656.67T:simon128128ctr
7.958.088.22T:simon128256ctr
9.619.649.69T:aes128estream
14.5314.5614.59T:aes256estream
20.3620.5520.76T:ocelot1
21.2621.4921.83T:ocelot2
36.5937.3438.21T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.610.620.62T:aes192ctr
0.640.650.65T:aes128ctr
0.780.780.78aes256ctr
1.291.291.30tango642
1.331.351.35chacha8
1.881.881.89chacha12
2.042.052.05salsa208
2.932.932.94salsa2012
2.952.962.97T:sosemanuk
3.003.003.00chacha20
3.073.073.09T:speck6496ctr
3.183.183.20T:speck64128ctr
3.193.193.19T:cryptmtv3
3.213.243.25T:nlsv2
3.323.323.38T:snow20
3.743.773.94T:tpy6
3.994.034.03T:trivium
4.334.354.37T:rabbit
4.564.564.58T:speck128128ctr
4.574.584.59T:panama
4.554.624.66T:tpy
4.624.624.67T:simon6496ctr
4.704.704.71T:speck128192ctr
4.734.744.75salsa20
4.844.854.86T:speck128256ctr
4.884.904.91xsalsa20
4.995.005.00T:simon64128ctr
5.075.085.10T:lexv2
6.606.616.63T:tpypy
6.896.906.91T:hc128
7.027.027.03T:simon128128ctr
8.578.668.73T:simon128256ctr
9.699.709.73T:aes128estream
14.6514.6714.69T:aes256estream
14.8614.9214.95T:hc256
22.0322.0722.19T:ocelot1
22.6022.7522.98T:ocelot2
38.2338.6839.09T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.670.670.67T:aes128ctr
0.810.810.82aes256ctr
0.880.890.90T:aes192ctr
1.361.361.38chacha8
1.671.681.70tango642
1.911.911.92chacha12
2.072.072.08salsa208
2.962.972.98salsa2012
3.023.033.04chacha20
3.123.123.18T:speck6496ctr
3.233.243.27T:speck64128ctr
3.513.563.59T:snow20
3.673.703.77T:nlsv2
4.014.034.05T:sosemanuk
4.294.304.31T:trivium
4.504.524.55T:rabbit
4.614.614.65T:cryptmtv3
4.614.624.66T:speck128128ctr
4.724.744.96T:tpy6
4.754.764.80T:speck128192ctr
4.754.774.78salsa20
4.904.914.94T:speck128256ctr
5.045.045.04T:simon6496ctr
5.165.185.20xsalsa20
5.325.355.38T:lexv2
5.645.655.66T:simon64128ctr
6.366.406.46T:panama
6.866.896.93T:tpy
7.637.647.65T:simon128128ctr
8.798.848.90T:tpypy
9.479.549.65T:simon128256ctr
9.809.829.84T:aes128estream
14.5814.6014.62T:hc128
14.8014.8614.94T:aes256estream
24.6924.8224.96T:ocelot2
24.6325.2725.33T:ocelot1
34.4934.6034.71T:hc256
40.4940.5441.64T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.820.820.88T:aes128ctr
1.011.011.05aes256ctr
1.501.511.52chacha8
1.591.611.68T:aes192ctr
2.102.122.12chacha12
2.272.282.30salsa208
2.692.702.72tango642
3.253.253.26T:speck6496ctr
3.253.263.28salsa2012
3.313.343.37chacha20
3.373.373.38T:speck64128ctr
4.034.074.12T:snow20
4.784.814.83T:nlsv2
4.824.824.86T:speck128128ctr
4.954.965.01T:speck128192ctr
4.964.975.01T:trivium
5.075.085.11T:rabbit
5.105.125.16T:speck128256ctr
5.155.185.21salsa20
5.365.385.39T:cryptmtv3
5.996.016.03T:lexv2
6.246.266.27xsalsa20
6.786.816.85T:sosemanuk
7.067.077.08T:simon6496ctr
7.427.497.59T:tpy6
10.0810.1310.53T:simon64128ctr
10.1310.1510.18T:aes128estream
11.0711.1311.14T:panama
11.9412.5712.76T:simon128128ctr
13.0513.1213.22T:tpy
14.5114.5614.64T:tpypy
15.2815.3215.38T:aes256estream
17.3617.4317.49T:simon128256ctr
30.8130.9131.06T:ocelot2
31.3531.7431.89T:ocelot1
35.0935.1435.17T:hc128
47.0147.1547.66T:amastrid
86.6887.1287.28T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.59?2.66?3.12?T:aes128ctr
2.672.702.77chacha8
3.08?3.48?3.73?aes256ctr
3.813.884.14chacha12
4.194.284.38salsa208
4.924.925.06T:speck6496ctr
5.035.095.17T:speck64128ctr
5.555.665.67salsa2012
5.725.755.83chacha20
7.117.147.25T:speck128128ctr
7.207.287.61T:speck128192ctr
7.427.457.59T:speck128256ctr
8.628.708.75salsa20
10.3910.5310.61T:snow20
10.9511.2511.61T:aes192ctr
12.0212.1612.28T:rabbit
13.2713.3413.41T:cryptmtv3
13.2013.3813.39T:simon6496ctr
13.7213.8013.84T:trivium
13.8813.9414.22T:aes128estream
14.0614.1614.28T:lexv2
14.6714.7314.92T:simon64128ctr
15.8315.8816.17tango642
18.1118.1218.27xsalsa20
19.7720.0320.58T:aes256estream
21.5921.9122.12T:simon128128ctr
23.2223.3123.58T:nlsv2
25.7026.0226.61T:simon128256ctr
38.0238.3838.72T:sosemanuk
41.2341.5341.92T:tpy6
71.3871.8072.06T:panama
89.3990.0890.80T:tpypy
92.3092.8693.09T:tpy
107.48108.19109.47T:ocelot2
115.39117.14117.31T:ocelot1
133.02133.58134.42T:amastrid
297.47297.83298.33T:hc128
757.67759.05760.05T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
19.6220.1220.38T:aes128ctr
23.38?23.38?28.50?chacha8
23.8824.1224.50aes256ctr
24.50?24.75?28.12?T:speck6496ctr
28.62?28.88?32.12?T:speck128192ctr
28.75?29.12?32.25?T:speck128128ctr
28.88?29.38?32.38?T:speck128256ctr
29.0030.1231.12T:speck64128ctr
31.75?34.38?37.88?chacha12
42.8843.5047.00salsa208
47.3847.6248.75chacha20
54.2554.7554.88salsa2012
61.0061.8861.88T:simon6496ctr
64.0064.5065.12T:aes128estream
68.3868.8871.25T:rabbit
70.7571.6273.88T:aes256estream
71.5072.0072.50T:simon64128ctr
81.1282.2583.62T:snow20
81.8882.3883.00T:trivium
82.1282.7584.88T:lexv2
84.5084.8885.12T:cryptmtv3
82.7585.1288.75T:aes192ctr
86.0086.6287.12salsa20
108.75109.62110.00T:nlsv2
109.88114.12117.75T:simon128128ctr
120.25120.38121.50tango642
129.75130.38131.75T:simon128256ctr
164.25165.00167.12xsalsa20
302.62304.38306.62T:sosemanuk
310.38311.62314.62T:tpy6
557.88561.25563.25T:panama
678.88682.75685.50T:tpypy
715.75722.75726.12T:tpy
732.25738.38758.25T:ocelot2
777.88778.00787.75T:ocelot1
884.38893.50899.50T:amastrid
2379.122381.382384.38T:hc128
6055.626075.886116.12T:hc256