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; Bulldozer (600f20); 2012 AMD FX-8350; 4 x 4000MHz; saber214, 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
1.001.011.02T:aes128ctr
1.081.101.12chacha8
1.251.281.29aes256ctr
1.27?1.39?1.50?T:aes192ctr
1.381.391.39salsa208
1.441.451.48chacha12
1.471.491.51tango642
1.981.992.00salsa2012
2.072.112.15T:speck128128ctr
2.162.162.17T:speck128192ctr
2.192.212.21chacha20
2.232.242.24T:speck128256ctr
2.632.642.65T:speck6496ctr
2.742.742.74T:speck64128ctr
2.872.912.92T:hc128
3.053.113.16T:tpy
3.113.123.19xsalsa20
3.143.153.16salsa20
3.223.313.37T:tpy6
3.663.663.66T:trivium
3.693.753.76T:simon6496ctr
3.873.903.91T:simon64128ctr
4.044.064.08T:cryptmtv3
4.194.244.25T:nlsv2
4.224.264.31T:panama
4.334.434.70T:sosemanuk
4.454.504.54T:hc256
4.664.694.71T:snow20
4.724.764.82T:tpypy
5.295.395.46T:rabbit
6.016.026.04T:lexv2
6.066.076.12T:simon128128ctr
6.356.376.39T:simon128256ctr
11.3011.3511.38T:aes128estream
21.0121.0521.09T:aes256estream
28.7629.4130.29T:ocelot1
31.7231.8232.21T:ocelot2
48.4849.4651.59T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.061.071.07T:aes128ctr
1.121.121.13chacha8
1.341.351.36aes256ctr
1.421.421.42salsa208
1.481.491.50chacha12
1.721.731.74tango642
1.871.941.97T:aes192ctr
2.022.022.03salsa2012
2.222.232.23chacha20
2.202.232.23T:speck128128ctr
2.242.242.25T:speck128192ctr
2.342.342.34T:speck128256ctr
2.702.712.71T:speck6496ctr
2.802.802.80T:speck64128ctr
3.193.203.21salsa20
3.333.333.37xsalsa20
3.843.843.84T:trivium
4.044.074.08T:simon6496ctr
4.114.164.19T:tpy6
4.244.264.26T:simon64128ctr
4.434.464.47T:nlsv2
4.694.744.93T:sosemanuk
4.814.814.83T:cryptmtv3
4.834.854.85T:snow20
5.135.175.20T:tpy
5.575.595.62T:rabbit
5.645.675.70T:panama
6.206.216.22T:lexv2
6.486.496.50T:simon128128ctr
6.846.866.89T:tpypy
6.906.916.92T:simon128256ctr
8.018.028.03T:hc128
11.4011.4211.43T:aes128estream
17.8517.8717.89T:hc256
21.1821.2121.22T:aes256estream
30.7331.0331.68T:ocelot1
33.5333.5833.80T:ocelot2
50.7551.4953.01T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.131.131.16chacha8
1.151.161.17T:aes128ctr
1.461.481.48aes256ctr
1.491.491.51salsa208
1.501.501.50chacha12
2.082.082.10salsa2012
2.112.122.15tango642
2.232.232.27chacha20
2.342.352.43T:speck128128ctr
2.372.372.38T:speck128192ctr
2.452.502.51T:speck128256ctr
2.782.792.81T:speck6496ctr
2.892.892.91T:speck64128ctr
2.902.913.08T:aes192ctr
3.273.293.30salsa20
3.653.673.67xsalsa20
4.144.144.14T:trivium
4.594.604.64T:simon6496ctr
4.854.864.87T:simon64128ctr
4.874.904.91T:nlsv2
5.055.075.08T:snow20
5.315.335.54T:sosemanuk
5.305.435.64T:tpy6
5.885.966.04T:rabbit
6.516.526.55T:lexv2
6.856.856.87T:cryptmtv3
7.107.127.22T:simon128128ctr
7.727.857.89T:simon128256ctr
7.967.998.01T:panama
8.388.468.57T:tpy
10.1610.2710.33T:tpypy
11.5211.5411.55T:aes128estream
16.5316.5316.58T:hc128
21.4721.4921.53T:aes256estream
33.3933.7134.16T:ocelot1
36.4236.5936.69T:ocelot2
40.1240.1740.50T:hc256
52.2154.2454.89T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.381.381.38chacha8
1.431.431.50T:aes128ctr
1.781.791.82aes256ctr
1.851.901.96chacha12
1.971.972.03salsa208
2.722.722.78salsa2012
2.792.812.85T:speck128128ctr
2.812.852.91T:speck128192ctr
2.832.943.03chacha20
3.073.083.12T:speck128256ctr
3.103.103.18T:speck6496ctr
3.113.153.26tango642
3.263.263.33T:speck64128ctr
4.214.214.26salsa20
4.944.944.95T:trivium
4.835.035.14T:aes192ctr
5.265.265.32xsalsa20
5.735.765.79T:snow20
6.016.106.13T:nlsv2
6.766.786.83T:rabbit
6.967.017.10T:simon6496ctr
7.067.067.23T:sosemanuk
7.377.427.44T:lexv2
7.497.547.65T:simon64128ctr
7.807.897.91T:cryptmtv3
8.528.568.58T:simon128256ctr
8.888.949.39T:tpy6
10.6910.8710.98T:simon128128ctr
11.9311.9512.11T:aes128estream
14.1014.2714.27T:panama
17.3917.6117.94T:tpy
19.2519.4420.09T:tpypy
22.1122.1822.28T:aes256estream
39.2939.3839.44T:hc128
41.4141.5141.86T:ocelot1
44.1144.6244.65T:ocelot2
62.0664.0565.22T:amastrid
99.6599.7399.74T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
4.05?4.06?5.27?chacha8
4.92?4.94?5.50?T:aes128ctr
5.385.395.41chacha12
5.91?5.92?6.86?aes256ctr
6.426.446.44salsa208
6.25?6.55?6.95?T:speck6496ctr
7.027.027.03T:speck64128ctr
7.697.738.02T:speck128128ctr
7.61?7.94?8.55?T:speck128192ctr
8.31?8.31?9.56?chacha20
8.388.388.88salsa2012
9.129.129.14T:speck128256ctr
12.3012.3112.80salsa20
12.7712.9113.16T:simon6496ctr
13.7513.9514.23T:simon64128ctr
14.8014.8915.27T:snow20
15.1615.1715.17T:trivium
16.3116.6617.20tango642
17.1117.2517.98T:rabbit
17.1117.8018.05T:aes128estream
18.0618.1719.22T:lexv2
21.0921.3121.64T:cryptmtv3
21.3321.6922.80T:simon128128ctr
21.8421.8422.31xsalsa20
22.3822.6223.16T:nlsv2
22.6623.0223.86T:simon128256ctr
26.3026.4126.92T:sosemanuk
30.1130.3930.50T:aes256estream
33.3034.3335.11T:aes192ctr
56.3656.9459.80T:tpy6
92.8494.4594.91T:panama
131.73132.34134.58T:tpy
133.86136.42140.59T:tpypy
138.19138.20140.44T:ocelot1
145.80146.23146.25T:ocelot2
175.89176.23178.30T:amastrid
331.59331.78332.66T:hc128
860.62861.05862.22T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
32.1232.7534.88T:speck6496ctr
33.3833.5035.75T:speck64128ctr
37.5037.7537.88T:aes128ctr
36.6238.6239.88chacha8
41.8842.7543.50T:speck128192ctr
46.2546.7547.75T:speck128256ctr
46.3846.8847.00aes256ctr
48.00?48.38?60.38?chacha12
53.1255.6256.75T:speck128128ctr
71.75?71.88?82.88?chacha20
77.0078.5080.62T:aes128estream
86.6289.3892.00T:simon6496ctr
90.7590.7591.50T:trivium
88.2592.8894.25salsa208
94.12?95.62?106.00?T:simon64128ctr
104.00104.12104.62salsa20
110.00110.12112.38salsa2012
110.75111.75114.88T:rabbit
109.12112.38113.50T:lexv2
117.00118.00126.88T:aes256estream
119.38119.88121.88T:snow20
122.25125.12126.62T:nlsv2
123.00125.25131.12tango642
147.12148.88149.75T:cryptmtv3
150.12150.88159.12T:simon128128ctr
159.25160.62161.50T:simon128256ctr
180.38180.38183.00xsalsa20
211.38212.25214.75T:sosemanuk
266.25273.88286.12T:aes192ctr
426.62430.62431.00T:tpy6
726.88744.38746.12T:panama
903.62907.25914.25T:ocelot1
953.00954.25965.50T:ocelot2
1035.881039.381075.50T:tpypy
1066.621078.881087.62T:tpy
1182.621186.121208.12T:amastrid
2645.002651.002663.12T:hc128
6887.006892.506901.25T:hc256