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 Pentium Silver N6000; 4 x 1100MHz; jasper, supercop-20241022

[Page version: 20241109 15:41:18]

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.450.46T:aes192ctr
0.620.640.65T:aes128ctr
0.730.750.76aes256ctr
1.031.041.05tango642
1.301.311.33chacha8
1.861.861.87chacha12
2.022.032.04salsa208
2.182.202.22T:hc128
2.372.382.40T:sosemanuk
2.592.602.62T:cryptmtv3
2.902.912.93salsa2012
2.982.982.99chacha20
2.78?3.00?3.16?T:hc256
3.023.043.07T:speck6496ctr
3.063.103.13T:nlsv2
3.153.163.18T:speck64128ctr
3.173.233.31T:tpy
3.083.253.41T:tpy6
3.213.263.32T:snow20
3.493.513.53T:panama
3.863.883.89T:trivium
4.154.184.22T:rabbit
4.374.374.38T:simon6496ctr
4.544.564.57T:speck128128ctr
4.604.614.61T:simon64128ctr
4.654.684.69T:speck128192ctr
4.714.724.76salsa20
4.714.734.75xsalsa20
4.824.834.84T:speck128256ctr
4.924.944.96T:lexv2
5.285.325.39T:tpypy
6.656.666.67T:simon128128ctr
8.088.188.24T:simon128256ctr
9.579.619.64T:aes128estream
14.4814.5014.55T:aes256estream
20.3720.5520.64T:ocelot1
21.1821.4321.60T:ocelot2
34.3336.7438.14T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.620.620.62T:aes192ctr
0.640.650.66T:aes128ctr
0.770.770.78aes256ctr
1.281.281.28tango642
1.331.331.35chacha8
1.881.881.89chacha12
2.042.042.05salsa208
2.932.932.94salsa2012
2.982.993.00T:sosemanuk
3.003.003.01chacha20
3.073.073.09T:speck6496ctr
3.183.193.20T:cryptmtv3
3.193.203.21T:speck64128ctr
3.263.283.29T:nlsv2
3.343.363.40T:snow20
3.753.833.94T:tpy6
4.024.034.03T:trivium
4.314.324.33T:rabbit
4.584.594.59T:speck128128ctr
4.594.594.61T:panama
4.624.624.62T:simon6496ctr
4.584.634.66T:tpy
4.714.714.71T:speck128192ctr
4.744.754.76salsa20
4.864.864.87T:speck128256ctr
4.884.894.90xsalsa20
4.994.995.00T:simon64128ctr
5.075.085.09T:lexv2
6.606.616.63T:tpypy
6.826.836.83T:hc128
7.027.037.03T:simon128128ctr
8.668.708.74T:simon128256ctr
9.679.689.70T:aes128estream
14.5814.5914.61T:aes256estream
14.8214.8814.92T:hc256
21.8021.9121.95T:ocelot1
22.5422.7122.81T:ocelot2
36.9538.2639.08T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.670.670.71T:aes128ctr
0.820.820.84aes256ctr
0.890.900.91T:aes192ctr
1.371.381.39chacha8
1.681.681.69tango642
1.901.911.92chacha12
2.052.062.07salsa208
2.962.962.98salsa2012
3.023.033.04chacha20
3.123.123.17T:speck6496ctr
3.253.253.27T:speck64128ctr
3.503.533.59T:snow20
3.583.613.63T:nlsv2
4.054.064.09T:sosemanuk
4.294.304.31T:trivium
4.504.544.55T:rabbit
4.604.614.63T:cryptmtv3
4.624.664.67T:speck128128ctr
4.764.784.81T:speck128192ctr
4.784.794.81salsa20
4.804.864.93T:tpy6
4.904.934.95T:speck128256ctr
5.045.045.05T:simon6496ctr
5.155.175.19xsalsa20
5.305.325.35T:lexv2
5.645.645.64T:simon64128ctr
6.386.406.41T:panama
6.856.956.99T:tpy
7.647.647.65T:simon128128ctr
8.818.858.87T:tpypy
9.489.539.72T:simon128256ctr
9.799.829.85T:aes128estream
14.5114.5214.56T:hc128
14.7114.7414.79T:aes256estream
24.1824.2824.62T:ocelot1
24.6524.7824.87T:ocelot2
34.4634.5834.76T:hc256
40.1141.0741.42T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.840.840.88T:aes128ctr
0.991.001.05aes256ctr
1.501.521.52chacha8
1.661.671.70T:aes192ctr
2.122.142.17chacha12
2.262.282.28salsa208
2.712.742.75tango642
3.233.243.26salsa2012
3.253.263.26T:speck6496ctr
3.313.343.38chacha20
3.373.383.40T:speck64128ctr
4.014.044.08T:snow20
4.394.434.56T:nlsv2
4.824.834.85T:speck128128ctr
4.954.965.02T:speck128192ctr
4.954.984.99T:trivium
5.115.135.16T:speck128256ctr
5.125.145.17T:rabbit
5.115.155.16salsa20
5.375.395.42T:cryptmtv3
5.965.986.03T:lexv2
6.206.226.23xsalsa20
6.906.936.95T:sosemanuk
7.077.087.09T:simon6496ctr
7.387.407.44T:tpy6
9.589.649.80T:simon64128ctr
10.1010.1310.18T:aes128estream
11.2011.2211.30T:panama
11.9612.0512.14T:simon128128ctr
13.0713.2113.28T:tpy
14.3814.5614.69T:tpypy
15.0615.1115.22T:aes256estream
18.9719.1719.70T:simon128256ctr
30.8430.9331.13T:ocelot2
30.7031.5331.70T:ocelot1
35.1535.1735.23T:hc128
47.1847.3948.45T:amastrid
86.9987.3987.66T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.702.722.77chacha8
2.70?3.05?3.09?T:aes128ctr
3.06?3.30?3.67?aes256ctr
3.693.703.72chacha12
4.444.454.47salsa208
4.944.975.00T:speck6496ctr
5.005.065.16T:speck64128ctr
5.725.725.78chacha20
5.845.865.86salsa2012
7.127.237.33T:speck128128ctr
7.287.457.70T:speck128192ctr
7.457.537.64T:speck128256ctr
8.598.628.91salsa20
10.0210.1110.33T:snow20
11.1411.3811.66T:aes192ctr
11.7211.7711.98T:rabbit
13.2313.2813.31T:simon6496ctr
13.3313.3913.48T:cryptmtv3
13.7813.8113.86T:trivium
13.8813.9814.05T:aes128estream
14.0614.2814.36T:lexv2
14.6914.7814.97T:simon64128ctr
16.1216.1416.31tango642
16.8417.1717.28T:nlsv2
18.1218.2318.38xsalsa20
19.7319.9220.05T:aes256estream
21.4821.5521.69T:simon128128ctr
25.5925.7026.22T:simon128256ctr
39.2339.3939.58T:sosemanuk
41.3641.4841.69T:tpy6
72.1472.4573.00T:panama
88.8489.3889.78T:tpypy
92.9193.7894.03T:tpy
108.38108.97112.48T:ocelot1
112.28112.88120.08T:ocelot2
135.25136.41137.55T:amastrid
298.05298.92298.98T:hc128
756.91758.53764.44T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
20.75?20.88?24.12?T:aes128ctr
24.25?24.25?27.75?T:speck6496ctr
23.5024.5025.50chacha8
24.1224.6225.12aes256ctr
28.62?28.88?32.50?T:speck128128ctr
28.88?29.25?32.38?T:speck128256ctr
28.62?29.38?32.12?T:speck128192ctr
31.6231.8834.88chacha12
29.12?33.12?34.88?T:speck64128ctr
43.0043.1243.38salsa208
47.7549.5051.12chacha20
57.5057.7561.00salsa2012
61.8862.1263.25T:simon6496ctr
64.3865.3866.12T:aes128estream
68.7569.8872.00T:rabbit
71.8872.2572.50T:simon64128ctr
72.3873.7574.38T:aes256estream
79.7581.0082.00T:snow20
82.1282.6283.00T:trivium
83.5084.8886.62T:lexv2
84.6284.8885.88T:cryptmtv3
86.6287.0089.38salsa20
88.1290.6297.62T:aes192ctr
94.6295.6295.88T:nlsv2
106.12110.00115.75T:simon128128ctr
122.00125.75125.75tango642
130.00130.50131.62T:simon128256ctr
164.00164.50166.38xsalsa20
310.50312.88315.38T:tpy6
312.75313.75315.75T:sosemanuk
564.50569.12571.75T:panama
678.62683.00687.12T:tpypy
724.62730.62733.75T:tpy
743.25761.38765.50T:ocelot2
759.00764.38777.12T:ocelot1
902.00905.62913.00T:amastrid
2386.502389.122395.00T:hc128
6057.386090.886123.00T:hc256