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; Coffee Lake (906ea); 2018 Intel Xeon E-2124; 4 x 3300MHz; r24000, supercop-20240107

[Page version: 20240719 07:49:00]

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.


Implementation notes

Graphs: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.37?0.54?1.21?chacha8
0.590.600.61salsa208
0.630.630.63T:aes128ctr
0.700.710.73tango642
0.740.740.75chacha12
0.750.750.76T:aes192ctr
0.840.850.85salsa2012
0.870.880.90aes256ctr
1.001.001.00T:speck6496ctr
1.051.051.06T:speck64128ctr
1.161.171.18chacha20
1.231.231.24T:speck128128ctr
1.251.251.25T:speck128192ctr
1.281.291.29T:speck128256ctr
1.321.341.35salsa20
1.331.341.35xsalsa20
1.461.471.48T:simon6496ctr
1.511.511.52T:simon64128ctr
1.711.721.74T:hc128
1.931.941.95T:trivium
2.182.202.22T:simon128128ctr
2.262.292.31T:hc256
2.342.352.36T:simon128256ctr
2.442.462.47T:sosemanuk
2.472.492.50T:nlsv2
2.492.542.57T:tpy
2.672.682.70T:cryptmtv3
2.722.782.84T:tpy6
2.832.852.87T:snow20
2.842.852.85T:rabbit
2.772.852.89T:panama
4.014.094.17T:tpypy
4.114.124.14T:lexv2
8.328.358.37T:aes128estream
12.7612.7812.80T:aes256estream
16.8816.9316.99T:ocelot1
17.6017.6617.72T:ocelot2
31.4432.3932.66T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.56?0.56?1.06?chacha8
0.620.620.63salsa208
0.680.680.69T:aes128ctr
0.770.770.77chacha12
0.860.870.87salsa2012
0.870.870.88tango642
0.890.890.90T:aes192ctr
0.940.940.96aes256ctr
1.031.041.04T:speck6496ctr
1.091.091.09T:speck64128ctr
1.191.191.20chacha20
1.281.281.28T:speck128128ctr
1.291.291.29T:speck128192ctr
1.331.331.33T:speck128256ctr
1.351.361.36salsa20
1.451.461.46xsalsa20
1.641.651.66T:simon6496ctr
1.791.791.79T:simon64128ctr
2.042.052.05T:trivium
2.452.452.46T:simon128128ctr
2.622.632.63T:nlsv2
2.712.712.72T:sosemanuk
2.782.792.79T:simon128256ctr
2.922.922.93T:snow20
2.942.952.95T:rabbit
3.143.153.16T:cryptmtv3
3.403.423.45T:tpy6
3.753.803.82T:panama
3.973.994.00T:tpy
4.254.254.26T:lexv2
4.584.594.60T:hc128
5.365.415.46T:tpypy
8.418.428.43T:aes128estream
9.759.769.77T:hc256
12.8812.8912.90T:aes256estream
18.2718.2918.32T:ocelot1
19.0119.0419.08T:ocelot2
33.2133.8133.95T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.59?0.60?1.10?chacha8
0.650.660.67salsa208
0.780.780.78T:aes128ctr
0.800.810.81chacha12
0.900.900.91salsa2012
1.061.061.07aes256ctr
1.091.101.10T:speck6496ctr
1.121.131.14T:aes192ctr
1.131.141.16tango642
1.141.141.15T:speck64128ctr
1.231.231.24chacha20
1.351.351.35T:speck128128ctr
1.361.371.37T:speck128192ctr
1.391.391.40salsa20
1.401.401.41T:speck128256ctr
1.651.651.66xsalsa20
1.941.951.95T:simon6496ctr
2.222.222.23T:trivium
2.242.252.26T:simon64128ctr
2.862.882.90T:simon128128ctr
2.932.952.97T:nlsv2
3.013.033.05T:snow20
3.103.103.11T:rabbit
3.173.183.19T:sosemanuk
3.513.523.54T:simon128256ctr
4.364.374.38T:cryptmtv3
4.404.454.48T:tpy6
4.484.494.50T:lexv2
5.345.395.43T:panama
6.366.406.42T:tpy
7.687.737.78T:tpypy
8.508.528.53T:aes128estream
9.319.339.35T:hc128
13.0613.0813.09T:aes256estream
20.6520.7120.75T:ocelot1
21.3921.5421.62T:ocelot2
22.2022.2122.24T:hc256
35.9336.0036.15T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.82?0.83?1.27?chacha8
0.940.950.97salsa208
1.091.091.10T:aes128ctr
1.111.121.13chacha12
1.261.271.29salsa2012
1.341.351.35T:speck6496ctr
1.391.401.41T:speck64128ctr
1.441.451.47aes256ctr
1.621.621.63T:speck128128ctr
1.651.651.66T:speck128192ctr
1.701.711.72T:speck128256ctr
1.701.721.73chacha20
1.751.771.79T:aes192ctr
1.841.861.91tango642
1.931.951.97salsa20
2.612.642.66xsalsa20
2.682.692.70T:trivium
3.403.403.44T:simon6496ctr
3.433.433.44T:simon64128ctr
3.433.453.49T:snow20
3.533.533.56T:rabbit
3.763.823.86T:nlsv2
4.494.524.54T:sosemanuk
4.844.854.86T:cryptmtv3
5.065.095.13T:lexv2
5.085.105.11T:simon128128ctr
5.485.495.51T:simon128256ctr
7.197.307.40T:tpy6
8.808.838.85T:aes128estream
9.549.609.80T:panama
12.8312.9313.00T:tpy
13.5013.5413.66T:tpypy
13.5613.6013.64T:aes256estream
22.1222.1622.19T:hc128
26.6026.8327.10T:ocelot1
27.2227.5527.76T:ocelot2
42.3042.4442.66T:amastrid
55.3555.4155.48T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.283.303.31chacha8
3.753.783.80salsa208
4.124.124.25T:speck64128ctr
4.094.144.19T:speck6496ctr
4.164.204.22chacha12
4.484.524.56T:speck128128ctr
4.724.814.86T:speck128192ctr
4.834.834.86T:aes128ctr
4.844.884.92salsa2012
4.975.005.06T:speck128256ctr
6.006.026.05aes256ctr
6.036.096.14chacha20
6.987.007.06salsa20
7.978.038.08T:simon6496ctr
8.388.428.48T:trivium
8.388.428.55T:snow20
8.708.788.94T:rabbit
8.868.888.91T:simon64128ctr
10.1210.2510.33T:aes192ctr
10.3310.3910.44T:cryptmtv3
10.7810.8410.94tango642
12.6212.6212.73T:simon128128ctr
12.5912.7212.97T:lexv2
12.6412.7312.78T:aes128estream
13.2013.3613.41xsalsa20
14.2014.3014.55T:simon128256ctr
16.8617.8118.14T:nlsv2
19.8619.9720.12T:sosemanuk
20.3120.4420.72T:aes256estream
43.9544.1744.41T:tpy6
62.2362.5062.83T:panama
89.6189.7289.91T:tpypy
93.6694.1495.56T:tpy
105.20105.98108.64T:ocelot1
106.77107.31107.84T:ocelot2
118.81119.20119.83T:amastrid
184.78185.17185.56T:hc128
478.75479.00479.47T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
22.5022.7523.75T:speck6496ctr
24.7525.5026.00T:speck128128ctr
26.6227.2527.50T:speck128192ctr
28.8829.0029.12T:speck64128ctr
33.7534.1235.12salsa208
37.6237.7537.88T:aes128ctr
39.5039.6239.75T:speck128256ctr
41.1241.3841.62chacha8
42.6242.8843.62salsa2012
43.5043.6244.62chacha12
47.0047.2547.38aes256ctr
51.0051.6251.88T:simon6496ctr
54.1254.3854.88T:trivium
53.7554.5057.38T:rabbit
56.6257.7558.50T:simon64128ctr
58.7559.5059.88T:aes128estream
60.1260.7561.50T:cryptmtv3
60.6261.1262.25salsa20
66.2567.3868.88T:snow20
69.0069.6270.50chacha20
77.7578.1278.88T:simon128128ctr
79.6280.2580.88T:lexv2
79.2580.3883.50T:aes192ctr
82.1283.0085.00tango642
86.0087.2588.38T:aes256estream
89.6290.0090.88T:simon128256ctr
89.0090.2592.00T:nlsv2
110.75111.75113.88xsalsa20
158.50159.12160.38T:sosemanuk
331.62332.75335.25T:tpy6
493.62496.00499.38T:panama
690.00692.00693.38T:tpypy
725.62732.38736.75T:ocelot2
706.88735.25746.88T:ocelot1
743.12745.50757.62T:tpy
780.50784.38789.62T:amastrid
1476.751478.121480.12T:hc128
3825.123829.383833.00T:hc256