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 (800f11); 2017 AMD Ryzen 3 1200; 4 x 3100MHz; rumba3, supercop-20250415

[Page version: 20250817 05:22:34]

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:aes128ctr
0.53?0.57?0.59?T:aes192ctr
0.580.590.60aes256ctr
0.730.750.75tango642
0.930.930.94chacha8
1.221.231.24salsa208
1.271.281.29chacha12
1.751.761.77salsa2012
1.43?1.81?2.31?T:hc128
1.801.821.83T:speck6496ctr
1.861.881.90T:speck64128ctr
1.971.981.99chacha20
2.072.082.08T:cryptmtv3
2.192.202.22T:speck128128ctr
2.182.242.27T:tpy
2.252.252.26T:speck128192ctr
2.302.312.34T:speck128256ctr
2.312.312.31T:trivium
2.292.322.35T:tpy6
2.402.472.47T:sosemanuk
2.522.552.57T:hc256
2.632.642.66T:nlsv2
2.692.712.72T:simon6496ctr
2.822.832.83salsa20
2.832.832.83xsalsa20
2.962.972.98T:simon64128ctr
2.972.993.01T:panama
2.992.993.01T:rabbit
3.323.333.34T:snow20
3.553.633.77T:tpypy
4.034.044.05T:simon128256ctr
4.044.054.05T:simon128128ctr
4.234.244.26T:lexv2
9.159.219.22T:aes128estream
13.1513.2113.39T:aes256estream
18.4118.5418.61T:ocelot1
19.9020.0420.13T:ocelot2
32.8133.3435.53T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.480.480.48T:aes128ctr
0.610.620.62aes256ctr
0.900.900.90tango642
0.950.950.96chacha8
0.950.970.97T:aes192ctr
1.251.251.25salsa208
1.301.301.31chacha12
1.781.781.79salsa2012
1.851.861.87T:speck6496ctr
1.921.921.93T:speck64128ctr
1.991.992.00chacha20
2.252.252.26T:speck128128ctr
2.312.312.32T:speck128192ctr
2.372.382.39T:speck128256ctr
2.422.422.42T:trivium
2.622.632.63T:cryptmtv3
2.732.732.74T:sosemanuk
2.792.802.81T:nlsv2
2.842.842.85salsa20
2.902.912.92T:simon6496ctr
2.952.952.95xsalsa20
2.982.993.00T:tpy6
3.093.093.09T:rabbit
3.283.283.29T:simon64128ctr
3.433.433.43T:snow20
3.783.823.83T:tpy
3.943.953.96T:panama
4.324.324.32T:simon128128ctr
4.374.374.38T:lexv2
4.594.604.60T:simon128256ctr
4.905.115.27T:hc128
5.255.305.39T:tpypy
9.239.279.27T:aes128estream
10.9710.9810.99T:hc256
13.2913.3013.43T:aes256estream
19.5919.6719.70T:ocelot1
21.1321.1721.22T:ocelot2
34.6535.0236.61T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.520.530.53T:aes128ctr
0.660.670.67aes256ctr
0.980.980.99chacha8
1.171.171.18tango642
1.281.281.29salsa208
1.341.351.35chacha12
1.611.631.70T:aes192ctr
1.811.821.83salsa2012
1.931.931.95T:speck6496ctr
1.992.002.01T:speck64128ctr
2.012.012.02chacha20
2.332.332.35T:speck128128ctr
2.412.412.42T:speck128192ctr
2.472.482.49T:speck128256ctr
2.602.602.61T:trivium
2.872.872.88salsa20
3.093.103.12T:nlsv2
3.143.143.15xsalsa20
3.233.243.25T:simon6496ctr
3.243.253.25T:rabbit
3.233.253.25T:sosemanuk
3.583.593.60T:snow20
3.813.823.83T:simon64128ctr
3.994.004.00T:cryptmtv3
4.104.144.17T:tpy6
4.604.614.63T:lexv2
4.764.774.77T:simon128128ctr
5.505.515.52T:simon128256ctr
5.535.565.57T:panama
6.386.416.43T:tpy
8.108.128.18T:tpypy
9.359.369.38T:aes128estream
10.0210.6210.91T:hc128
13.4213.4413.45T:aes256estream
21.5221.5821.62T:ocelot1
23.0423.0723.11T:ocelot2
25.0425.0425.05T:hc256
37.9638.2938.38T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.690.720.74T:aes128ctr
0.840.880.91aes256ctr
1.121.121.13chacha8
1.451.471.48salsa208
1.541.551.56chacha12
1.861.881.91tango642
2.042.042.05salsa2012
2.162.172.20T:speck6496ctr
2.242.242.25T:speck64128ctr
2.352.382.40chacha20
2.602.612.62T:speck128128ctr
2.722.732.80T:speck128192ctr
2.792.802.85T:speck128256ctr
3.053.063.09T:trivium
3.203.203.21salsa20
3.393.453.48T:aes192ctr
3.673.703.70T:rabbit
3.863.873.96T:nlsv2
3.913.913.94xsalsa20
3.973.984.02T:snow20
4.514.534.57T:sosemanuk
4.654.654.66T:cryptmtv3
4.734.754.77T:simon6496ctr
5.315.325.36T:lexv2
5.795.795.82T:simon64128ctr
6.936.947.03T:simon128128ctr
7.197.257.30T:tpy6
9.669.689.73T:aes128estream
9.759.849.88T:panama
10.3110.3210.34T:simon128256ctr
13.5513.5813.69T:tpy
13.8313.8713.94T:aes256estream
15.4715.5115.64T:tpypy
23.7925.2725.56T:hc128
26.5826.6526.66T:ocelot1
27.8227.8828.26T:ocelot2
43.8644.3745.37T:amastrid
62.5162.5362.57T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.33?2.42?2.66?T:aes128ctr
2.622.642.66chacha8
2.972.973.11aes256ctr
3.123.123.34salsa208
3.563.663.70chacha12
4.224.224.23salsa2012
4.894.924.92T:speck6496ctr
4.955.005.44T:speck64128ctr
5.475.475.47T:speck128192ctr
5.535.555.69T:speck128256ctr
5.645.665.66chacha20
5.815.845.86T:speck128128ctr
6.176.226.23salsa20
8.849.029.09T:simon6496ctr
8.979.039.03T:trivium
8.979.039.05T:snow20
8.679.069.28T:rabbit
9.069.349.67T:simon64128ctr
10.7310.7311.16tango642
11.7211.7511.80T:cryptmtv3
12.4812.5012.56xsalsa20
13.5313.6213.73T:aes128estream
13.6413.6613.78T:lexv2
13.9414.3014.66T:simon128128ctr
15.4815.7215.91T:nlsv2
16.5216.6417.08T:simon128256ctr
19.1719.4719.83T:aes256estream
19.3319.6219.72T:sosemanuk
26.3426.7327.12T:aes192ctr
45.9546.2346.81T:tpy6
63.8164.2264.31T:panama
91.8992.0292.34T:ocelot1
92.3192.3895.81T:ocelot2
104.08104.42104.91T:tpy
109.78110.14110.78T:tpypy
128.05129.44129.91T:amastrid
198.84199.06212.92T:hc128
540.97541.56541.81T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
18.12?18.25?20.62?T:aes128ctr
19.8819.8819.88T:speck6496ctr
19.8820.8822.00T:speck64128ctr
22.7522.8823.25chacha8
21.6223.2523.50aes256ctr
24.3824.5024.50T:speck128256ctr
23.50?25.88?29.88?T:speck128128ctr
27.75?29.12?32.88?T:speck128192ctr
31.25?34.00?35.88?chacha12
41.5041.7542.00salsa208
43.6243.6245.62T:simon6496ctr
46.7546.8847.00chacha20
48.5048.6249.12salsa2012
49.3851.0053.00T:simon64128ctr
52.3853.5055.62T:rabbit
55.2555.2555.62T:trivium
59.7559.7560.38T:aes128estream
71.2571.3871.75salsa20
70.7572.2572.25T:simon128128ctr
71.3872.3874.62T:snow20
74.7575.3876.12T:aes256estream
78.6279.5080.25T:cryptmtv3
80.2580.2581.50tango642
81.8882.7583.62T:nlsv2
81.0083.5085.88T:lexv2
85.8886.5086.50T:simon128256ctr
122.12123.62123.75xsalsa20
153.38155.62155.62T:sosemanuk
216.62217.38220.00T:aes192ctr
353.12354.50356.50T:tpy6
502.88508.25532.38T:panama
597.75600.38607.62T:ocelot2
600.75601.88603.50T:ocelot1
818.88822.12825.75T:tpy
827.75839.88851.62T:amastrid
855.75857.38860.00T:tpypy
1593.121701.251701.62T:hc128
4330.384334.624335.75T:hc256