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; Zen (820f01); 2020 AMD Athlon Silver 3050e; 2 x 1400MHz; dali, supercop-20240909

[Page version: 20241006 02:11:59]

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.410.410.41T:aes192ctr
0.430.440.46T:aes128ctr
0.570.590.59aes256ctr
0.780.790.79tango642
0.920.940.96chacha8
1.221.231.23salsa208
1.261.271.31chacha12
1.761.761.76salsa2012
1.801.801.83T:hc128
1.811.811.83T:speck6496ctr
1.881.891.89T:speck64128ctr
1.951.992.00chacha20
2.112.122.14T:cryptmtv3
2.182.192.20T:speck128128ctr
2.262.272.28T:speck128192ctr
2.342.342.35T:speck128256ctr
2.342.342.35T:trivium
2.342.352.38T:sosemanuk
2.402.452.46T:hc256
2.512.522.52T:simon6496ctr
2.492.522.56T:tpy6
2.522.542.55T:nlsv2
2.512.552.63T:tpy
2.602.612.61T:simon64128ctr
2.822.822.83xsalsa20
2.822.822.83salsa20
2.962.982.99T:panama
3.003.003.01T:rabbit
3.363.373.38T:snow20
3.743.753.76T:simon128128ctr
3.753.903.94T:tpypy
3.943.953.95T:simon128256ctr
4.224.234.23T:lexv2
9.189.229.30T:aes128estream
13.3913.4113.42T:aes256estream
18.1118.1318.53T:ocelot1
20.2520.6120.77T:ocelot2
31.3834.2934.54T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.470.480.48T:aes128ctr
0.600.600.60T:aes192ctr
0.610.620.62aes256ctr
0.950.950.95tango642
0.950.960.97chacha8
1.241.241.25salsa208
1.291.291.31chacha12
1.781.781.78salsa2012
1.851.851.86T:speck6496ctr
1.911.921.92T:speck64128ctr
1.982.002.01chacha20
2.242.242.25T:speck128128ctr
2.322.322.32T:speck128192ctr
2.392.392.40T:speck128256ctr
2.452.452.45T:trivium
2.612.622.63T:sosemanuk
2.652.652.66T:cryptmtv3
2.702.712.72T:nlsv2
2.712.722.72T:simon6496ctr
2.842.842.84salsa20
2.942.942.94xsalsa20
2.942.942.95T:simon64128ctr
3.093.093.10T:rabbit
3.233.243.25T:tpy6
3.463.463.47T:snow20
3.923.923.93T:panama
4.014.024.02T:simon128128ctr
4.114.144.19T:tpy
4.364.374.37T:lexv2
4.494.494.50T:simon128256ctr
5.155.155.16T:hc128
5.435.535.56T:tpypy
9.269.289.34T:aes128estream
11.2111.2211.22T:hc256
13.4713.4813.49T:aes256estream
20.0120.0220.11T:ocelot1
22.0422.2822.31T:ocelot2
33.8035.4835.64T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.530.540.55T:aes128ctr
0.670.670.68aes256ctr
0.900.900.91T:aes192ctr
0.980.991.00chacha8
1.221.221.24tango642
1.281.281.28salsa208
1.321.331.34chacha12
1.811.811.81salsa2012
1.911.911.91T:speck6496ctr
1.971.971.98T:speck64128ctr
2.022.032.03chacha20
2.332.332.34T:speck128128ctr
2.402.402.40T:speck128192ctr
2.472.482.48T:speck128256ctr
2.632.632.64T:trivium
2.872.882.89salsa20
3.053.053.06T:simon6496ctr
3.063.063.06T:nlsv2
3.113.123.13T:sosemanuk
3.123.123.12xsalsa20
3.243.253.25T:rabbit
3.503.513.51T:simon64128ctr
3.613.613.62T:snow20
4.044.044.05T:cryptmtv3
4.364.414.44T:tpy6
4.454.464.47T:simon128128ctr
4.634.634.63T:lexv2
5.405.405.41T:simon128256ctr
5.495.515.52T:panama
6.676.766.86T:tpy
8.288.318.35T:tpypy
9.359.409.43T:aes128estream
10.7210.7310.73T:hc128
13.5913.5913.63T:aes256estream
22.8022.8323.00T:ocelot1
24.9625.1025.17T:ocelot2
25.8325.8625.89T:hc256
37.5837.7038.17T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.64?0.67?0.73?T:aes128ctr
0.80?0.82?0.89?aes256ctr
1.131.141.15chacha8
1.431.441.48salsa208
1.531.551.55chacha12
1.771.791.80T:aes192ctr
1.901.911.94tango642
2.032.032.03salsa2012
2.112.122.19T:speck6496ctr
2.172.182.21T:speck64128ctr
2.372.382.39chacha20
2.612.612.65T:speck128128ctr
2.682.692.73T:speck128192ctr
2.762.772.80T:speck128256ctr
3.083.113.16T:trivium
3.193.193.20salsa20
3.663.673.67T:rabbit
3.843.863.87xsalsa20
3.903.903.97T:nlsv2
4.004.024.03T:snow20
4.394.424.43T:sosemanuk
4.534.554.56T:simon6496ctr
4.574.624.62T:cryptmtv3
5.275.285.32T:lexv2
5.715.745.78T:simon64128ctr
6.706.746.75T:simon128128ctr
7.467.527.59T:tpy6
9.719.719.77T:panama
9.709.719.71T:aes128estream
10.1710.1810.24T:simon128256ctr
13.6113.8813.93T:tpy
14.0514.0614.07T:aes256estream
15.4915.5515.65T:tpypy
25.5725.6125.66T:hc128
30.0230.7230.88T:ocelot1
32.5632.8232.90T:ocelot2
42.5143.6943.98T:amastrid
64.7664.7864.82T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.38?2.52?2.69?T:aes128ctr
2.38?2.64?2.83?chacha8
2.67?2.91?3.17?aes256ctr
3.083.143.23salsa208
3.623.643.66chacha12
4.204.204.22salsa2012
4.474.474.48T:speck6496ctr
4.504.504.78T:speck64128ctr
5.665.665.69chacha20
5.885.885.88T:speck128128ctr
5.945.976.03T:speck128192ctr
6.166.166.16T:speck128256ctr
6.196.226.23salsa20
8.568.568.95T:rabbit
8.888.898.98T:trivium
8.888.989.17T:simon6496ctr
9.059.069.08T:snow20
10.0210.1110.31T:simon64128ctr
10.7310.7311.52tango642
11.6211.6611.72T:cryptmtv3
12.1412.1612.27xsalsa20
12.4812.5012.66T:aes192ctr
13.4713.5213.81T:lexv2
13.5913.7513.84T:aes128estream
14.2814.5914.61T:simon128128ctr
16.3116.3416.78T:simon128256ctr
17.2317.2717.33T:nlsv2
18.8918.9119.23T:aes256estream
19.3919.3919.39T:sosemanuk
47.0247.6247.88T:tpy6
62.9463.3363.84T:panama
103.28103.67104.06T:tpy
109.53109.86110.25T:tpypy
120.67122.44124.17T:ocelot1
124.02126.52128.34T:amastrid
124.58126.95131.56T:ocelot2
215.67215.92216.44T:hc128
562.64563.12563.33T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
17.50?18.62?20.00?T:aes128ctr
21.5021.5021.50T:speck6496ctr
20.38?22.25?23.38?aes256ctr
23.25?23.62?27.62?T:speck128192ctr
23.7523.7524.00T:speck128256ctr
22.75?25.75?28.88?T:speck128128ctr
25.5025.7526.25T:speck64128ctr
26.38?28.12?31.62?chacha8
30.3830.7531.00chacha12
41.3841.5041.62salsa208
43.6243.8845.00T:simon6496ctr
45.7546.0046.62chacha20
52.6252.7553.12salsa2012
52.6253.3853.38T:simon64128ctr
52.6254.0056.12T:rabbit
55.2555.3855.75T:trivium
62.2563.3864.50T:aes128estream
70.1270.2570.88T:snow20
70.2570.5070.88T:aes256estream
72.5072.5072.50T:simon128128ctr
74.6274.7575.12salsa20
79.00?79.88?97.25?T:cryptmtv3
80.5080.7583.75T:lexv2
81.3881.5089.38tango642
85.2585.2585.25T:simon128256ctr
93.5093.8895.75T:nlsv2
102.75103.12104.50T:aes192ctr
122.38122.38123.12xsalsa20
152.00152.00152.00T:sosemanuk
357.12359.62362.12T:tpy6
495.12496.62501.38T:panama
815.62816.00817.25T:tpy
823.25827.62832.00T:amastrid
848.25849.50853.38T:tpypy
848.88879.38887.25T:ocelot2
875.75886.88939.50T:ocelot1
1726.001726.121726.38T:hc128
4498.254505.004507.50T:hc256