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 7 1700; 8 x 3000MHz; rumba7, 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: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.440.450.46T:aes128ctr
0.47?0.52?0.53?T:aes192ctr
0.580.590.60aes256ctr
0.730.750.75tango642
0.920.940.96chacha8
1.231.231.24salsa208
1.271.281.30chacha12
1.761.761.77salsa2012
1.791.811.82T:speck6496ctr
1.811.821.82T:hc128
1.871.881.89T:speck64128ctr
1.951.961.98chacha20
2.092.102.11T:cryptmtv3
2.182.212.22T:speck128128ctr
2.04?2.21?2.27?T:tpy
2.242.252.26T:speck128192ctr
2.282.302.33T:tpy6
2.312.312.32T:trivium
2.312.332.34T:speck128256ctr
2.462.462.48T:sosemanuk
2.532.562.58T:hc256
2.642.662.67T:nlsv2
2.672.702.72T:simon6496ctr
2.832.832.83xsalsa20
2.822.832.83salsa20
2.962.972.99T:simon64128ctr
2.983.003.01T:panama
2.993.003.02T:rabbit
3.323.333.34T:snow20
3.773.853.90T:tpypy
3.984.054.20T:simon128256ctr
4.054.064.06T:simon128128ctr
4.214.224.23T:lexv2
9.199.219.22T:aes128estream
13.1713.1813.20T:aes256estream
18.4818.6618.78T:ocelot1
19.8519.9420.06T:ocelot2
32.7735.0936.22T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.480.480.48T:aes128ctr
0.620.620.62aes256ctr
0.900.910.91tango642
0.940.950.95T:aes192ctr
0.950.960.97chacha8
1.251.251.26salsa208
1.291.301.31chacha12
1.781.781.79salsa2012
1.851.861.86T:speck6496ctr
1.921.921.93T:speck64128ctr
1.981.982.00chacha20
2.252.262.26T:speck128128ctr
2.312.312.32T:speck128192ctr
2.382.382.39T:speck128256ctr
2.422.422.42T:trivium
2.642.652.65T:cryptmtv3
2.722.732.74T:sosemanuk
2.802.802.81T:nlsv2
2.852.852.85salsa20
2.892.912.92T:simon6496ctr
2.942.952.95xsalsa20
2.982.993.00T:tpy6
3.093.103.11T:rabbit
3.273.283.29T:simon64128ctr
3.423.433.43T:snow20
3.673.793.81T:tpy
3.953.963.96T:panama
4.324.334.33T:simon128128ctr
4.364.364.37T:lexv2
4.594.614.71T:simon128256ctr
4.894.904.90T:hc128
5.425.465.47T:tpypy
9.269.279.28T:aes128estream
10.9710.9811.00T:hc256
13.2713.2813.29T:aes256estream
19.7119.8119.88T:ocelot1
21.1521.1721.20T:ocelot2
34.8136.3837.20T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.520.520.54T:aes128ctr
0.660.680.68aes256ctr
0.980.991.00chacha8
1.181.181.19tango642
1.281.291.29salsa208
1.321.331.35chacha12
1.56?1.58?1.77?T:aes192ctr
1.811.821.83salsa2012
1.931.931.95T:speck6496ctr
2.002.002.02T:speck64128ctr
2.022.032.03chacha20
2.332.342.36T:speck128128ctr
2.412.422.44T:speck128192ctr
2.462.472.49T:speck128256ctr
2.602.602.61T:trivium
2.892.892.90salsa20
3.103.133.15T:nlsv2
3.143.143.15xsalsa20
3.223.233.25T:sosemanuk
3.243.243.26T:simon6496ctr
3.253.263.27T:rabbit
3.583.593.61T:snow20
3.783.793.82T:simon64128ctr
3.994.004.02T:cryptmtv3
4.094.144.16T:tpy6
4.624.624.63T:lexv2
4.774.784.78T:simon128128ctr
5.505.515.65T:simon128256ctr
5.545.555.63T:panama
6.306.406.48T:tpy
8.078.138.16T:tpypy
9.379.399.40T:aes128estream
10.0110.0110.02T:hc128
13.4513.4613.51T:aes256estream
21.4421.6221.77T:ocelot1
23.0523.2123.32T:ocelot2
25.0325.0525.06T:hc256
37.2137.2837.80T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.670.680.73T:aes128ctr
0.850.890.94aes256ctr
1.121.131.14chacha8
1.461.461.47salsa208
1.541.551.56chacha12
1.871.891.91tango642
2.042.042.04salsa2012
2.162.172.22T:speck6496ctr
2.232.242.30T:speck64128ctr
2.362.382.39chacha20
2.622.652.68T:speck128128ctr
2.722.722.77T:speck128192ctr
2.782.792.84T:speck128256ctr
3.053.083.09T:trivium
3.213.213.22salsa20
3.283.293.32T:aes192ctr
3.673.683.68T:rabbit
3.853.863.91T:nlsv2
3.903.933.94xsalsa20
3.974.004.03T:snow20
4.524.544.56T:sosemanuk
4.634.644.66T:cryptmtv3
4.714.744.79T:simon6496ctr
5.265.285.32T:lexv2
5.715.775.82T:simon64128ctr
6.987.027.07T:simon128128ctr
7.177.197.30T:tpy6
9.669.699.74T:aes128estream
9.819.869.86T:panama
10.2810.3110.32T:simon128256ctr
13.4213.4613.51T:tpy
13.8813.9013.92T:aes256estream
15.1415.2515.36T:tpypy
23.6923.7023.74T:hc128
26.6026.6326.87T:ocelot1
28.0928.3128.53T:ocelot2
43.2144.1245.59T:amastrid
62.5162.5362.57T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.16?2.29?2.59?T:aes128ctr
2.662.682.69chacha8
2.782.783.07aes256ctr
3.15?3.23?3.51?salsa208
3.653.673.71chacha12
4.184.224.36salsa2012
4.934.955.39T:speck6496ctr
5.195.235.50T:speck64128ctr
5.445.505.70T:speck128192ctr
5.535.575.68T:speck128256ctr
5.655.675.71chacha20
6.056.176.37T:speck128128ctr
6.146.226.41salsa20
8.948.949.08T:trivium
8.778.969.21T:simon6496ctr
8.628.979.23T:rabbit
9.099.149.37T:snow20
9.119.189.22T:simon64128ctr
10.8010.8211.01tango642
11.6611.7611.97T:cryptmtv3
12.4312.4812.61xsalsa20
13.5713.6613.84T:lexv2
13.7013.8714.14T:aes128estream
14.6614.8915.02T:simon128128ctr
15.4015.5515.85T:nlsv2
16.4816.5116.89T:simon128256ctr
19.3619.4019.44T:aes256estream
19.1819.4819.64T:sosemanuk
24.9925.0425.44T:aes192ctr
46.2146.4446.65T:tpy6
63.7364.5666.72T:panama
90.8391.4392.01T:ocelot1
92.6193.2893.86T:ocelot2
103.83104.25104.70T:tpy
108.86109.30109.60T:tpypy
126.23128.00130.24T:amastrid
198.64198.83199.08T:hc128
541.47541.61542.42T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
17.1917.6818.36T:aes128ctr
19.2519.3321.14T:speck6496ctr
20.4320.7522.06T:speck64128ctr
22.6222.7924.64chacha8
21.47?23.14?24.52?aes256ctr
23.81?24.85?28.14?T:speck128128ctr
24.88?25.58?29.30?T:speck128256ctr
27.43?30.05?32.35?T:speck128192ctr
30.1030.6731.43chacha12
39.0140.2442.48salsa208
43.7543.7544.29T:simon6496ctr
45.7746.0448.52chacha20
47.8848.6050.28T:simon64128ctr
48.6949.5051.57salsa2012
51.8453.0655.61T:rabbit
54.8854.8855.26T:trivium
60.5561.6563.53T:aes128estream
67.8669.0170.85salsa20
71.1672.3073.45T:simon128128ctr
71.6973.6076.53T:snow20
75.1975.9476.98T:aes256estream
78.5279.6681.25T:cryptmtv3
79.7580.4182.41T:lexv2
80.8880.8882.44tango642
79.8181.1583.11T:nlsv2
85.6286.1786.76T:simon128256ctr
117.62117.62117.83xsalsa20
154.46155.50155.72T:sosemanuk
201.66202.00202.47T:aes192ctr
350.46352.84357.40T:tpy6
506.71507.38508.50T:panama
594.57598.60602.04T:ocelot1
599.97601.47606.09T:ocelot2
818.46821.62823.79T:tpy
846.06848.33851.75T:tpypy
837.55848.74858.29T:amastrid
1588.451589.301590.21T:hc128
4330.224332.234334.46T:hc256