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-20260330

[Page version: 20260418 07:16:21]

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 (or StQ1 starting with supercop-20260214), the median of many speed measurements (or StQ2 starting with supercop-20260214), the third quartile of many speed measurements (or StQ3 starting with supercop-20260214), and the name of the primitive. Measurements with large interquartile range (or stabilized interquartile range) 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
1.221.231.24tango642
1.461.461.46chacha8
1.901.911.92chacha12
1.941.962.01salsa208
2.322.362.39T:sosemanuk
2.472.502.56T:hc128
2.602.602.61T:speck6496ctr
2.622.642.66salsa2012
2.712.712.71T:speck64128ctr
2.802.802.81T:trivium
2.832.832.84chacha20
3.183.203.23T:cryptmtv3
3.293.333.43T:tpy
3.503.603.85T:tpy6
3.633.643.64T:speck128128ctr
3.763.763.76T:speck128192ctr
3.703.763.84T:hc256
3.773.803.87T:nlsv2
3.833.833.84T:speck128256ctr
3.973.994.00xsalsa20
3.974.004.02salsa20
4.004.014.02T:snow20
4.154.164.23T:panama
4.484.494.51T:rabbit
5.205.455.59T:tpypy
5.535.545.55T:simon6496ctr
5.735.735.73T:simon64128ctr
5.785.795.79T:lexv2
8.628.638.67T:simon128128ctr
9.109.129.13T:simon128256ctr
10.5610.5710.60T:aes128estream
11.9611.9912.04T:aes128ctr
14.7314.7614.80T:aes192ctr
17.1817.1917.20T:aes256estream
17.3817.4917.53T:aes256ctr
26.5527.4828.00T:ocelot1
28.0828.5729.25T:ocelot2
41.20?45.38?47.83?T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.471.481.49tango642
1.481.481.48chacha8
1.931.931.94chacha12
1.981.992.02salsa208
2.642.642.65T:speck6496ctr
2.662.672.68salsa2012
2.752.752.76T:speck64128ctr
2.862.862.86chacha20
2.942.942.94T:trivium
3.133.143.15T:sosemanuk
3.673.683.69T:cryptmtv3
3.693.693.70T:speck128128ctr
3.813.813.81T:speck128192ctr
3.883.893.89T:speck128256ctr
4.004.024.03salsa20
4.044.064.11T:nlsv2
4.124.134.13xsalsa20
4.134.134.14T:snow20
4.364.434.60T:tpy6
4.654.664.67T:rabbit
4.924.934.96T:tpy
5.555.565.56T:panama
5.785.795.79T:simon6496ctr
5.975.975.98T:lexv2
6.066.066.06T:simon64128ctr
6.876.997.06T:tpypy
7.227.247.27T:hc128
8.999.009.03T:simon128128ctr
10.6010.6010.61T:simon128256ctr
10.6610.6710.67T:aes128estream
12.7912.8012.82T:aes128ctr
15.4415.4515.47T:aes192ctr
15.6915.7115.74T:hc256
17.3017.3017.31T:aes256estream
18.2118.2218.23T:aes256ctr
28.1428.7729.11T:ocelot1
30.3730.6530.92T:ocelot2
43.8946.8448.28T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.521.521.52chacha8
1.871.871.89tango642
1.971.971.99chacha12
2.012.022.04salsa208
2.712.712.71T:speck6496ctr
2.722.742.74salsa2012
2.822.822.83T:speck64128ctr
2.902.912.91chacha20
3.183.183.18T:trivium
3.783.793.79T:speck128128ctr
3.893.893.90T:speck128192ctr
3.973.973.98T:speck128256ctr
4.044.044.06salsa20
4.334.344.41xsalsa20
4.344.364.38T:snow20
4.504.544.57T:sosemanuk
4.754.764.77T:nlsv2
4.814.844.85T:cryptmtv3
4.914.944.96T:rabbit
5.615.875.91T:tpy6
6.196.206.21T:simon6496ctr
6.276.286.28T:lexv2
6.616.616.62T:simon64128ctr
7.617.657.72T:tpy
7.777.807.89T:panama
9.409.459.56T:tpypy
9.609.609.61T:simon128128ctr
10.7810.7810.82T:aes128estream
13.0713.0713.11T:simon128256ctr
13.9514.0014.09T:aes128ctr
15.1015.1315.17T:hc128
16.5516.5916.76T:aes192ctr
17.4717.4817.50T:aes256estream
19.4819.5519.61T:aes256ctr
30.0630.5030.91T:ocelot1
34.1234.5634.83T:ocelot2
35.6135.6935.73T:hc256
49.4350.1950.67T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.731.731.73chacha8
2.202.242.27salsa208
2.242.252.27chacha12
2.942.942.95T:speck6496ctr
2.942.973.04salsa2012
3.023.033.04tango642
3.063.063.06T:speck64128ctr
3.303.313.32chacha20
3.743.773.77T:trivium
4.064.084.09T:speck128128ctr
4.154.164.16T:speck128192ctr
4.264.274.27T:speck128256ctr
4.404.414.42salsa20
4.894.924.94T:snow20
5.195.215.26xsalsa20
5.605.615.64T:cryptmtv3
5.625.645.69T:rabbit
6.286.306.34T:nlsv2
7.097.107.13T:lexv2
7.998.008.04T:simon6496ctr
8.098.178.21T:sosemanuk
8.879.379.46T:tpy6
9.589.609.76T:simon64128ctr
11.0811.1011.11T:aes128estream
13.6713.8213.92T:panama
14.3714.4714.55T:tpy
16.5916.6216.66T:tpypy
17.0517.2117.30T:aes128ctr
17.9518.0018.05T:aes256estream
19.7219.7719.89T:aes192ctr
19.8219.8419.85T:simon128128ctr
22.5922.6322.77T:aes256ctr
26.3726.4626.52T:simon128256ctr
36.1236.1436.19T:hc128
37.3537.5937.95T:ocelot1
43.3443.7644.12T:ocelot2
56.9057.4761.91T:amastrid
88.8588.9489.01T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.283.283.28chacha8
4.064.064.06salsa208
4.304.354.59chacha12
5.205.205.28salsa2012
5.525.555.57T:speck6496ctr
6.056.056.05T:speck64128ctr
6.306.366.38chacha20
7.287.287.30T:speck128192ctr
7.397.397.39salsa20
7.527.527.59T:speck128256ctr
7.597.617.75T:speck128128ctr
11.1511.2111.43T:trivium
12.0912.1212.29T:snow20
12.5512.6512.77T:simon6496ctr
13.2813.3413.50T:simon64128ctr
14.4514.4814.61xsalsa20
14.8314.9415.00T:cryptmtv3
14.9514.9514.96T:rabbit
15.2815.3015.32T:aes128estream
16.5616.5916.67T:lexv2
17.7917.8117.97tango642
20.6220.6220.62T:simon128128ctr
21.9521.9521.99T:simon128256ctr
24.4024.4224.50T:aes256estream
32.4132.5632.91T:nlsv2
47.1647.5347.98T:sosemanuk
49.1850.5653.57T:tpy6
57.6758.8059.55T:aes128ctr
59.5160.3761.37T:aes192ctr
64.0164.6265.39T:aes256ctr
87.9688.1089.48T:panama
102.31102.86103.79T:tpy
107.65108.40108.97T:tpypy
125.83128.21131.74T:ocelot1
153.63158.60162.24T:ocelot2
160.49161.89170.86T:amastrid
304.77304.91305.14T:hc128
770.39770.75771.43T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
22.6424.1524.26T:speck6496ctr
28.2528.2528.25T:speck128192ctr
30.7531.5632.85T:speck64128ctr
31.7531.7531.75chacha8
32.6934.0235.09T:speck128128ctr
37.6238.5440.44chacha12
41.3841.3841.38T:speck128256ctr
54.0054.0056.62chacha20
56.5057.6558.20salsa208
57.6259.0359.46salsa2012
71.6973.1474.35T:trivium
72.4375.7278.90T:simon6496ctr
76.5076.5078.06T:simon64128ctr
76.6276.7377.58T:aes128estream
78.2578.2578.25salsa20
91.9493.2993.46T:cryptmtv3
94.5094.5595.42T:rabbit
93.8894.9595.38T:aes256estream
97.6297.6297.78T:lexv2
96.4898.0799.21T:snow20
112.75112.75113.98T:simon128128ctr
125.12125.12126.45T:simon128256ctr
134.75134.88136.81tango642
136.45137.93138.32xsalsa20
150.00150.80152.06T:nlsv2
375.49378.67382.25T:sosemanuk
393.25401.11409.01T:aes128ctr
396.53401.18411.55T:aes192ctr
409.73411.85417.43T:aes256ctr
392.98413.34416.06T:tpy6
689.44689.69690.67T:panama
791.92808.48833.84T:tpy
817.21823.85866.56T:tpypy
821.29832.41846.05T:ocelot1
1076.811101.911162.60T:amastrid
1011.90?1117.82?1142.60?T:ocelot2
2435.972439.602443.77T:hc128
6139.626151.606165.85T:hc256