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 45nm (1067a); 2009 Intel Core 2 Duo E7600; 2 x 3060MHz; wolfdale, supercop-20240716

[Page version: 20240726 23:46: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
1.211.231.29tango642
1.451.461.48chacha8
1.911.911.91chacha12
1.941.972.00salsa208
2.352.362.38T:sosemanuk
2.462.502.55T:hc128
2.612.622.62T:speck6496ctr
2.632.652.67salsa2012
2.732.732.73T:speck64128ctr
2.802.802.80T:trivium
2.822.882.91chacha20
3.153.193.19T:cryptmtv3
3.233.333.44T:tpy
3.343.463.56T:tpy6
3.633.633.63T:speck128128ctr
3.653.693.77T:hc256
3.763.763.76T:speck128192ctr
3.633.783.95T:nlsv2
3.833.833.83T:speck128256ctr
3.943.953.96T:snow20
3.973.994.04xsalsa20
3.984.024.03salsa20
4.114.154.29T:panama
4.474.504.52T:rabbit
5.11?5.39?5.73?T:tpypy
5.535.545.56T:simon6496ctr
5.725.735.74T:simon64128ctr
5.795.805.82T:lexv2
8.628.638.64T:simon128128ctr
9.119.129.13T:simon128256ctr
10.6010.6010.62T:aes128estream
12.0012.0712.10T:aes128ctr
14.6514.7514.78T:aes192ctr
17.1717.1917.20T:aes256estream
17.4017.4917.51T:aes256ctr
24.6424.9926.07T:ocelot1
28.6629.0529.24T:ocelot2
42.8843.9144.64T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.471.481.53tango642
1.481.491.50chacha8
1.931.931.93chacha12
1.971.992.01salsa208
2.662.662.66T:speck6496ctr
2.662.682.69salsa2012
2.772.772.77T:speck64128ctr
2.862.912.92chacha20
2.932.932.93T:trivium
3.153.163.17T:sosemanuk
3.673.683.69T:cryptmtv3
3.693.693.69T:speck128128ctr
3.813.813.81T:speck128192ctr
3.893.893.89T:speck128256ctr
4.014.044.04salsa20
4.054.054.17T:nlsv2
4.094.094.10T:snow20
4.124.134.16xsalsa20
4.254.294.34T:tpy6
4.644.664.67T:rabbit
4.894.944.96T:tpy
5.535.555.58T:panama
5.795.795.80T:simon6496ctr
5.985.985.99T:lexv2
6.066.076.07T:simon64128ctr
6.776.937.15T:tpypy
7.217.247.27T:hc128
9.009.009.00T:simon128128ctr
10.6710.6710.68T:aes128estream
10.6810.6810.68T:simon128256ctr
12.7612.7712.78T:aes128ctr
15.4015.4315.45T:aes192ctr
15.6815.7115.75T:hc256
17.2917.3017.30T:aes256estream
18.1418.1818.19T:aes256ctr
27.0027.2627.78T:ocelot1
30.9531.1631.28T:ocelot2
45.6245.7246.24T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.521.541.56chacha8
1.871.881.94tango642
1.971.971.98chacha12
2.012.032.05salsa208
2.712.712.71salsa2012
2.732.732.73T:speck6496ctr
2.842.842.84T:speck64128ctr
2.912.912.94chacha20
3.163.183.19T:trivium
3.793.793.79T:speck128128ctr
3.903.903.90T:speck128192ctr
3.983.994.00T:speck128256ctr
4.054.054.06salsa20
4.324.324.34T:snow20
4.374.384.39xsalsa20
4.554.594.61T:sosemanuk
4.724.765.07T:nlsv2
4.814.834.87T:cryptmtv3
4.914.924.94T:rabbit
5.605.685.77T:tpy6
6.206.216.22T:simon6496ctr
6.286.296.29T:lexv2
6.626.626.63T:simon64128ctr
7.467.507.58T:tpy
7.707.837.85T:panama
9.299.5210.08T:tpypy
9.619.629.62T:simon128128ctr
10.7710.7810.85T:aes128estream
13.2713.2713.31T:simon128256ctr
13.8914.0614.12T:aes128ctr
15.0815.1315.15T:hc128
16.5116.6116.72T:aes192ctr
17.4717.5017.54T:aes256estream
19.2619.3019.46T:aes256ctr
30.6131.0231.40T:ocelot1
33.8134.2034.76T:ocelot2
35.5435.6435.72T:hc256
47.3548.3849.56T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.721.741.76chacha8
2.202.222.24salsa208
2.232.232.23chacha12
2.952.962.99T:speck6496ctr
2.992.993.00salsa2012
3.043.053.06tango642
3.073.073.07T:speck64128ctr
3.283.293.34chacha20
3.703.713.73T:trivium
4.084.084.09T:speck128128ctr
4.164.164.16T:speck128192ctr
4.274.294.30T:speck128256ctr
4.404.444.48salsa20
5.005.025.03T:snow20
5.195.215.23xsalsa20
5.615.625.67T:rabbit
5.665.725.76T:cryptmtv3
6.24?6.28?7.20?T:nlsv2
7.097.117.12T:lexv2
8.058.108.14T:simon6496ctr
8.268.288.35T:sosemanuk
9.109.209.57T:tpy6
9.609.619.62T:simon64128ctr
11.0711.1411.32T:aes128estream
13.5113.8014.02T:panama
14.1014.4214.64T:tpy
16.26?16.32?18.40?T:tpypy
16.9917.0417.17T:aes128ctr
17.9517.9718.14T:aes256estream
19.5519.6919.90T:aes192ctr
20.0420.0920.16T:simon128128ctr
22.3522.4822.51T:aes256ctr
26.7026.7426.75T:simon128256ctr
36.1636.1836.23T:hc128
39.1339.9640.82T:ocelot1
42.1744.5344.72T:ocelot2
53.6456.8657.76T:amastrid
88.7589.0089.10T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.313.363.36chacha8
4.164.174.30salsa208
4.364.364.36chacha12
5.205.205.20salsa2012
5.755.805.89T:speck6496ctr
5.775.985.98T:speck64128ctr
6.426.426.42chacha20
7.397.397.41T:speck128192ctr
7.477.477.69salsa20
7.777.787.78T:speck128128ctr
7.807.807.84T:speck128256ctr
10.9710.9711.03T:trivium
12.7212.8312.89T:simon6496ctr
13.2313.3113.75T:snow20
13.5213.5213.53T:simon64128ctr
14.5014.5914.66xsalsa20
14.8414.8414.88T:rabbit
15.2315.2715.38T:aes128estream
15.1715.6916.41T:cryptmtv3
16.6917.3917.58T:lexv2
17.8917.9718.16tango642
20.6420.7820.81T:simon128128ctr
21.9221.9722.31T:simon128256ctr
24.5324.7725.27T:aes256estream
31.70?31.78?39.84?T:nlsv2
48.0548.2248.48T:sosemanuk
56.2757.0059.47T:tpy6
56.7357.0357.12T:aes128ctr
57.9558.2558.39T:aes192ctr
62.2263.0063.61T:aes256ctr
88.5888.7589.94T:panama
102.69106.22109.89T:tpy
107.23?119.55?120.33?T:tpypy
161.14161.41172.36T:amastrid
153.48162.17167.09T:ocelot2
161.08165.97167.11T:ocelot1
304.88304.91305.12T:hc128
768.91770.58771.17T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
24.7524.7524.75T:speck6496ctr
29.0029.0029.00T:speck128192ctr
30.7531.6231.88chacha8
31.7531.7531.75T:speck64128ctr
32.6232.7532.88T:speck128128ctr
39.5039.5039.50chacha12
42.1242.1243.50T:speck128256ctr
57.1257.1257.12chacha20
57.1257.1257.12salsa2012
57.2557.2557.88salsa208
68.3868.3870.50T:trivium
73.1274.5074.62T:simon6496ctr
76.5076.5076.50T:simon64128ctr
77.1277.1277.25T:aes128estream
78.8878.8879.38salsa20
95.2595.2595.25T:rabbit
94.5095.3896.50T:aes256estream
93.62?99.38?105.38?T:cryptmtv3
102.00102.75104.25T:snow20
100.12104.50105.62T:lexv2
116.12116.12117.12T:simon128128ctr
125.50125.50127.12T:simon128256ctr
135.38135.88136.75xsalsa20
135.50136.12138.12tango642
148.62?148.88?212.62?T:nlsv2
379.25382.25383.88T:sosemanuk
382.12383.25396.50T:aes192ctr
386.62389.75403.38T:aes128ctr
398.00400.12424.88T:aes256ctr
418.50433.50464.62T:tpy6
692.12698.62707.50T:panama
787.88794.75807.75T:tpy
809.38813.38825.88T:tpypy
1058.881069.251085.62T:amastrid
981.25?1069.88?1128.50?T:ocelot2
1124.501144.751152.50T:ocelot1
2436.622438.252440.00T:hc128
6146.386157.126173.00T:hc256