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; Silvermont (406c4); 2016 Intel Atom x5-Z8350; 4 x 1440MHz; cherry, supercop-20250307

[Page version: 20250419 00:25:54]

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
2.012.022.04tango642
2.342.342.35chacha8
3.093.103.10salsa208
3.333.343.34chacha12
3.523.543.55T:aes128ctr
4.194.194.20T:aes192ctr
4.314.314.32T:cryptmtv3
4.424.424.43salsa2012
4.734.744.75T:hc128
4.824.834.84T:aes256ctr
5.255.255.26chacha20
5.365.375.40T:nlsv2
5.625.625.62T:sosemanuk
5.915.945.97T:tpy6
5.996.146.31T:tpy
6.386.386.38T:trivium
6.616.626.63T:hc256
6.666.676.68T:panama
6.706.706.72aes256ctr
6.836.836.83salsa20
6.836.836.84xsalsa20
6.916.926.92T:rabbit
7.117.127.13T:snow20
8.558.558.56T:lexv2
9.799.829.86T:tpypy
10.0610.0710.07T:speck6496ctr
10.4310.4310.44T:speck64128ctr
14.8214.8314.85T:aes128estream
15.2015.2915.47T:simon64128ctr
16.2616.2616.26T:speck128128ctr
16.7716.7716.77T:speck128192ctr
17.2417.2417.24T:speck128256ctr
17.9617.9718.00T:simon6496ctr
24.0824.1424.14T:simon128128ctr
24.3624.5724.73T:aes256estream
25.4025.5625.99T:simon128256ctr
42.9643.0043.03T:ocelot1
46.3846.4246.52T:ocelot2
85.6785.7689.58T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
2.412.422.42tango642
2.422.422.42chacha8
3.133.133.13salsa208
3.393.393.39chacha12
3.893.903.90T:aes128ctr
4.464.464.47salsa2012
4.544.544.54T:aes192ctr
4.674.674.68T:cryptmtv3
5.205.205.20T:aes256ctr
5.325.325.32chacha20
5.715.715.73T:nlsv2
6.066.066.06T:sosemanuk
6.636.636.63T:trivium
6.766.766.78aes256ctr
6.866.866.86salsa20
7.087.087.09xsalsa20
7.147.147.14T:rabbit
7.207.207.22T:tpy6
7.307.307.31T:snow20
8.588.588.70T:tpy
8.608.608.60T:panama
8.808.808.80T:lexv2
10.1410.1410.15T:speck6496ctr
10.5110.5110.51T:speck64128ctr
12.4012.4112.43T:tpypy
13.1413.1413.14T:hc128
14.9514.9514.95T:aes128estream
16.4016.4016.40T:speck128128ctr
16.3816.4216.47T:simon64128ctr
16.9116.9116.91T:speck128192ctr
17.3917.3917.39T:speck128256ctr
18.5618.5618.58T:simon6496ctr
24.6424.7824.90T:aes256estream
25.1025.1125.12T:simon128128ctr
27.4627.5627.85T:simon128256ctr
29.3829.3829.38T:hc256
45.4745.4745.48T:ocelot1
48.8748.8948.92T:ocelot2
88.2888.3490.33T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
2.492.492.50chacha8
3.043.053.06tango642
3.193.193.20salsa208
3.473.473.48chacha12
4.464.494.51T:aes128ctr
4.524.534.54salsa2012
5.115.115.11T:aes192ctr
5.435.445.44chacha20
5.795.795.79T:aes256ctr
6.136.146.14T:cryptmtv3
6.406.426.46T:nlsv2
6.886.886.88aes256ctr
6.906.906.90T:sosemanuk
6.916.916.92salsa20
7.047.047.04T:trivium
7.507.507.50xsalsa20
7.527.527.52T:rabbit
7.607.607.60T:snow20
9.229.229.22T:lexv2
9.319.329.34T:tpy6
10.2710.2710.27T:speck6496ctr
10.6410.6410.64T:speck64128ctr
11.7811.7811.79T:panama
12.6412.6512.98T:tpy
15.1015.1615.17T:aes128estream
16.6416.6416.64T:speck128128ctr
16.7316.8116.82T:tpypy
17.1417.1417.14T:speck128192ctr
17.6317.6317.63T:speck128256ctr
18.1218.1818.47T:simon64128ctr
19.5019.5519.55T:simon6496ctr
24.9925.2325.26T:aes256estream
26.7626.7626.77T:simon128128ctr
27.1027.1127.13T:hc128
30.7330.8431.06T:simon128256ctr
49.5749.5949.61T:ocelot1
52.9252.9553.14T:ocelot2
67.2767.3067.31T:hc256
89.3692.1992.46T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
2.682.692.72chacha8
3.493.493.50salsa208
3.733.733.75chacha12
4.724.784.78tango642
4.804.824.83salsa2012
5.865.865.87chacha20
5.996.046.09T:aes128ctr
6.526.546.54T:cryptmtv3
6.646.656.66T:aes192ctr
7.057.057.06salsa20
7.397.397.40T:aes256ctr
7.907.937.94aes256ctr
8.158.158.15T:trivium
8.178.228.31T:nlsv2
8.398.408.40T:snow20
8.518.518.51T:rabbit
8.628.648.65xsalsa20
9.149.149.14T:sosemanuk
10.2810.3110.31T:lexv2
10.4110.4110.43T:speck6496ctr
10.8010.8010.80T:speck64128ctr
14.9014.9514.98T:tpy6
15.5815.5815.60T:aes128estream
17.3717.3717.37T:speck128128ctr
17.8817.8817.88T:speck128192ctr
18.3718.3718.37T:speck128256ctr
20.3220.4120.49T:panama
23.3023.4823.67T:simon6496ctr
23.4423.5024.34T:tpy
25.8725.8725.89T:aes256estream
28.1928.2228.54T:tpypy
30.5231.0033.78T:simon64128ctr
39.6139.8940.50T:simon128128ctr
60.3160.5160.51T:ocelot1
63.9763.9764.05T:ocelot2
64.4764.4764.52T:hc128
65.4766.0567.59T:simon128256ctr
104.53104.97106.63T:amastrid
168.35168.38168.47T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.913.914.02chacha8
5.175.175.53chacha12
6.176.196.20salsa208
7.417.477.69salsa2012
7.777.777.77chacha20
8.538.538.53salsa20
12.2012.2012.20T:speck6496ctr
12.6912.6912.69T:speck64128ctr
17.1117.1417.31aes256ctr
18.6218.6218.66T:snow20
20.1920.2020.28T:cryptmtv3
21.0321.0321.03T:rabbit
21.4121.4421.52T:aes128estream
22.1222.1222.12T:trivium
22.6422.6422.66xsalsa20
23.9123.9523.95T:lexv2
25.4125.6726.78T:aes128ctr
25.8025.8025.80T:speck128128ctr
26.1626.2326.33T:aes192ctr
26.3826.3826.38T:speck128192ctr
26.9426.9426.95T:speck128256ctr
26.5527.1127.11tango642
27.5527.5928.72T:aes256ctr
27.9527.9527.95T:simon6496ctr
33.0833.1133.11T:simon64128ctr
33.9133.9134.00T:aes256estream
33.8134.1735.45T:nlsv2
34.3134.3134.31T:sosemanuk
52.6152.6152.61T:simon128128ctr
55.5355.5355.61T:simon128256ctr
86.3486.7587.25T:tpy6
129.19129.25130.25T:panama
162.09162.23170.28T:tpy
175.70176.03176.50T:tpypy
200.25200.52200.83T:ocelot1
204.38205.42205.47T:ocelot2
257.09258.64268.92T:amastrid
542.58542.73542.81T:hc128
1461.671462.161462.41T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
40.5040.5040.50T:speck6496ctr
41.5041.5041.50T:speck64128ctr
41.7541.7542.25chacha8
49.6250.2550.62T:speck128256ctr
51.8852.2552.25chacha12
52.2552.2554.50T:speck128128ctr
51.7553.5053.50T:speck128192ctr
70.8870.8870.88chacha20
80.2580.2580.25salsa20
89.0089.5090.12salsa208
96.1296.1296.75T:aes128estream
101.75102.12102.12salsa2012
102.38102.75102.75T:simon6496ctr
103.25103.25103.38T:simon64128ctr
123.38123.38123.62T:aes256estream
128.88128.88128.88T:rabbit
131.00131.00131.00T:trivium
137.50137.50137.50T:lexv2
139.75139.75139.75T:cryptmtv3
140.25140.62140.62aes256ctr
143.88143.88144.12T:snow20
145.50145.62149.75T:simon128128ctr
150.12151.25153.38T:simon128256ctr
181.75182.12186.38T:aes128ctr
184.75185.00185.38T:aes192ctr
185.38185.88190.12T:nlsv2
194.00194.88197.75T:aes256ctr
195.88195.88195.88xsalsa20
197.00201.50201.50tango642
267.50267.50267.50T:sosemanuk
649.12652.75658.62T:tpy6
1013.001017.251018.88T:panama
1262.881264.381330.12T:tpy
1309.001310.751316.12T:ocelot1
1312.751313.121317.38T:ocelot2
1344.381346.121347.62T:tpypy
1712.381726.121741.38T:amastrid
4332.504336.504336.50T:hc128
11694.3811696.1211697.50T:hc256