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 (830f10); 2019 AMD EPYC 7742; 64 x 2250MHz; rome0, supercop-20250307

[Page version: 20250308 10:39:27]

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.380.390.39T:aes192ctr
0.440.440.45T:aes128ctr
0.520.520.52chacha8
0.590.590.60aes256ctr
0.640.640.64salsa208
0.700.710.71tango642
0.720.730.73chacha12
0.910.910.91salsa2012
0.910.910.94T:speck6496ctr
0.940.950.96T:speck64128ctr
1.081.101.13T:speck128128ctr
1.111.111.12chacha20
1.141.141.17T:speck128192ctr
1.171.181.22T:speck128256ctr
1.361.371.39T:simon6496ctr
1.441.441.44T:simon64128ctr
1.461.461.46xsalsa20
1.461.461.46salsa20
1.601.621.62T:hc128
1.941.941.95T:simon128128ctr
2.012.042.06T:simon128256ctr
2.092.132.15T:cryptmtv3
2.152.172.26T:hc256
2.232.232.23T:sosemanuk
2.342.372.37T:trivium
2.472.512.56T:tpy6
2.502.522.53T:nlsv2
2.532.542.55T:panama
2.512.642.69T:tpy
2.712.722.72T:snow20
2.832.842.86T:rabbit
3.863.923.96T:tpypy
4.164.174.19T:lexv2
9.029.069.07T:aes128estream
12.9713.0113.06T:aes256estream
17.0317.2218.86T:ocelot1
18.5918.8619.97T:ocelot2
30.4331.9533.05T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.460.460.46T:aes128ctr
0.530.530.54chacha8
0.570.580.58T:aes192ctr
0.610.610.62aes256ctr
0.650.650.65salsa208
0.730.730.74chacha12
0.850.850.85tango642
0.930.930.93salsa2012
0.950.950.97T:speck6496ctr
0.980.980.99T:speck64128ctr
1.121.121.13chacha20
1.151.151.17T:speck128128ctr
1.191.191.20T:speck128192ctr
1.231.231.26T:speck128256ctr
1.471.471.47salsa20
1.561.561.57xsalsa20
1.591.591.59T:simon6496ctr
1.751.761.76T:simon64128ctr
2.222.232.23T:simon128128ctr
2.452.462.47T:trivium
2.492.492.49T:sosemanuk
2.492.492.49T:simon128256ctr
2.602.612.63T:cryptmtv3
2.672.682.68T:nlsv2
2.812.812.81T:snow20
2.922.922.94T:rabbit
3.203.213.23T:tpy6
3.393.393.39T:panama
4.034.074.11T:tpy
4.304.304.31T:lexv2
4.834.844.84T:hc128
5.455.475.49T:tpypy
9.089.089.08T:aes128estream
10.5610.5710.63T:hc256
13.0713.1013.14T:aes256estream
18.8718.9520.14T:ocelot1
20.5420.6021.42T:ocelot2
32.2632.9633.64T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.490.490.49T:aes128ctr
0.560.560.56chacha8
0.650.650.66aes256ctr
0.670.670.67salsa208
0.740.740.75chacha12
0.870.880.90T:aes192ctr
0.950.950.95salsa2012
1.001.011.03T:speck6496ctr
1.051.051.06T:speck64128ctr
1.091.091.10tango642
1.141.151.15chacha20
1.221.231.24T:speck128128ctr
1.241.241.26T:speck128192ctr
1.311.311.31T:speck128256ctr
1.491.491.49salsa20
1.731.741.74xsalsa20
1.951.961.96T:simon6496ctr
2.282.282.28T:simon64128ctr
2.632.632.63T:trivium
2.712.712.71T:simon128128ctr
2.952.952.96T:snow20
2.962.962.97T:sosemanuk
3.043.053.06T:nlsv2
3.073.073.09T:rabbit
3.203.223.26T:simon128256ctr
3.873.893.91T:cryptmtv3
4.284.344.39T:tpy6
4.544.544.55T:lexv2
4.794.804.81T:panama
6.396.526.57T:tpy
7.888.008.07T:tpypy
9.019.079.18T:aes128estream
10.1710.1810.18T:hc128
13.2313.2413.25T:aes256estream
21.7321.7521.80T:ocelot1
23.4323.5624.12T:ocelot2
24.5824.6024.67T:hc256
33.6133.9634.81T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.610.650.65T:aes128ctr
0.750.750.77chacha8
0.830.840.87aes256ctr
0.890.890.90salsa208
1.031.041.05chacha12
1.211.211.25T:speck6496ctr
1.251.251.25salsa2012
1.261.261.26T:speck64128ctr
1.541.541.55T:speck128128ctr
1.591.591.64T:speck128192ctr
1.591.591.62T:speck128256ctr
1.611.621.62chacha20
1.701.731.74T:aes192ctr
1.741.741.76tango642
1.931.941.96salsa20
2.582.582.60xsalsa20
3.063.063.06T:trivium
3.373.373.41T:snow20
3.483.493.50T:rabbit
3.533.553.60T:simon6496ctr
3.903.923.95T:nlsv2
4.074.074.07T:simon64128ctr
4.254.274.28T:sosemanuk
4.324.334.34T:cryptmtv3
5.175.175.18T:lexv2
5.205.235.27T:simon128128ctr
5.585.605.69T:simon128256ctr
7.337.477.52T:tpy6
8.568.598.65T:panama
9.319.349.37T:aes128estream
13.1413.1613.29T:tpy
13.6013.6713.68T:aes256estream
15.0715.1115.12T:tpypy
24.5524.5724.59T:hc128
28.9829.0229.53T:ocelot1
30.6431.0131.37T:ocelot2
40.6640.8241.20T:amastrid
61.8761.8962.01T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.95?1.97?2.36?T:aes128ctr
2.612.612.67chacha8
2.72?2.72?3.20?aes256ctr
3.143.163.19salsa208
3.223.223.22T:speck6496ctr
3.413.413.41T:speck64128ctr
3.613.623.64chacha12
4.054.054.06T:speck128256ctr
4.094.094.09T:speck128192ctr
4.114.114.11T:speck128128ctr
4.114.164.16salsa2012
5.645.665.69chacha20
6.066.126.12salsa20
7.947.958.11T:simon6496ctr
8.118.118.20T:rabbit
8.738.738.73T:simon64128ctr
8.788.788.78T:trivium
8.949.029.16T:snow20
9.12?9.27?10.84?T:cryptmtv3
10.0810.0810.19tango642
11.8812.0012.03xsalsa20
12.2312.3612.72T:aes192ctr
12.4112.5812.70T:simon128128ctr
12.9413.0013.27T:aes128estream
13.0313.0913.31T:lexv2
13.8013.8113.95T:simon128256ctr
18.2718.2818.30T:sosemanuk
18.2518.3918.91T:aes256estream
18.6418.7718.98T:nlsv2
46.3146.8147.09T:tpy6
56.3956.5256.73T:panama
99.5699.88100.16T:tpy
107.36107.38107.67T:tpypy
114.73115.23118.34T:amastrid
122.41122.81127.48T:ocelot2
121.59124.59124.62T:ocelot1
208.80208.83208.94T:hc128
538.62538.95539.42T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
17.00?17.38?20.00?T:aes128ctr
19.2519.2519.38T:speck6496ctr
20.6220.6220.62T:speck64128ctr
22.2522.5022.62chacha8
22.6222.6223.38T:speck128192ctr
23.12?23.12?25.75?T:speck128256ctr
23.0023.6224.50aes256ctr
24.0024.0025.12T:speck128128ctr
30.3830.5030.50chacha12
42.3842.3842.88salsa208
43.7544.5045.25T:simon6496ctr
46.5046.8847.12chacha20
48.8849.1249.88T:simon64128ctr
49.1249.1249.25T:rabbit
48.8851.1251.88salsa2012
54.00?54.00?61.75?T:trivium
57.7559.0059.00T:aes128estream
59.12?60.12?70.75?T:cryptmtv3
68.2568.7572.75T:aes256estream
69.1269.2571.88T:snow20
74.5074.7574.75salsa20
72.1275.0075.00T:simon128128ctr
76.8876.8878.00tango642
77.6278.6280.50T:lexv2
83.7586.6287.00T:simon128256ctr
86.6287.6289.50T:nlsv2
99.38100.62106.12T:aes192ctr
122.25122.25122.25xsalsa20
145.88146.38146.38T:sosemanuk
350.50357.75362.25T:tpy6
447.38449.25450.88T:panama
756.62773.00781.88T:amastrid
776.62785.25789.62T:tpy
833.50836.00837.38T:tpypy
841.00843.00861.00T:ocelot1
857.62867.38872.38T:ocelot2
1668.621668.621669.75T:hc128
4312.504313.004316.12T:hc256