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 2 (860f81); 2021 AMD Ryzen 3 5300U; 4 x 2600MHz; lucienne, supercop-20250307

[Page version: 20250326 01:56:40]

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.390.400.41T:aes192ctr
0.440.440.45T:aes128ctr
0.520.530.53chacha8
0.590.590.60aes256ctr
0.640.640.64salsa208
0.700.700.71tango642
0.720.720.72chacha12
0.910.910.92salsa2012
0.900.920.93T:speck6496ctr
0.940.950.96T:speck64128ctr
1.091.101.12T:speck128128ctr
1.111.111.15T:speck128192ctr
1.111.111.12chacha20
1.171.181.20T:speck128256ctr
1.361.381.39T:simon6496ctr
1.441.441.48T:simon64128ctr
1.461.461.47xsalsa20
1.461.471.47salsa20
1.581.591.60T:hc128
1.951.951.95T:simon128128ctr
2.012.032.04T:simon128256ctr
2.082.132.13T:cryptmtv3
2.172.192.21T:hc256
2.232.242.25T:sosemanuk
2.332.372.37T:trivium
2.292.392.48T:tpy
2.492.512.52T:nlsv2
2.442.532.61T:tpy6
2.532.532.54T:panama
2.692.702.71T:snow20
2.822.832.84T:rabbit
3.813.894.02T:tpypy
4.144.174.17T:lexv2
9.009.099.11T:aes128estream
12.7812.9613.42T:aes256estream
17.3117.3617.45T:ocelot1
18.7318.9019.09T:ocelot2
30.09?32.12?34.33?T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.460.460.46T:aes128ctr
0.540.540.54chacha8
0.580.590.59T:aes192ctr
0.620.620.62aes256ctr
0.650.650.65salsa208
0.730.730.74chacha12
0.850.850.85tango642
0.920.930.93salsa2012
0.950.950.96T:speck6496ctr
0.980.980.99T:speck64128ctr
1.121.131.13chacha20
1.151.151.16T:speck128128ctr
1.161.161.19T:speck128192ctr
1.231.231.24T:speck128256ctr
1.481.481.48salsa20
1.561.571.57xsalsa20
1.591.591.59T:simon6496ctr
1.751.751.78T:simon64128ctr
2.222.222.23T:simon128128ctr
2.452.462.47T:trivium
2.492.492.49T:simon128256ctr
2.492.502.50T:sosemanuk
2.592.612.61T:cryptmtv3
2.662.672.67T:nlsv2
2.802.802.81T:snow20
2.922.932.93T:rabbit
3.193.223.25T:tpy6
3.383.383.38T:panama
3.883.943.99T:tpy
4.304.314.31T:lexv2
4.814.814.82T:hc128
5.425.455.52T:tpypy
9.079.099.11T:aes128estream
10.5710.5810.58T:hc256
13.0413.0913.41T:aes256estream
18.9618.9919.04T:ocelot1
20.4520.5620.66T:ocelot2
31.9133.1534.72T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.490.490.49T:aes128ctr
0.550.560.56chacha8
0.650.650.67aes256ctr
0.670.670.67salsa208
0.760.760.76chacha12
0.900.910.92T:aes192ctr
0.940.950.95salsa2012
1.001.011.01T:speck6496ctr
1.051.051.05T:speck64128ctr
1.101.101.10tango642
1.141.141.15chacha20
1.221.231.25T:speck128128ctr
1.241.251.29T:speck128192ctr
1.311.311.32T:speck128256ctr
1.501.501.51salsa20
1.741.741.75xsalsa20
1.961.961.96T:simon6496ctr
2.282.282.28T:simon64128ctr
2.632.632.67T:trivium
2.682.682.71T:simon128128ctr
2.952.962.96T:snow20
2.972.972.98T:sosemanuk
3.053.053.09T:nlsv2
3.073.073.08T:rabbit
3.243.253.27T:simon128256ctr
3.863.883.91T:cryptmtv3
4.224.294.31T:tpy6
4.554.554.56T:lexv2
4.774.784.79T:panama
6.456.506.53T:tpy
8.118.118.21T:tpypy
9.129.179.20T:aes128estream
10.1810.1810.20T:hc128
13.2213.2313.65T:aes256estream
21.5721.6621.82T:ocelot1
23.5223.6223.71T:ocelot2
24.5524.5524.59T:hc256
34.1434.5635.58T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.610.650.66T:aes128ctr
0.750.750.75chacha8
0.820.830.87aes256ctr
0.880.880.89salsa208
1.041.051.05chacha12
1.211.211.21T:speck6496ctr
1.241.241.24salsa2012
1.261.261.26T:speck64128ctr
1.541.541.55T:speck128128ctr
1.591.591.59T:speck128192ctr
1.591.591.63T:speck128256ctr
1.591.631.64chacha20
1.771.771.77tango642
1.741.771.80T:aes192ctr
1.941.951.96salsa20
2.592.592.61xsalsa20
3.063.063.06T:trivium
3.383.413.42T:snow20
3.463.473.48T:rabbit
3.533.533.57T:simon6496ctr
3.913.933.94T:nlsv2
4.074.074.07T:simon64128ctr
4.264.284.28T:sosemanuk
4.314.324.38T:cryptmtv3
5.195.205.22T:lexv2
5.205.205.20T:simon128128ctr
5.585.595.64T:simon128256ctr
7.247.347.46T:tpy6
8.538.548.55T:panama
9.309.379.41T:aes128estream
13.1113.3113.42T:tpy
13.6813.7414.07T:aes256estream
14.9414.9815.11T:tpypy
24.5524.5724.57T:hc128
28.7328.8829.14T:ocelot1
31.1931.4431.57T:ocelot2
40.4042.0642.49T:amastrid
61.8461.8461.87T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.95?2.03?2.45?T:aes128ctr
2.592.612.62chacha8
2.69?2.72?3.39?aes256ctr
3.123.143.19salsa208
3.223.223.22T:speck6496ctr
3.413.413.41T:speck64128ctr
3.613.623.64chacha12
4.034.054.06T:speck128256ctr
4.094.094.09T:speck128192ctr
4.114.114.12T:speck128128ctr
4.124.164.16salsa2012
5.615.665.66chacha20
6.116.146.16salsa20
7.947.947.98T:simon6496ctr
8.118.148.34T:rabbit
8.738.738.75T:simon64128ctr
8.788.889.73T:trivium
9.039.099.17T:snow20
9.11?9.16?10.77?T:cryptmtv3
10.2310.2310.23tango642
11.9211.9712.06xsalsa20
12.4412.4812.48T:simon128128ctr
12.6912.9713.19T:aes192ctr
13.1113.2013.25T:aes128estream
13.2813.6413.70T:lexv2
13.8613.8613.88T:simon128256ctr
18.3318.3318.33T:sosemanuk
18.5918.7018.84T:nlsv2
20.2520.2520.53T:aes256estream
46.0547.0947.42T:tpy6
56.0556.0856.27T:panama
99.72100.16100.47T:tpy
104.72104.95105.22T:tpypy
113.61115.06117.48T:amastrid
121.03122.86125.55T:ocelot2
122.06124.19126.27T:ocelot1
208.42208.81208.95T:hc128
539.48539.52539.61T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
17.12?17.88?20.00?T:aes128ctr
19.2519.2519.25T:speck6496ctr
20.6220.6221.50T:speck64128ctr
22.2522.5022.88chacha8
22.6222.6222.62T:speck128192ctr
23.00?23.88?27.25?aes256ctr
23.1224.0024.88T:speck128256ctr
24.0024.0024.25T:speck128128ctr
30.1230.5030.88chacha12
42.0042.3842.88salsa208
43.6244.5045.00T:simon6496ctr
46.5046.7547.25chacha20
47.7548.5048.50salsa2012
49.1249.1249.12T:rabbit
48.8849.7550.12T:simon64128ctr
54.00?54.00?61.62?T:trivium
57.75?58.12?66.38?T:cryptmtv3
58.8859.0060.38T:aes128estream
64.5064.5068.00salsa20
69.5069.6270.88T:snow20
72.3872.3873.25T:simon128128ctr
77.7578.2579.38T:lexv2
78.2578.3878.38tango642
83.0083.3886.38T:simon128256ctr
87.6288.5090.00T:nlsv2
90.3890.6290.88T:aes256estream
100.62103.62105.62T:aes192ctr
113.25113.38114.00xsalsa20
146.25146.25146.25T:sosemanuk
346.50346.62353.25T:tpy6
442.25443.88444.00T:panama
747.75756.50771.50T:amastrid
774.12783.38785.50T:tpy
811.88815.88820.12T:tpypy
854.88859.00866.38T:ocelot1
814.88861.12868.75T:ocelot2
1669.501669.751671.75T:hc128
4314.504318.004321.75T:hc256