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; Skylake (506e3); 2015 Intel Xeon E3-1220 v5; 4 x 3000MHz; samba, supercop-20240625

[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: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.23?0.54?1.74?chacha8
0.590.600.60salsa208
0.620.630.63T:aes128ctr
0.740.750.75chacha12
0.780.790.81tango642
0.790.810.82T:aes192ctr
0.840.850.86salsa2012
0.870.880.88aes256ctr
1.001.001.01T:speck6496ctr
1.031.041.05T:speck64128ctr
1.13?1.17?1.33?chacha20
1.231.231.24T:speck128128ctr
1.251.261.26T:speck128192ctr
1.291.301.31T:speck128256ctr
1.331.331.34salsa20
1.331.341.36xsalsa20
1.441.441.45T:simon6496ctr
1.491.501.50T:simon64128ctr
1.611.631.66T:hc128
1.851.851.86T:sosemanuk
1.921.931.93T:trivium
1.921.972.04T:tpy
2.222.242.25T:simon128128ctr
2.392.432.46T:simon128256ctr
2.422.452.50T:hc256
2.372.452.55T:tpy6
2.512.552.57T:cryptmtv3
2.552.582.60T:nlsv2
2.702.722.74T:rabbit
2.772.802.82T:snow20
2.872.902.92T:panama
3.383.463.53T:tpypy
4.094.114.12T:lexv2
8.348.358.37T:aes128estream
13.1013.1413.17T:aes256estream
18.1718.2518.36T:ocelot1
18.4918.7118.78T:ocelot2
32.1532.7433.26T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.56?0.56?1.46?chacha8
0.620.620.62salsa208
0.680.680.68T:aes128ctr
0.760.770.77chacha12
0.870.870.87salsa2012
0.940.940.94aes256ctr
0.940.950.96tango642
1.041.041.04T:speck6496ctr
1.071.081.08T:speck64128ctr
1.131.141.15T:aes192ctr
1.191.201.31chacha20
1.281.281.28T:speck128128ctr
1.301.301.30T:speck128192ctr
1.351.351.35T:speck128256ctr
1.351.361.36salsa20
1.451.461.47xsalsa20
1.651.651.65T:simon6496ctr
1.831.831.83T:simon64128ctr
2.022.032.03T:trivium
2.332.342.34T:sosemanuk
2.502.502.51T:simon128128ctr
2.692.702.72T:nlsv2
2.812.822.83T:rabbit
2.842.862.88T:simon128256ctr
2.882.902.91T:snow20
2.983.023.07T:tpy6
3.033.043.05T:cryptmtv3
3.363.373.40T:tpy
3.833.853.85T:panama
4.234.244.25T:lexv2
4.644.654.65T:hc128
4.734.794.83T:tpypy
8.418.428.43T:aes128estream
10.1810.1910.21T:hc256
13.2113.2313.25T:aes256estream
19.2719.3119.38T:ocelot1
19.5619.7019.74T:ocelot2
33.8434.2534.44T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.59?0.60?1.49?chacha8
0.650.660.66salsa208
0.770.770.78T:aes128ctr
0.800.810.82chacha12
0.910.910.92salsa2012
1.051.051.06aes256ctr
1.101.101.11T:speck6496ctr
1.141.141.15T:speck64128ctr
1.201.211.23tango642
1.221.231.34chacha20
1.351.351.36T:speck128128ctr
1.371.381.38T:speck128192ctr
1.391.391.40salsa20
1.421.431.44T:speck128256ctr
1.651.661.67xsalsa20
1.721.741.75T:aes192ctr
1.981.981.99T:simon6496ctr
2.192.202.20T:trivium
2.372.382.39T:simon64128ctr
2.932.932.95T:simon128128ctr
2.942.952.97T:nlsv2
2.982.993.00T:rabbit
3.053.063.08T:snow20
3.193.193.20T:sosemanuk
3.573.583.60T:simon128256ctr
3.843.893.92T:tpy6
4.394.404.46T:cryptmtv3
4.464.484.50T:lexv2
5.405.425.44T:panama
5.645.705.73T:tpy
7.057.107.11T:tpypy
8.508.518.54T:aes128estream
9.729.739.74T:hc128
13.3813.3913.41T:aes256estream
21.0121.0821.15T:ocelot1
21.2821.3721.42T:ocelot2
23.0623.1223.14T:hc256
35.1736.1836.60T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.83?0.84?1.60?chacha8
0.920.930.94salsa208
1.081.081.09T:aes128ctr
1.131.141.15chacha12
1.271.271.28salsa2012
1.341.351.35T:speck6496ctr
1.381.391.40T:speck64128ctr
1.441.441.44aes256ctr
1.631.641.65T:speck128128ctr
1.681.681.69T:speck128192ctr
1.691.711.81chacha20
1.731.741.78T:speck128256ctr
1.901.921.95tango642
1.941.951.97salsa20
2.622.632.65T:trivium
2.632.652.68xsalsa20
3.173.283.35T:aes192ctr
3.343.343.35T:simon64128ctr
3.423.443.45T:rabbit
3.483.513.54T:snow20
3.533.543.56T:simon6496ctr
3.653.673.69T:nlsv2
4.814.824.98T:cryptmtv3
4.864.874.89T:simon128128ctr
5.095.115.15T:lexv2
5.245.265.27T:simon128256ctr
5.455.475.49T:sosemanuk
6.506.636.73T:tpy6
8.848.868.90T:aes128estream
9.529.639.76T:panama
11.7211.8011.91T:tpy
12.9713.0513.10T:tpypy
13.7713.8113.85T:aes256estream
22.9023.0023.03T:hc128
25.6125.7625.85T:ocelot1
25.9025.9726.10T:ocelot2
41.3142.0042.28T:amastrid
57.3057.4557.57T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.313.333.34chacha8
3.803.803.81T:speck6496ctr
3.803.833.84salsa208
3.883.944.00T:speck64128ctr
4.234.274.28chacha12
4.484.564.58T:speck128128ctr
4.734.754.77T:aes128ctr
4.734.784.86T:speck128192ctr
4.834.864.91salsa2012
4.985.095.27T:speck128256ctr
5.975.986.00aes256ctr
6.066.126.14chacha20
6.987.027.08salsa20
8.228.258.34T:trivium
8.278.318.41T:simon6496ctr
8.708.778.91T:rabbit
9.059.199.45T:snow20
9.489.539.64T:simon64128ctr
10.66?10.72?12.16?T:cryptmtv3
10.7510.9111.30tango642
12.3812.4512.62T:simon128128ctr
12.6612.7312.80T:aes128estream
12.7012.8413.33T:lexv2
13.2513.3313.41xsalsa20
13.9113.9513.98T:simon128256ctr
14.3914.5214.58T:nlsv2
18.8918.9819.33T:aes256estream
22.6722.7522.92T:aes192ctr
31.1931.2731.44T:sosemanuk
40.8640.9741.17T:tpy6
61.9262.2262.86T:panama
83.8484.7785.78T:ocelot2
84.0084.7886.70T:ocelot1
88.6490.2390.77T:tpy
90.8491.3391.73T:tpypy
118.47119.23119.91T:amastrid
191.92192.03192.25T:hc128
494.77495.14495.39T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
20.6221.0021.50T:speck6496ctr
21.1221.6222.00T:speck64128ctr
24.8825.2525.88T:speck128128ctr
26.3827.0027.50T:speck128192ctr
26.88?28.00?30.12?T:speck128256ctr
36.3836.8837.00T:aes128ctr
38.2539.0039.25chacha8
42.2542.8845.50salsa2012
43.3843.7544.62salsa208
46.2546.3846.75aes256ctr
50.3850.7551.38chacha12
53.0053.2554.12T:trivium
53.1253.5054.00T:simon6496ctr
53.7554.0054.75T:rabbit
59.1259.6260.12T:aes128estream
59.7560.2560.88salsa20
62.2562.8863.25T:simon64128ctr
65.00?65.50?77.62?T:cryptmtv3
66.5067.0067.50chacha20
71.7573.5075.00T:snow20
73.0073.5074.00T:aes256estream
76.8877.3878.25T:lexv2
77.3877.6278.12T:simon128128ctr
79.7580.7582.12T:nlsv2
82.2583.6286.25tango642
88.8889.1289.50T:simon128256ctr
109.38109.75110.88xsalsa20
182.75183.88185.62T:aes192ctr
249.38250.00251.12T:sosemanuk
306.38308.75314.25T:tpy6
489.12491.62495.25T:panama
539.00543.75559.62T:ocelot2
542.75547.62568.25T:ocelot1
693.00699.50704.38T:tpy
701.12702.38703.38T:tpypy
783.75784.75791.62T:amastrid
1535.251536.251537.75T:hc128
3965.253968.503982.50T:hc256