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-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.24?0.27?0.38?aes256ctr
0.400.410.43T:aes128ctr
0.430.430.44T:aes192ctr
0.480.490.50chacha8
0.490.490.50salsa208
0.670.670.68tango642
0.670.690.70chacha12
0.700.700.71salsa2012
0.850.860.88T:speck6496ctr
0.900.900.90T:speck64128ctr
1.041.051.07chacha20
1.051.061.07T:speck128128ctr
1.091.091.10T:speck128192ctr
1.121.131.13T:speck128256ctr
1.121.131.14salsa20
1.121.131.14xsalsa20
1.151.161.18T:simon6496ctr
1.161.211.26T:simon64128ctr
1.341.361.39T:hc128
1.701.711.72T:simon128128ctr
1.791.801.81T:simon128256ctr
1.871.881.89T:trivium
1.891.911.91T:sosemanuk
1.961.981.99T:hc256
2.052.072.08T:panama
2.112.122.13T:cryptmtv3
2.262.272.28T:nlsv2
2.252.302.36T:tpy
2.402.432.44T:rabbit
2.522.572.76T:tpy6
3.103.123.13T:snow20
3.823.934.00T:tpypy
4.024.044.05T:lexv2
8.118.148.16T:aes128estream
12.1012.2412.71T:aes256estream
17.3717.6617.84T:ocelot1
18.2618.9119.05T:ocelot2
27.0727.5928.29T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.30?0.30?0.38?aes256ctr
0.420.430.44T:aes128ctr
0.500.510.51salsa208
0.500.510.51chacha8
0.550.550.56T:aes192ctr
0.690.710.71chacha12
0.710.720.72salsa2012
0.820.820.83tango642
0.890.900.90T:speck6496ctr
0.930.930.93T:speck64128ctr
1.061.061.07chacha20
1.101.101.11T:speck128128ctr
1.131.131.13T:speck128192ctr
1.141.141.15salsa20
1.161.171.17T:speck128256ctr
1.231.231.23xsalsa20
1.291.301.31T:simon6496ctr
1.451.481.48T:simon64128ctr
1.941.951.96T:simon128128ctr
2.032.042.04T:trivium
2.132.142.14T:sosemanuk
2.222.222.23T:simon128256ctr
2.422.422.43T:nlsv2
2.502.512.52T:rabbit
2.672.682.68T:cryptmtv3
2.722.722.73T:panama
3.183.193.20T:snow20
3.203.213.32T:tpy6
3.613.633.66T:tpy
4.144.164.16T:lexv2
4.444.454.46T:hc128
5.225.275.30T:tpypy
8.198.218.22T:aes128estream
9.449.459.46T:hc256
12.3312.3612.70T:aes256estream
18.4718.6418.71T:ocelot1
19.4119.8619.92T:ocelot2
28.5228.8429.26T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.34?0.35?0.42?aes256ctr
0.440.460.47T:aes128ctr
0.510.510.52chacha8
0.530.530.54salsa208
0.710.730.74chacha12
0.740.740.74salsa2012
0.750.760.76T:aes192ctr
0.940.960.97T:speck6496ctr
0.980.980.99T:speck64128ctr
1.061.071.07tango642
1.071.081.10chacha20
1.161.161.17T:speck128128ctr
1.161.171.17salsa20
1.181.181.19T:speck128192ctr
1.231.231.23T:speck128256ctr
1.401.401.41xsalsa20
1.521.521.53T:simon6496ctr
1.841.911.94T:simon64128ctr
2.292.292.31T:trivium
2.332.352.36T:simon128128ctr
2.572.582.58T:sosemanuk
2.642.652.66T:rabbit
2.772.782.79T:nlsv2
2.902.912.91T:simon128256ctr
3.293.303.32T:snow20
3.803.813.82T:panama
4.084.084.10T:cryptmtv3
4.254.294.37T:tpy6
4.334.344.35T:lexv2
5.825.855.89T:tpy
7.367.417.49T:tpypy
8.318.328.37T:aes128estream
9.579.599.61T:hc128
12.4712.4912.81T:aes256estream
19.7419.9020.64T:ocelot1
20.8621.4521.99T:ocelot2
21.8821.8921.91T:hc256
30.5331.7432.03T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.54?0.56?0.69?aes256ctr
0.560.570.58T:aes128ctr
0.730.730.74salsa208
0.760.770.78chacha8
0.980.991.00chacha12
1.031.041.05salsa2012
1.091.141.15T:speck6496ctr
1.141.151.16T:speck64128ctr
1.311.311.33T:aes192ctr
1.361.391.42T:speck128128ctr
1.381.391.40T:speck128192ctr
1.461.461.46T:speck128256ctr
1.511.521.53chacha20
1.641.661.67salsa20
1.741.741.76tango642
2.252.272.28xsalsa20
2.962.972.98T:trivium
3.013.033.07T:rabbit
3.023.033.05T:simon6496ctr
3.103.113.12T:simon64128ctr
3.563.573.61T:nlsv2
3.623.643.67T:snow20
3.713.733.74T:sosemanuk
4.624.634.65T:cryptmtv3
4.744.754.76T:simon128128ctr
4.894.904.92T:lexv2
5.135.155.17T:simon128256ctr
6.656.676.72T:panama
7.017.147.29T:tpy6
8.508.558.59T:aes128estream
11.4011.4911.55T:tpy
12.8813.0413.22T:aes256estream
13.2013.2713.39T:tpypy
23.2623.3023.36T:hc128
24.3824.8525.13T:ocelot1
25.5725.8826.28T:ocelot2
36.1237.0237.55T:amastrid
55.1155.1655.21T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.881.911.98T:aes128ctr
1.911.942.00chacha8
2.582.622.75T:speck6496ctr
2.75?2.81?3.47?aes256ctr
2.983.033.05T:speck64128ctr
3.053.083.11salsa208
3.393.443.59T:speck128192ctr
3.423.453.55T:speck128128ctr
3.643.693.80T:speck128256ctr
3.833.863.89chacha12
4.004.034.06salsa2012
5.505.555.58chacha20
6.056.116.20salsa20
7.087.207.36T:simon6496ctr
7.567.707.81T:rabbit
7.787.847.94T:snow20
7.978.028.09T:simon64128ctr
8.708.728.81T:aes192ctr
10.2510.2510.36tango642
10.3110.3810.42T:cryptmtv3
11.5011.5611.67T:simon128128ctr
11.5511.5911.70xsalsa20
11.6211.6911.75T:trivium
11.6611.7211.78T:lexv2
11.8411.9212.06T:aes128estream
13.0013.1113.25T:simon128256ctr
17.1717.1717.17T:sosemanuk
17.1417.3617.80T:nlsv2
18.3118.6118.94T:aes256estream
42.0042.3342.72T:tpy6
43.5043.7343.78T:panama
78.3679.5581.53T:ocelot1
80.3081.1483.31T:ocelot2
84.9286.1287.20T:tpy
88.0988.7789.47T:tpypy
115.56117.05118.09T:amastrid
198.19198.48198.95T:hc128
479.62480.08480.30T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
15.5015.8816.38chacha8
16.0016.3816.88T:aes128ctr
16.3816.3816.38T:speck6496ctr
17.1217.1217.50T:speck64128ctr
18.7518.8819.00T:speck128192ctr
21.1221.1221.25T:speck128128ctr
22.1222.3822.38T:speck128256ctr
23.00?24.00?28.12?aes256ctr
38.3839.0039.25salsa208
39.0039.0039.88salsa2012
38.7539.7540.50chacha12
43.3843.3843.50T:simon6496ctr
44.7545.2545.75chacha20
47.5047.5047.50T:rabbit
49.7549.7549.75T:simon64128ctr
51.1251.7552.62T:aes128estream
61.2562.1263.25T:snow20
65.8866.0066.62T:aes192ctr
66.8867.1267.50T:cryptmtv3
68.8869.3870.50T:lexv2
70.0070.3870.75salsa20
72.2572.2572.62T:simon128128ctr
75.2576.5078.25T:aes256estream
78.2578.6279.00tango642
82.0082.0082.62T:simon128256ctr
82.0083.0083.25T:nlsv2
83.0083.3883.88T:trivium
114.12114.50115.25xsalsa20
137.50137.50137.50T:sosemanuk
323.88327.00331.75T:tpy6
341.50343.88346.00T:panama
510.00521.75537.62T:ocelot1
520.75526.88537.75T:ocelot2
665.38671.38676.88T:tpy
679.38683.75686.25T:tpypy
792.25801.00815.25T:amastrid
1584.881588.121593.00T:hc128
3844.623850.253852.12T:hc256