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; Broadwell+AES (306d4); 2015 Intel Core i3-5005U; 2 x 1900MHz; shoe, supercop-20240425

[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.51?0.56?0.70?chacha8
0.620.620.63salsa208
0.720.740.74tango642
0.740.740.75T:aes128ctr
0.740.750.76T:aes192ctr
0.750.770.82chacha12
0.880.880.89salsa2012
1.001.001.01aes256ctr
1.031.031.04T:speck6496ctr
1.061.071.07T:speck64128ctr
1.201.201.21chacha20
1.251.261.26T:speck128128ctr
1.301.301.31T:speck128192ctr
1.321.341.38T:speck128256ctr
1.361.381.43salsa20
1.381.381.39xsalsa20
1.501.521.54T:simon6496ctr
1.561.571.59T:simon64128ctr
1.921.921.93T:trivium
1.962.002.08T:hc128
2.312.322.33T:simon128128ctr
2.382.412.44T:hc256
2.382.442.57T:simon128256ctr
2.432.452.45T:cryptmtv3
2.542.562.57T:sosemanuk
2.522.562.68T:nlsv2
2.822.872.91T:rabbit
2.892.953.01T:tpy
2.882.993.05T:tpy6
2.983.013.03T:panama
3.063.083.09T:snow20
4.224.244.25T:lexv2
4.474.554.69T:tpypy
8.788.798.80T:aes128estream
13.1913.2313.27T:aes256estream
17.7217.9018.47T:ocelot1
19.7019.8420.02T:ocelot2
33.2633.5834.10T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.57?0.58?0.68?chacha8
0.640.640.65salsa208
0.790.790.79T:aes128ctr
0.790.800.83chacha12
0.900.900.90salsa2012
0.900.910.91T:aes192ctr
0.910.910.92tango642
1.061.061.06aes256ctr
1.071.071.08T:speck6496ctr
1.111.111.11T:speck64128ctr
1.221.231.23chacha20
1.311.311.31T:speck128128ctr
1.351.351.35T:speck128192ctr
1.391.391.42T:speck128256ctr
1.401.401.44salsa20
1.501.501.50xsalsa20
1.701.711.72T:simon6496ctr
1.861.871.88T:simon64128ctr
2.022.022.02T:trivium
2.572.582.59T:simon128128ctr
2.742.762.83T:nlsv2
2.822.832.83T:sosemanuk
2.872.892.98T:simon128256ctr
2.972.983.01T:rabbit
2.992.993.00T:cryptmtv3
3.163.173.18T:snow20
3.653.703.74T:tpy6
3.963.973.98T:panama
4.374.384.39T:lexv2
4.404.444.46T:tpy
5.405.415.45T:hc128
5.945.976.02T:tpypy
8.858.858.86T:aes128estream
10.3210.3310.34T:hc256
13.2813.3013.32T:aes256estream
19.4519.5119.85T:ocelot1
21.3221.3821.48T:ocelot2
34.7935.0035.37T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.61?0.62?0.73?chacha8
0.680.680.68salsa208
0.830.840.88chacha12
0.870.870.88T:aes128ctr
0.930.930.94salsa2012
1.141.151.15T:speck6496ctr
1.151.151.16aes256ctr
1.171.171.18T:aes192ctr
1.181.181.18T:speck64128ctr
1.201.211.24tango642
1.261.261.27chacha20
1.391.391.39T:speck128128ctr
1.431.431.44T:speck128192ctr
1.431.441.49salsa20
1.471.481.50T:speck128256ctr
1.681.691.70xsalsa20
2.022.032.04T:simon6496ctr
2.192.202.20T:trivium
2.312.332.34T:simon64128ctr
2.982.993.00T:simon128128ctr
3.113.143.18T:nlsv2
3.153.183.24T:rabbit
3.323.333.35T:snow20
3.323.343.36T:sosemanuk
3.613.703.77T:simon128256ctr
4.334.334.34T:cryptmtv3
4.614.624.63T:lexv2
4.824.925.01T:tpy6
5.555.585.60T:panama
6.977.017.03T:tpy
8.238.278.37T:tpypy
8.958.968.97T:aes128estream
11.0311.0611.09T:hc128
13.4013.4313.45T:aes256estream
21.9021.9922.25T:ocelot1
23.5123.5323.55T:hc256
23.9824.0524.14T:ocelot2
37.1637.4437.50T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.87?0.95?1.01?chacha8
0.960.970.97salsa208
1.161.161.19T:aes128ctr
1.191.211.25chacha12
1.311.311.33salsa2012
1.411.411.41T:speck6496ctr
1.441.451.45T:speck64128ctr
1.511.511.52aes256ctr
1.681.701.70T:speck128128ctr
1.741.751.76T:speck128192ctr
1.791.801.81T:speck128256ctr
1.791.801.81chacha20
1.861.871.90T:aes192ctr
1.981.992.02salsa20
1.992.002.07tango642
2.622.632.64T:trivium
2.672.682.70xsalsa20
3.533.533.55T:simon6496ctr
3.623.653.85T:rabbit
3.633.653.69T:simon64128ctr
3.733.753.79T:snow20
3.984.054.12T:nlsv2
4.734.754.79T:sosemanuk
5.055.055.08T:cryptmtv3
5.135.145.15T:simon128128ctr
5.285.315.36T:lexv2
5.515.545.58T:simon128256ctr
8.008.108.40T:tpy6
9.289.329.35T:aes128estream
9.829.859.91T:panama
13.2213.2813.53T:tpy
13.8113.8413.86T:aes256estream
14.6215.0015.12T:tpypy
25.9526.0226.18T:hc128
28.3328.7429.37T:ocelot1
30.2730.6131.05T:ocelot2
42.4743.2943.47T:amastrid
58.6458.6858.79T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.59?3.61?4.00?chacha8
3.893.943.97salsa208
4.194.224.23T:speck6496ctr
4.284.284.31T:speck64128ctr
4.484.504.52T:aes128ctr
4.644.694.98chacha12
4.974.985.09T:speck128128ctr
5.025.055.08salsa2012
5.055.095.22T:speck128192ctr
5.205.275.34T:speck128256ctr
5.485.505.53aes256ctr
6.676.706.72chacha20
7.037.067.14salsa20
8.308.338.36T:trivium
8.738.778.83T:simon6496ctr
8.929.039.16T:snow20
9.149.259.36T:rabbit
9.699.709.77T:simon64128ctr
10.6110.7310.91T:aes192ctr
12.1412.2212.33tango642
12.3412.5612.73T:cryptmtv3
12.9213.0613.31T:simon128128ctr
13.1613.2313.36xsalsa20
13.4213.4713.55T:aes128estream
13.5213.5913.67T:lexv2
14.6914.7314.98T:simon128256ctr
16.4716.5816.73T:nlsv2
19.0319.0819.25T:aes256estream
20.6720.8421.00T:sosemanuk
49.0250.3652.30T:tpy6
64.0264.3465.02T:panama
94.4295.2098.56T:tpy
96.1497.0097.44T:tpypy
112.91114.03116.09T:ocelot1
115.12117.86120.06T:ocelot2
120.92121.61122.58T:amastrid
210.92211.27211.70T:hc128
507.91508.61509.03T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
20.6221.1221.62T:speck6496ctr
21.3821.6221.75T:speck64128ctr
23.6224.2524.62T:speck128192ctr
24.7525.0025.12T:speck128128ctr
24.7525.2525.50T:speck128256ctr
34.8835.0035.25T:aes128ctr
36.12?38.12?43.12?chacha8
43.1243.3843.38aes256ctr
44.6245.1245.62salsa208
50.7550.7552.88T:simon6496ctr
51.2552.0054.75chacha12
52.8853.0053.25T:trivium
52.7553.3853.75salsa2012
56.2557.6257.88T:rabbit
56.8858.3859.00T:simon64128ctr
63.5064.0064.50T:aes128estream
70.7571.2572.12chacha20
71.7572.7573.25T:snow20
76.0076.0076.25T:aes256estream
78.0078.3878.88salsa20
76.5078.6279.75T:cryptmtv3
77.6278.7579.62T:simon128128ctr
82.5083.3884.50T:aes192ctr
82.5083.3885.25T:lexv2
90.5092.5093.38T:simon128256ctr
91.3892.6295.00T:nlsv2
93.2595.0095.50tango642
126.12128.00129.88xsalsa20
165.88166.62168.00T:sosemanuk
370.25375.62393.38T:tpy6
501.12502.62508.38T:panama
747.88754.88769.12T:tpypy
768.25774.62783.50T:tpy
778.25787.88805.88T:ocelot2
797.88800.50811.88T:amastrid
777.12801.88814.88T:ocelot1
1685.751691.501694.75T:hc128
4069.754074.754081.50T:hc256