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; Comet Lake (806ec); 2019 Intel Core i3-10110U; 2 x 2100MHz; cubi10, supercop-20240909

[Page version: 20240920 17:02:44]

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.540.540.55chacha8
0.600.600.61salsa208
0.620.630.63T:aes128ctr
0.670.680.68tango642
0.740.750.76T:aes192ctr
0.750.760.77chacha12
0.840.840.85salsa2012
0.870.880.88aes256ctr
1.001.001.01T:speck6496ctr
1.031.041.05T:speck64128ctr
1.191.201.20chacha20
1.211.221.23T:speck128128ctr
1.251.261.26T:speck128192ctr
1.291.291.30T:speck128256ctr
1.321.331.35salsa20
1.26?1.34?1.62?xsalsa20
1.441.451.46T:simon6496ctr
1.501.511.54T:simon64128ctr
1.541.561.58T:hc128
1.931.931.94T:trivium
2.182.212.37T:hc256
2.222.242.28T:simon128128ctr
2.322.332.34T:simon128256ctr
2.452.482.49T:sosemanuk
2.522.542.56T:nlsv2
2.512.542.56T:cryptmtv3
2.572.712.77T:tpy
2.722.732.76T:rabbit
2.802.812.82T:snow20
2.852.912.96T:tpy6
2.892.922.94T:panama
4.064.094.11T:lexv2
4.214.254.30T:tpypy
8.338.368.38T:aes128estream
12.7712.8012.82T:aes256estream
16.8216.9016.94T:ocelot1
17.9017.9818.04T:ocelot2
30.9331.2431.38T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.560.560.57chacha8
0.620.620.63salsa208
0.680.680.69T:aes128ctr
0.780.780.79chacha12
0.840.840.84tango642
0.860.860.87salsa2012
0.900.900.90T:aes192ctr
0.940.940.95aes256ctr
1.041.041.04T:speck6496ctr
1.081.081.09T:speck64128ctr
1.211.211.22chacha20
1.271.271.28T:speck128128ctr
1.301.301.30T:speck128192ctr
1.331.331.34T:speck128256ctr
1.351.361.36salsa20
1.45?1.46?1.66?xsalsa20
1.641.651.65T:simon6496ctr
1.791.791.81T:simon64128ctr
2.032.032.03T:trivium
2.482.492.52T:simon128128ctr
2.652.662.68T:nlsv2
2.732.732.74T:sosemanuk
2.782.782.78T:simon128256ctr
2.832.842.85T:rabbit
2.912.912.92T:snow20
3.013.033.04T:cryptmtv3
3.483.523.54T:tpy6
3.863.873.88T:panama
3.994.064.09T:tpy
4.214.224.23T:lexv2
4.574.584.59T:hc128
5.535.555.58T:tpypy
8.418.428.43T:aes128estream
9.399.409.41T:hc256
12.8712.8912.90T:aes256estream
18.2718.3118.32T:ocelot1
19.3419.3819.40T:ocelot2
32.2632.2932.35T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.600.600.60chacha8
0.650.660.66salsa208
0.770.770.78T:aes128ctr
0.820.820.83chacha12
0.900.900.91salsa2012
1.051.061.07aes256ctr
1.101.101.11T:speck6496ctr
1.111.111.12tango642
1.131.141.15T:speck64128ctr
1.141.151.16T:aes192ctr
1.241.241.25chacha20
1.361.361.36T:speck128128ctr
1.371.371.38T:speck128192ctr
1.391.391.40salsa20
1.411.411.42T:speck128256ctr
1.64?1.65?1.87?xsalsa20
1.951.971.99T:simon6496ctr
2.202.202.21T:trivium
2.252.262.28T:simon64128ctr
2.892.922.93T:simon128128ctr
2.932.942.95T:nlsv2
3.003.003.01T:rabbit
3.083.083.10T:snow20
3.193.203.22T:sosemanuk
3.513.523.53T:simon128256ctr
4.334.364.40T:cryptmtv3
4.434.454.48T:lexv2
4.464.504.59T:tpy6
5.435.465.49T:panama
6.286.356.49T:tpy
7.767.847.93T:tpypy
8.518.538.55T:aes128estream
9.579.599.61T:hc128
13.0113.0213.05T:aes256estream
20.5920.6420.67T:ocelot1
21.3821.3921.42T:hc256
21.6621.7121.75T:ocelot2
33.6233.7234.60T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.830.840.85chacha8
0.920.940.95salsa208
1.081.091.09T:aes128ctr
1.131.151.16chacha12
1.271.281.29salsa2012
1.351.361.36T:speck6496ctr
1.401.401.41T:speck64128ctr
1.441.441.44aes256ctr
1.651.661.67T:speck128192ctr
1.681.691.69T:speck128128ctr
1.701.701.72T:speck128256ctr
1.691.711.72chacha20
1.751.771.81T:aes192ctr
1.821.831.84tango642
1.941.961.97salsa20
2.632.632.65T:trivium
2.622.642.80xsalsa20
3.393.403.42T:simon6496ctr
3.393.413.49T:simon64128ctr
3.433.453.48T:rabbit
3.503.533.55T:snow20
3.703.753.77T:nlsv2
4.524.534.55T:sosemanuk
4.784.804.92T:cryptmtv3
5.035.055.09T:simon128128ctr
5.065.085.10T:lexv2
5.425.445.46T:simon128256ctr
7.227.347.45T:tpy6
8.818.858.86T:aes128estream
9.629.699.78T:panama
12.3112.4412.50T:tpy
13.3713.4013.43T:aes256estream
13.6313.7213.81T:tpypy
22.9823.0023.04T:hc128
26.7426.9127.14T:ocelot1
27.7827.9828.07T:ocelot2
40.1140.2840.59T:amastrid
53.1853.2253.28T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.313.333.36chacha8
3.813.863.88salsa208
4.094.194.27T:speck6496ctr
4.224.254.27chacha12
4.174.314.44T:speck64128ctr
4.724.754.77T:aes128ctr
4.814.884.95T:speck128192ctr
4.884.945.00T:speck128256ctr
4.894.944.97salsa2012
5.385.395.41T:speck128128ctr
5.785.805.89chacha20
5.945.955.97aes256ctr
6.957.027.11salsa20
8.118.208.33T:simon6496ctr
8.228.258.36T:trivium
8.588.618.73T:rabbit
8.979.129.20T:simon64128ctr
9.209.279.39T:snow20
10.25?10.59?11.66?T:cryptmtv3
10.4410.5910.73T:aes192ctr
11.0911.1411.19tango642
12.6212.7212.86T:aes128estream
12.7212.8312.88T:simon128128ctr
12.7312.9113.12T:lexv2
13.0913.2213.30xsalsa20
14.2714.3914.48T:simon128256ctr
16.3316.4416.61T:nlsv2
18.3918.4718.61T:aes256estream
19.7719.9420.09T:sosemanuk
40.8141.1742.47T:tpy6
62.4762.7363.17T:panama
89.6289.9790.28T:tpypy
89.5890.1290.61T:tpy
106.28106.69108.89T:ocelot1
107.31108.23109.77T:ocelot2
112.39115.34116.03T:amastrid
192.28193.27193.62T:hc128
459.72460.05460.27T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
22.5023.3824.62T:speck6496ctr
26.6227.1229.00T:speck128192ctr
27.0027.1227.75T:speck128128ctr
29.0029.0029.12T:speck64128ctr
36.5036.7537.50T:aes128ctr
39.1239.3839.88salsa208
39.1239.6239.75T:speck128256ctr
41.1241.3841.50chacha8
43.5046.0047.25chacha12
46.1246.5046.88aes256ctr
47.2547.5047.88chacha20
51.0051.5052.00T:simon6496ctr
51.0051.6252.50salsa2012
52.5052.7553.75T:trivium
52.5053.0053.50T:rabbit
57.7558.0058.25T:simon64128ctr
58.7559.1259.62T:aes128estream
59.75?62.62?72.50?T:cryptmtv3
67.1267.6268.50salsa20
71.6272.5072.88T:aes256estream
72.0073.1274.50T:snow20
76.7577.8879.75T:lexv2
77.0079.1282.50T:aes192ctr
79.0079.3880.00T:simon128128ctr
81.3882.0082.88T:nlsv2
83.6284.0084.75tango642
90.5091.1291.88T:simon128256ctr
115.25115.88116.62xsalsa20
156.12157.38159.50T:sosemanuk
303.50313.00314.88T:tpy6
489.75491.50495.38T:panama
684.25688.50700.88T:tpypy
695.12698.88708.00T:tpy
730.62743.62764.12T:ocelot1
740.62746.25771.50T:amastrid
738.38746.75758.00T:ocelot2
1545.751547.621551.38T:hc128
3677.503680.753687.12T:hc256