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 3 (a50f00); 2021 AMD Ryzen 5 PRO 5650G; 6 x 3900MHz; cezanne, supercop-20260217

[Page version: 20260315 18:26:26]

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.290.300.30aes256ctr
0.410.420.43T:aes128ctr
0.450.460.46chacha8
0.480.480.49salsa208
0.490.520.53T:aes192ctr
0.640.640.65tango642
0.660.670.68chacha12
0.690.700.70salsa2012
0.860.870.87T:speck6496ctr
0.890.900.90T:speck64128ctr
1.031.041.06chacha20
1.041.051.05T:speck128128ctr
1.071.081.08T:speck128192ctr
1.101.111.11T:speck128256ctr
1.111.121.13xsalsa20
1.111.121.13salsa20
1.251.291.33T:hc128
1.421.491.57T:simon6496ctr
1.46?1.57?1.67?T:simon64128ctr
1.801.801.81T:hc256
1.871.901.93T:simon128256ctr
1.881.921.98T:tpy
2.002.012.02T:cryptmtv3
2.002.042.07T:panama
2.00?2.04?2.24?T:sosemanuk
2.002.062.15T:tpy6
1.95?2.06?2.17?T:simon128128ctr
2.132.132.13T:trivium
2.332.342.36T:nlsv2
2.422.432.44T:rabbit
2.882.943.03T:tpypy
3.043.053.07T:snow20
4.034.044.05T:lexv2
8.068.108.12T:aes128estream
12.4712.5012.52T:aes256estream
16.4616.6316.79T:ocelot1
17.8418.0518.20T:ocelot2
26.0126.8427.94T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.320.320.32aes256ctr
0.430.440.44T:aes128ctr
0.470.470.48chacha8
0.500.500.50salsa208
0.670.680.68chacha12
0.710.710.71salsa2012
0.770.770.77tango642
0.810.810.82T:aes192ctr
0.910.910.91T:speck6496ctr
0.930.930.93T:speck64128ctr
1.051.061.07chacha20
1.081.091.09T:speck128128ctr
1.111.111.12T:speck128192ctr
1.131.131.14salsa20
1.151.151.15T:speck128256ctr
1.221.231.23xsalsa20
1.691.731.74T:simon6496ctr
1.911.971.99T:simon64128ctr
2.222.232.23T:trivium
2.262.272.42T:sosemanuk
2.312.322.39T:simon128128ctr
2.332.352.36T:simon128256ctr
2.482.492.49T:nlsv2
2.502.512.52T:rabbit
2.572.572.58T:cryptmtv3
2.662.692.73T:tpy6
2.682.692.70T:panama
3.123.133.14T:snow20
3.213.223.25T:tpy
3.673.673.70T:hc128
4.154.164.16T:lexv2
4.304.324.36T:tpypy
8.148.168.18T:aes128estream
8.258.258.25T:hc256
12.5712.5912.60T:aes256estream
17.5817.6717.74T:ocelot1
19.0019.0719.14T:ocelot2
27.6128.0028.62T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.350.360.37aes256ctr
0.450.460.46T:aes128ctr
0.490.490.50chacha8
0.520.520.53salsa208
0.690.700.71chacha12
0.730.740.74salsa2012
0.970.970.97tango642
0.980.980.99T:speck64128ctr
0.980.980.98T:speck6496ctr
1.071.091.10chacha20
1.151.151.16T:speck128128ctr
1.151.161.17salsa20
1.171.171.18T:speck128192ctr
1.221.221.23T:speck128256ctr
1.311.341.35T:aes192ctr
1.401.401.41xsalsa20
2.012.132.16T:simon6496ctr
2.382.382.39T:trivium
2.632.642.65T:rabbit
2.482.652.68T:simon64128ctr
2.702.712.80T:sosemanuk
2.722.732.92T:simon128128ctr
2.782.792.81T:nlsv2
3.063.093.11T:simon128256ctr
3.243.253.27T:snow20
3.663.713.76T:tpy6
3.763.783.83T:panama
3.963.973.99T:cryptmtv3
4.334.344.35T:lexv2
5.315.365.43T:tpy
6.576.626.69T:tpypy
7.647.667.71T:hc128
8.258.288.29T:aes128estream
12.7012.7212.81T:aes256estream
18.9918.9919.01T:hc256
19.3319.4319.56T:ocelot1
20.8120.9221.04T:ocelot2
30.3831.8331.95T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.550.560.58aes256ctr
0.570.580.60T:aes128ctr
0.670.670.68chacha8
0.730.740.74salsa208
0.950.960.97chacha12
1.031.041.05salsa2012
1.141.151.15T:speck64128ctr
1.181.181.19T:speck6496ctr
1.371.381.38T:speck128128ctr
1.381.381.39T:speck128192ctr
1.511.521.54chacha20
1.561.561.56tango642
1.561.561.57T:speck128256ctr
1.641.651.66salsa20
2.282.292.31xsalsa20
2.542.552.57T:aes192ctr
2.802.812.82T:trivium
2.993.023.03T:rabbit
3.043.053.06T:simon64128ctr
3.543.573.59T:nlsv2
3.583.593.60T:snow20
3.753.763.78T:simon6496ctr
3.863.893.96T:sosemanuk
4.474.484.50T:simon128128ctr
4.544.564.58T:cryptmtv3
4.844.864.87T:simon128256ctr
4.874.894.92T:lexv2
6.436.536.63T:tpy6
6.616.656.73T:panama
8.488.498.52T:aes128estream
10.9511.0611.19T:tpy
12.7712.8912.97T:tpypy
13.1513.1913.22T:aes256estream
18.2418.2718.44T:hc128
23.7423.9724.20T:ocelot1
25.3425.5325.73T:ocelot2
36.2636.8937.28T:amastrid
47.5947.6047.64T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.831.871.93T:aes128ctr
2.652.732.82chacha8
2.782.852.87aes256ctr
2.942.963.01T:speck64128ctr
2.952.993.04T:speck6496ctr
3.043.093.14salsa208
3.673.713.79chacha12
3.703.733.78T:speck128192ctr
3.813.854.08T:speck128256ctr
3.943.994.02T:speck128128ctr
4.044.094.14salsa2012
5.505.555.60chacha20
6.086.196.39salsa20
6.846.926.99T:simon6496ctr
7.457.547.64T:rabbit
7.807.848.03T:snow20
8.148.188.21T:trivium
8.168.298.40T:simon64128ctr
9.049.059.06tango642
10.4310.5110.89T:cryptmtv3
11.5911.7211.89T:simon128128ctr
11.7111.7511.80T:lexv2
11.7611.8411.94T:aes128estream
11.8511.9111.98xsalsa20
13.1313.3513.65T:simon128256ctr
15.4115.5115.62T:nlsv2
17.4417.4417.44T:sosemanuk
18.7618.8819.02T:aes256estream
19.1819.2519.51T:aes192ctr
41.7142.3643.00T:tpy6
43.0643.3243.59T:panama
81.5082.7484.03T:ocelot1
82.5884.0986.09T:ocelot2
83.9784.4485.21T:tpy
92.1893.0893.60T:tpypy
107.39108.62109.67T:amastrid
153.80154.10155.55T:hc128
413.53413.64413.96T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
15.7116.0416.75T:aes128ctr
17.0017.0017.00T:speck6496ctr
20.3820.3820.73T:speck128192ctr
20.8820.8820.88T:speck64128ctr
20.74?21.00?25.30?T:speck128256ctr
22.7122.7522.75T:speck128128ctr
23.3323.8624.51aes256ctr
29.9730.2632.23chacha8
35.2535.6035.77salsa208
38.0038.0038.16T:simon6496ctr
40.8442.1543.25chacha12
44.5445.2245.81chacha20
47.0947.3847.94T:rabbit
48.6248.6248.62T:simon64128ctr
50.4951.0251.47T:trivium
51.6952.2552.79T:aes128estream
58.0858.3960.02salsa20
57.8258.7559.58salsa2012
60.2761.3963.58T:snow20
67.8968.3571.38T:cryptmtv3
68.9369.0069.02tango642
69.4370.2370.91T:lexv2
70.6270.6472.08T:simon128128ctr
77.2377.8278.82T:aes256estream
80.5081.4483.80T:simon128256ctr
81.8182.8183.90T:nlsv2
106.26106.75107.00xsalsa20
139.50139.50139.57T:sosemanuk
151.01154.71162.58T:aes192ctr
321.64325.23328.00T:tpy6
340.20341.72344.61T:panama
528.65542.82561.44T:ocelot1
533.11542.84555.48T:ocelot2
651.00656.39661.60T:tpy
716.25717.89722.53T:tpypy
730.17741.76760.11T:amastrid
1229.441232.491243.69T:hc128
3310.323312.103314.65T:hc256