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-20240625

[Page version: 20240726 23:46:00]

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.


Implementation notes

Graphs: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.400.410.41T:aes192ctr
0.450.460.46T:aes128ctr
0.580.590.60aes256ctr
0.780.790.79tango642
0.930.940.95chacha8
1.221.231.24salsa208
1.271.281.31chacha12
1.761.761.76salsa2012
1.801.811.81T:hc128
1.811.811.82T:speck6496ctr
1.891.891.90T:speck64128ctr
1.981.992.00chacha20
2.102.132.15T:cryptmtv3
2.192.192.20T:speck128128ctr
2.272.272.28T:speck128192ctr
2.322.332.35T:speck128256ctr
2.342.342.34T:trivium
2.362.372.37T:sosemanuk
2.452.462.46T:hc256
2.512.522.52T:simon6496ctr
2.512.542.54T:nlsv2
2.512.542.56T:tpy6
2.602.602.61T:simon64128ctr
2.492.612.67T:tpy
2.822.822.83xsalsa20
2.822.832.83salsa20
2.972.982.99T:panama
3.003.003.01T:rabbit
3.323.333.35T:snow20
3.743.753.75T:simon128128ctr
3.943.943.95T:simon128256ctr
3.913.964.03T:tpypy
4.214.234.24T:lexv2
9.169.199.21T:aes128estream
13.3913.4413.56T:aes256estream
18.6418.9219.12T:ocelot1
20.3320.5120.66T:ocelot2
32.8733.0934.05T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.480.480.48T:aes128ctr
0.590.590.59T:aes192ctr
0.620.620.62aes256ctr
0.950.950.95tango642
0.950.960.97chacha8
1.241.251.25salsa208
1.291.291.31chacha12
1.781.781.78salsa2012
1.851.851.85T:speck6496ctr
1.921.921.93T:speck64128ctr
2.002.002.01chacha20
2.242.242.25T:speck128128ctr
2.322.332.33T:speck128192ctr
2.382.382.40T:speck128256ctr
2.452.452.45T:trivium
2.632.632.63T:sosemanuk
2.662.662.66T:cryptmtv3
2.692.702.71T:nlsv2
2.722.722.72T:simon6496ctr
2.842.842.84salsa20
2.942.942.94xsalsa20
2.942.942.94T:simon64128ctr
3.093.093.10T:rabbit
3.233.243.24T:tpy6
3.443.443.45T:snow20
3.933.933.93T:panama
4.014.024.02T:simon128128ctr
4.114.184.20T:tpy
4.364.364.37T:lexv2
4.484.484.49T:simon128256ctr
5.155.155.16T:hc128
5.575.595.64T:tpypy
9.259.269.27T:aes128estream
11.2311.2311.23T:hc256
13.4813.5113.60T:aes256estream
20.4620.4720.59T:ocelot1
22.2122.2622.33T:ocelot2
34.6934.7135.38T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.520.530.53T:aes128ctr
0.660.660.67aes256ctr
0.890.900.90T:aes192ctr
0.991.001.00chacha8
1.221.221.22tango642
1.281.281.29salsa208
1.311.331.34chacha12
1.811.811.81salsa2012
1.911.911.91T:speck6496ctr
1.971.971.99T:speck64128ctr
2.002.022.02chacha20
2.332.332.34T:speck128128ctr
2.402.422.43T:speck128192ctr
2.472.472.49T:speck128256ctr
2.632.632.63T:trivium
2.872.872.89salsa20
3.053.053.06T:simon6496ctr
3.053.073.07T:nlsv2
3.123.123.12T:sosemanuk
3.133.133.14xsalsa20
3.243.253.25T:rabbit
3.503.513.51T:simon64128ctr
3.623.643.64T:snow20
3.984.084.09T:cryptmtv3
4.394.414.44T:tpy6
4.454.464.47T:simon128128ctr
4.61?4.64?6.60?T:lexv2
5.385.395.39T:simon128256ctr
5.505.515.52T:panama
6.736.786.84T:tpy
8.348.348.38T:tpypy
9.349.399.40T:aes128estream
10.7110.7110.73T:hc128
13.6013.6313.67T:aes256estream
23.0423.3623.50T:ocelot1
25.0725.1325.26T:ocelot2
25.8025.8225.86T:hc256
36.7338.0938.11T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.64?0.66?0.74?T:aes128ctr
1.121.121.13aes256ctr
1.121.121.13chacha8
1.431.441.45salsa208
1.531.541.55chacha12
1.751.771.77T:aes192ctr
1.901.911.98tango642
2.032.032.03salsa2012
2.102.112.14T:speck6496ctr
2.172.172.19T:speck64128ctr
2.372.372.38chacha20
2.602.612.61T:speck128128ctr
2.672.682.69T:speck128192ctr
2.772.772.79T:speck128256ctr
3.073.113.16T:trivium
3.193.193.20salsa20
3.673.673.68T:rabbit
3.853.863.86xsalsa20
3.913.913.94T:nlsv2
4.094.094.11T:snow20
4.414.424.42T:sosemanuk
4.534.554.56T:simon6496ctr
4.574.644.64T:cryptmtv3
5.265.295.33T:lexv2
5.715.735.75T:simon64128ctr
6.716.756.77T:simon128128ctr
7.397.447.49T:tpy6
9.629.629.62T:aes128estream
9.729.729.75T:panama
10.1710.1810.24T:simon128256ctr
13.7313.7613.80T:tpy
14.0314.0414.05T:aes256estream
15.6215.7415.82T:tpypy
25.5825.6025.65T:hc128
30.1730.4030.42T:ocelot1
32.3032.7232.91T:ocelot2
43.3144.3845.09T:amastrid
64.7564.7964.80T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.382.442.61T:aes128ctr
2.662.672.72chacha8
3.083.203.23salsa208
3.643.643.66chacha12
4.224.234.47salsa2012
4.454.474.48T:speck6496ctr
4.504.504.52T:speck64128ctr
5.345.385.41aes256ctr
5.645.645.66chacha20
5.845.885.88T:speck128128ctr
5.945.976.03T:speck128192ctr
6.086.096.16T:speck128256ctr
6.236.276.27salsa20
8.568.568.95T:rabbit
8.888.988.98T:trivium
8.98?9.38?12.08?T:simon6496ctr
10.0610.0810.19T:snow20
10.0610.0910.31T:simon64128ctr
10.6910.7511.05tango642
11.5911.6611.72T:cryptmtv3
12.0612.0812.14xsalsa20
12.2712.2712.66T:aes192ctr
13.2813.3913.52T:lexv2
13.7013.7713.80T:aes128estream
14.5314.5814.59T:simon128128ctr
16.3116.3816.78T:simon128256ctr
17.1717.3317.39T:nlsv2
18.9419.0019.25T:aes256estream
19.3919.3919.39T:sosemanuk
46.9247.3448.19T:tpy6
63.2863.3963.70T:panama
103.59103.75104.00T:tpy
109.50109.94110.36T:tpypy
126.27127.36128.84T:ocelot2
126.14127.88128.59T:amastrid
127.69128.11128.22T:ocelot1
216.22216.22216.22T:hc128
562.70563.05563.31T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
17.38?18.62?20.00?T:aes128ctr
21.5021.5021.62T:speck6496ctr
22.2522.3822.75aes256ctr
22.0023.0023.12chacha8
23.62?23.62?28.38?T:speck128192ctr
23.7523.7523.75T:speck128256ctr
25.12?25.38?28.25?T:speck128128ctr
25.50?25.75?28.88?T:speck64128ctr
30.2530.6231.00chacha12
41.3842.0042.12salsa208
43.8844.1245.00T:simon6496ctr
46.0046.7547.38chacha20
52.2552.2553.62T:simon64128ctr
52.6252.7553.00salsa2012
52.5053.5056.38T:rabbit
55.1255.2555.88T:trivium
59.3859.7560.25T:aes128estream
70.3870.6270.75T:aes256estream
72.5072.5073.88T:simon128128ctr
74.6274.7574.88salsa20
78.5079.2580.00T:cryptmtv3
79.2579.3879.75T:snow20
79.7580.2583.12T:lexv2
80.6281.3889.00tango642
85.2585.2585.25T:simon128256ctr
92.7593.7594.25T:nlsv2
102.25102.50103.62T:aes192ctr
123.50124.50124.75xsalsa20
152.00152.00152.00T:sosemanuk
359.75362.25364.75T:tpy6
495.38502.50504.88T:panama
812.25813.12818.62T:tpy
797.00?814.50?887.25?T:ocelot1
807.50822.62843.88T:ocelot2
832.00838.62847.00T:amastrid
847.25849.25856.38T:tpypy
1723.381725.251727.12T:hc128
4506.254509.004510.38T:hc256