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; Core 2 65nm (6fb); 2007 Intel Core 2 Duo T7300; 2 x 2000MHz; trident, 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: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
1.181.191.28tango642
1.701.701.70chacha8
1.951.991.99salsa208
2.272.272.27chacha12
2.462.502.55T:hc128
2.632.662.67salsa2012
2.802.802.81T:trivium
3.363.363.37chacha20
3.283.393.44T:tpy
3.413.423.42T:speck6496ctr
3.543.553.55T:speck64128ctr
3.703.723.75T:cryptmtv3
3.653.743.79T:hc256
3.813.823.88T:nlsv2
3.793.863.92T:tpy6
3.593.863.92T:sosemanuk
3.994.014.03xsalsa20
4.004.014.02T:snow20
3.974.024.03salsa20
4.124.154.19T:panama
4.464.514.54T:rabbit
4.724.724.72T:speck128128ctr
4.864.864.86T:speck128192ctr
5.005.005.02T:speck128256ctr
5.005.235.34T:tpypy
5.815.815.81T:lexv2
6.216.226.23T:simon6496ctr
6.386.416.44T:simon64128ctr
9.719.729.73T:simon128128ctr
10.2110.2110.22T:simon128256ctr
10.5610.6110.61T:aes128estream
17.1717.1917.21T:aes256estream
22.4422.5122.60T:aes128ctr
24.9525.0525.18T:aes192ctr
26.0226.9428.08T:ocelot1
27.8128.1628.51T:aes256ctr
28.2228.6529.47T:ocelot2
40.25?43.18?45.62?T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.461.461.52tango642
1.731.731.73chacha8
1.992.012.01salsa208
2.302.302.30chacha12
2.672.692.69salsa2012
2.932.942.94T:trivium
3.393.393.40chacha20
3.463.463.46T:speck6496ctr
3.603.603.60T:speck64128ctr
4.034.054.05salsa20
4.074.094.13T:nlsv2
4.144.154.15T:snow20
4.144.164.16xsalsa20
4.024.224.22T:sosemanuk
4.324.324.35T:cryptmtv3
4.644.664.66T:tpy6
4.654.684.69T:rabbit
4.784.794.79T:speck128128ctr
4.924.924.92T:speck128192ctr
4.914.964.98T:tpy
5.065.075.08T:speck128256ctr
5.575.585.59T:panama
5.995.995.99T:lexv2
6.526.526.53T:simon6496ctr
6.876.886.89T:simon64128ctr
6.856.936.94T:tpypy
7.207.227.26T:hc128
10.0910.0910.10T:simon128128ctr
10.6710.6810.68T:aes128estream
11.7211.7211.72T:simon128256ctr
15.6615.7215.76T:hc256
17.3117.3117.32T:aes256estream
22.9823.0223.06T:aes128ctr
25.5325.5725.66T:aes192ctr
27.7928.4229.20T:ocelot1
28.3428.5628.80T:aes256ctr
30.6030.8531.31T:ocelot2
43.7845.4946.96T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.781.781.78chacha8
1.891.901.93tango642
2.042.072.07salsa208
2.342.342.35chacha12
2.732.732.76salsa2012
3.183.183.19T:trivium
3.443.443.44chacha20
3.523.543.55T:speck6496ctr
3.683.683.68T:speck64128ctr
4.084.104.10salsa20
4.374.374.38T:snow20
4.384.394.41xsalsa20
4.724.744.84T:nlsv2
4.904.904.90T:speck128128ctr
4.794.904.95T:sosemanuk
4.944.964.99T:rabbit
5.015.015.02T:speck128192ctr
5.175.175.17T:speck128256ctr
5.685.695.75T:cryptmtv3
5.825.835.97T:tpy6
6.316.316.32T:lexv2
7.017.027.05T:simon6496ctr
7.467.487.58T:tpy
7.647.667.69T:simon64128ctr
7.817.897.94T:panama
9.489.4810.04T:tpypy
10.7110.7110.72T:simon128128ctr
10.7910.8310.85T:aes128estream
14.2314.2314.25T:simon128256ctr
15.0615.0915.13T:hc128
17.4917.5417.57T:aes256estream
23.8023.8423.89T:aes128ctr
26.4126.4826.54T:aes192ctr
28.9929.0729.20T:aes256ctr
30.4330.5830.76T:ocelot1
33.6834.3335.15T:ocelot2
35.6335.6435.80T:hc256
47.9549.6550.83T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
2.032.042.04chacha8
2.282.282.29salsa208
2.682.682.68chacha12
3.003.023.02salsa2012
3.053.073.11tango642
3.763.783.78T:trivium
3.833.843.85T:speck6496ctr
3.963.963.98T:speck64128ctr
3.963.963.96chacha20
4.494.504.51salsa20
4.964.974.99T:snow20
5.255.255.25T:speck128128ctr
5.245.255.26xsalsa20
5.345.345.34T:speck128192ctr
5.525.525.52T:speck128256ctr
5.675.685.75T:rabbit
6.276.276.27T:nlsv2
6.706.716.84T:cryptmtv3
6.636.766.85T:sosemanuk
7.167.177.20T:lexv2
9.259.269.35T:simon6496ctr
9.319.519.52T:tpy6
11.1311.1311.13T:aes128estream
13.6813.9014.04T:panama
14.2714.4214.82T:tpy
16.7316.8516.94T:tpypy
18.0318.0418.10T:aes256estream
18.5618.5618.61T:simon64128ctr
20.5720.5920.62T:simon128128ctr
26.0426.1326.35T:aes128ctr
27.8027.8027.84T:simon128256ctr
28.7428.8128.88T:aes192ctr
31.1031.2031.36T:aes256ctr
36.0536.0736.13T:hc128
37.1437.7938.82T:ocelot1
41.6643.4344.14T:ocelot2
54.16?60.72?61.82?T:amastrid
88.8088.9089.20T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
4.304.314.33chacha8
4.524.524.52salsa208
5.725.725.72chacha12
5.725.725.72salsa2012
7.257.257.25T:speck6496ctr
7.237.317.31T:speck64128ctr
7.817.818.02salsa20
8.318.318.31chacha20
9.069.069.20T:speck128192ctr
9.259.259.30T:speck128128ctr
9.599.599.59T:speck128256ctr
11.3811.4811.50T:trivium
12.4112.5812.64T:snow20
14.9715.0215.02xsalsa20
15.0815.0815.08T:rabbit
15.6115.6115.61T:aes128estream
16.0316.0316.03T:simon6496ctr
16.9417.0017.91T:cryptmtv3
17.1417.1617.92T:lexv2
17.5917.5917.59T:simon64128ctr
18.1118.1718.27tango642
24.1924.1924.73T:simon128128ctr
24.7824.7824.78T:simon128256ctr
24.8424.9425.11T:aes256estream
26.8827.2227.38T:sosemanuk
31.9731.9832.05T:nlsv2
49.5253.9254.55T:tpy6
54.1454.5555.12T:aes128ctr
59.0359.3159.66T:aes256ctr
58.8359.7360.36T:aes192ctr
88.6189.0890.75T:panama
100.39103.09103.28T:tpy
107.25108.16111.77T:tpypy
124.91126.53128.61T:ocelot1
147.39?148.92?169.95?T:ocelot2
162.73163.19164.52T:amastrid
303.73303.92304.22T:hc128
768.50768.50772.36T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
27.6227.6227.62T:speck6496ctr
28.0028.0028.00T:speck64128ctr
32.1232.1232.12T:speck128256ctr
32.1232.1232.62T:speck128192ctr
32.3834.5034.50T:speck128128ctr
37.7537.7537.75chacha8
48.5048.5048.50chacha12
54.7554.7558.88salsa208
63.5063.5063.88salsa2012
69.6269.6269.62chacha20
72.0072.3873.62T:trivium
80.1280.1280.12T:simon6496ctr
80.6280.6281.25T:aes128estream
82.1282.1282.50salsa20
87.8887.8887.88T:simon64128ctr
98.3899.25107.88T:snow20
99.1299.62108.12T:cryptmtv3
98.88100.38100.88T:aes256estream
101.50101.50101.50T:lexv2
107.88108.25109.00T:rabbit
128.88128.88133.25T:simon128128ctr
135.00135.00135.00T:simon128256ctr
137.75138.38138.88tango642
140.88141.38141.38xsalsa20
151.62151.62152.38T:nlsv2
215.00218.50219.00T:sosemanuk
302.38303.75305.12T:aes128ctr
319.88323.88328.62T:aes256ctr
328.88331.38335.38T:aes192ctr
372.88407.50411.12T:tpy6
696.62701.88711.50T:panama
801.75805.00826.25T:tpy
830.62838.50857.75T:ocelot1
845.00?850.50?946.00?T:tpypy
1006.881012.381110.50T:ocelot2
1073.381081.881086.88T:amastrid
2431.252431.502433.12T:hc128
6149.256154.126176.62T:hc256