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 4 (a70f41); 2023 AMD Ryzen 5 7640HS; 6 x 4300MHz; phoenix, supercop-20260217

[Page version: 20260221 06:45:09]

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 (or StQ1 starting with supercop-20260214), the median of many speed measurements (or StQ2 starting with supercop-20260214), the third quartile of many speed measurements (or StQ3 starting with supercop-20260214), and the name of the primitive. Measurements with large interquartile range (or stabilized interquartile range) 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.230.240.24aes256ctr
0.320.320.33chacha8
0.35?0.36?0.40?T:aes128ctr
0.420.440.45tango642
0.440.450.45chacha12
0.41?0.45?0.48?T:aes192ctr
0.620.620.63salsa208
0.640.670.70T:speck6496ctr
0.660.680.69T:speck64128ctr
0.680.690.70chacha20
0.750.760.77salsa2012
0.780.800.81T:speck128128ctr
0.800.820.83T:speck128192ctr
0.850.850.86T:speck128256ctr
0.820.870.89T:simon6496ctr
0.85?0.92?1.01?T:simon64128ctr
1.011.021.03salsa20
1.021.031.04xsalsa20
1.281.301.31T:hc128
1.301.331.36T:simon128128ctr
1.271.341.39T:tpy
1.371.421.49T:simon128256ctr
1.531.551.58T:trivium
1.44?1.60?2.54?T:nlsv2
1.611.681.75T:sosemanuk
1.741.791.81T:hc256
1.711.791.86T:tpy6
1.781.831.84T:cryptmtv3
2.072.112.14T:panama
2.152.232.32T:tpypy
2.402.412.42T:snow20
2.522.532.54T:rabbit
4.044.064.08T:lexv2
8.138.158.17T:aes128estream
12.2412.2712.29T:aes256estream
13.2613.3613.48T:ocelot1
14.3114.4314.56T:ocelot2
26.8627.3928.33T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.260.260.26aes256ctr
0.330.330.33chacha8
0.370.370.41T:aes128ctr
0.450.450.46chacha12
0.570.580.58tango642
0.630.640.64salsa208
0.660.670.68T:aes192ctr
0.680.690.71T:speck6496ctr
0.690.700.70chacha20
0.700.710.72T:speck64128ctr
0.770.770.78salsa2012
0.830.850.85T:speck128128ctr
0.860.870.87T:speck128192ctr
0.900.900.90T:speck128256ctr
1.001.011.02T:simon6496ctr
1.031.041.04salsa20
1.101.111.17T:simon64128ctr
1.121.121.13xsalsa20
1.481.481.50T:simon128128ctr
1.641.651.67T:trivium
1.75?1.76?2.45?T:nlsv2
1.751.791.80T:simon128256ctr
2.032.042.09T:sosemanuk
2.332.362.38T:tpy6
2.372.392.40T:cryptmtv3
2.482.482.49T:snow20
2.522.552.58T:tpy
2.602.602.61T:rabbit
2.732.752.76T:panama
3.403.443.47T:tpypy
3.783.783.79T:hc128
4.164.174.18T:lexv2
8.198.208.20T:aes128estream
8.238.258.26T:hc256
12.3612.3712.38T:aes256estream
14.2014.2614.32T:ocelot1
15.1915.2215.29T:ocelot2
28.2828.6729.31T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.290.300.31aes256ctr
0.400.400.41T:aes128ctr
0.420.430.43chacha8
0.570.570.57salsa208
0.590.590.60chacha12
0.710.720.72salsa2012
0.720.730.74T:speck6496ctr
0.760.770.77T:speck64128ctr
0.800.800.81tango642
0.910.920.93T:speck128128ctr
0.910.920.93chacha20
0.950.960.96T:speck128192ctr
0.970.980.99T:speck128256ctr
0.991.001.01salsa20
1.001.031.09T:aes192ctr
1.211.211.23T:simon6496ctr
1.221.221.23xsalsa20
1.401.411.46T:simon64128ctr
1.741.741.76T:simon128128ctr
1.801.821.83T:trivium
2.12?2.15?2.81?T:nlsv2
2.282.402.42T:simon128256ctr
2.602.612.63T:snow20
2.682.702.82T:sosemanuk
2.722.722.73T:rabbit
3.293.313.36T:tpy6
3.563.583.58T:cryptmtv3
3.773.823.85T:panama
4.354.364.37T:lexv2
4.464.504.54T:tpy
5.405.455.49T:tpypy
7.897.917.93T:hc128
8.278.298.32T:aes128estream
12.4812.5012.53T:aes256estream
15.5915.6515.74T:ocelot1
16.4416.5516.67T:ocelot2
18.9719.0419.04T:hc256
30.7131.6331.77T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.500.510.54T:aes128ctr
0.540.550.55salsa208
0.560.570.58aes256ctr
0.570.580.59chacha8
0.780.790.79salsa2012
0.790.800.81chacha12
1.031.041.05T:speck6496ctr
1.091.131.16T:speck64128ctr
1.211.231.25chacha20
1.261.281.29salsa20
1.371.391.39T:speck128128ctr
1.391.391.42T:speck128192ctr
1.401.411.41tango642
1.451.471.48T:speck128256ctr
1.891.891.93xsalsa20
1.92?2.00?2.21?T:aes192ctr
2.172.192.33T:simon6496ctr
2.292.312.32T:trivium
2.302.312.32T:simon64128ctr
2.912.922.93T:simon128256ctr
2.912.922.94T:snow20
2.96?3.01?3.55?T:nlsv2
3.043.043.06T:rabbit
3.843.863.87T:simon128128ctr
4.364.364.39T:cryptmtv3
4.414.474.67T:sosemanuk
4.914.924.95T:lexv2
5.665.715.78T:tpy6
6.496.666.73T:panama
8.518.538.56T:aes128estream
9.699.869.94T:tpy
10.5710.6310.73T:tpypy
12.9112.9813.02T:aes256estream
18.9119.0019.02T:hc128
19.4119.6219.83T:ocelot1
20.1520.3220.50T:ocelot2
35.0735.7636.05T:amastrid
47.7547.7947.97T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.50?1.64?1.76?T:aes128ctr
2.802.812.82salsa208
3.123.193.30aes256ctr
3.693.733.76salsa2012
3.863.953.99T:speck6496ctr
3.994.084.14T:speck64128ctr
4.834.914.99chacha8
5.055.065.16T:simon6496ctr
5.455.505.60T:speck128128ctr
5.505.555.56salsa20
5.615.645.67T:speck128192ctr
5.785.885.92T:speck128256ctr
6.206.226.33T:simon64128ctr
6.776.866.91chacha12
7.027.077.10T:rabbit
7.087.227.25T:snow20
7.917.938.12T:simon128128ctr
8.438.558.63T:trivium
8.708.798.91T:cryptmtv3
9.109.239.42tango642
9.529.569.78T:simon128256ctr
10.6010.6210.75xsalsa20
10.5910.8110.93chacha20
11.5111.6311.73T:lexv2
11.6011.6611.76T:aes128estream
13.9614.3314.71T:aes192ctr
16.73?17.17?19.49?T:nlsv2
18.2418.4418.57T:aes256estream
23.7824.0924.50T:sosemanuk
37.0737.4238.34T:tpy6
41.4341.9442.22T:panama
66.3567.3468.66T:ocelot1
67.5169.3570.95T:ocelot2
77.5278.9679.65T:tpypy
78.4779.2079.84T:tpy
100.43101.79102.99T:amastrid
160.62160.87161.01T:hc128
413.16414.67416.77T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
12.17?12.39?13.96?T:aes128ctr
17.7517.7518.54T:speck128192ctr
18.1218.1718.38T:speck6496ctr
18.2518.2518.54T:speck64128ctr
18.7518.7519.16T:speck128128ctr
19.5519.7120.61T:speck128256ctr
24.9726.0226.93aes256ctr
35.2135.6536.25chacha8
36.0936.8938.70salsa208
37.5938.2538.35T:simon6496ctr
39.1239.1239.12salsa2012
41.9842.5542.86T:rabbit
43.6844.2945.32chacha12
47.9248.1249.61T:aes128estream
48.3848.4048.66T:simon64128ctr
55.4955.9356.36T:snow20
55.8656.2958.34T:cryptmtv3
56.9457.6058.30T:trivium
57.6858.0358.59salsa20
60.7261.3262.78chacha20
62.5062.6963.00T:simon128128ctr
66.5366.7967.10tango642
67.8268.1668.74T:lexv2
73.5973.9674.28T:aes256estream
87.5287.6289.00T:simon128256ctr
87.11?90.52?106.01?T:nlsv2
97.8898.3599.11xsalsa20
112.11113.93117.64T:aes192ctr
188.43189.45194.64T:sosemanuk
296.11302.00302.57T:tpy6
325.32329.86334.61T:panama
436.74452.17461.73T:ocelot2
455.60464.40473.85T:ocelot1
608.62613.86617.46T:tpy
617.18623.17633.33T:tpypy
668.95676.42683.70T:amastrid
1279.741284.051286.53T:hc128
3327.883329.483333.95T:hc256