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; Bulldozer (600f20); 2012 AMD FX-8350; 4 x 4000MHz; saber214, supercop-20240625

[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.001.011.05T:aes128ctr
0.89?1.10?1.33?chacha8
1.261.261.28aes256ctr
1.371.381.40salsa208
1.20?1.39?1.48?T:aes192ctr
1.471.481.52chacha12
1.491.501.51tango642
1.981.992.02salsa2012
2.072.112.12T:speck128128ctr
2.182.182.18T:speck128192ctr
2.182.212.21chacha20
2.262.272.27T:speck128256ctr
2.652.672.68T:speck6496ctr
2.742.742.75T:speck64128ctr
2.862.882.91T:hc128
3.033.073.13T:tpy
3.163.163.18salsa20
3.173.173.18xsalsa20
3.273.343.47T:tpy6
3.663.663.66T:trivium
3.703.763.78T:simon6496ctr
3.863.873.88T:cryptmtv3
3.863.883.89T:simon64128ctr
4.214.264.44T:nlsv2
4.264.304.35T:panama
4.334.474.62T:sosemanuk
4.444.484.54T:hc256
4.574.694.82T:snow20
4.824.874.90T:tpypy
5.305.415.46T:rabbit
6.006.036.06T:lexv2
6.036.086.09T:simon128128ctr
6.326.356.38T:simon128256ctr
11.2511.3211.36T:aes128estream
21.0021.0621.15T:aes256estream
28.5029.2229.31T:ocelot1
31.7731.8732.02T:ocelot2
46.2748.8350.71T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.071.071.09T:aes128ctr
1.12?1.14?1.29?chacha8
1.341.341.34aes256ctr
1.421.421.43salsa208
1.491.501.53chacha12
1.731.731.74tango642
1.891.921.97T:aes192ctr
2.042.042.05salsa2012
2.202.202.20T:speck128128ctr
2.222.232.23chacha20
2.252.262.26T:speck128192ctr
2.342.342.35T:speck128256ctr
2.722.732.73T:speck6496ctr
2.802.802.81T:speck64128ctr
3.203.213.22salsa20
3.363.363.36xsalsa20
3.843.843.84T:trivium
4.064.094.09T:simon6496ctr
4.104.134.18T:tpy6
4.254.254.25T:simon64128ctr
4.454.484.61T:nlsv2
4.664.754.86T:sosemanuk
4.774.784.78T:cryptmtv3
4.834.854.94T:snow20
5.095.115.15T:tpy
5.545.605.62T:rabbit
5.685.705.73T:panama
6.196.206.22T:lexv2
6.476.516.51T:simon128128ctr
6.876.886.89T:tpypy
6.906.926.93T:simon128256ctr
8.018.028.02T:hc128
11.4011.4211.43T:aes128estream
17.8617.8817.92T:hc256
21.1821.2221.25T:aes256estream
30.8730.8930.95T:ocelot1
33.6133.6733.76T:ocelot2
49.7550.9652.35T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.13?1.13?1.60?chacha8
1.151.171.18T:aes128ctr
1.461.471.47aes256ctr
1.491.491.49salsa208
1.501.501.54chacha12
2.112.122.12salsa2012
2.112.122.14tango642
2.232.232.23chacha20
2.342.342.42T:speck128128ctr
2.372.372.38T:speck128192ctr
2.462.462.46T:speck128256ctr
2.742.763.01T:aes192ctr
2.822.822.82T:speck6496ctr
2.902.902.91T:speck64128ctr
3.273.283.29salsa20
3.673.673.68xsalsa20
4.144.144.14T:trivium
4.604.624.65T:simon6496ctr
4.844.854.87T:simon64128ctr
4.904.905.01T:nlsv2
5.055.105.36T:snow20
5.275.295.42T:sosemanuk
5.505.635.67T:tpy6
5.865.885.97T:rabbit
6.546.566.57T:lexv2
7.077.087.08T:cryptmtv3
7.177.207.24T:simon128128ctr
7.797.857.92T:simon128256ctr
7.978.008.02T:panama
8.438.518.51T:tpy
10.1710.2210.29T:tpypy
11.5611.5711.64T:aes128estream
16.5016.5516.55T:hc128
21.3421.4321.49T:aes256estream
33.6433.6933.87T:ocelot1
36.4536.7036.76T:ocelot2
40.1840.1840.68T:hc256
54.0455.1556.00T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.431.431.50T:aes128ctr
1.38?1.49?1.54?chacha8
1.801.811.87aes256ctr
1.871.951.95chacha12
1.971.982.08salsa208
2.722.732.77salsa2012
2.802.822.86T:speck128128ctr
2.822.842.93T:speck128192ctr
2.832.882.97chacha20
2.932.942.98T:speck128256ctr
3.133.133.19T:speck6496ctr
3.123.173.23tango642
3.263.263.27T:speck64128ctr
4.214.214.33salsa20
4.944.944.97T:trivium
4.985.025.07T:aes192ctr
5.245.245.25xsalsa20
5.805.906.13T:snow20
6.016.056.07T:nlsv2
6.796.856.85T:rabbit
6.967.047.09T:simon6496ctr
7.047.087.29T:sosemanuk
7.357.467.54T:lexv2
7.477.477.52T:simon64128ctr
8.258.308.34T:cryptmtv3
8.498.518.54T:simon128256ctr
8.929.219.45T:tpy6
10.8010.8110.86T:simon128128ctr
11.8411.9712.12T:aes128estream
14.2614.3314.41T:panama
17.7317.7518.30T:tpy
19.1119.2219.36T:tpypy
21.8421.9622.02T:aes256estream
39.2939.4339.46T:hc128
41.2141.3441.42T:ocelot1
44.3444.4144.85T:ocelot2
63.8564.2365.19T:amastrid
99.5199.7099.83T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
4.05?4.05?5.23?chacha8
4.81?4.91?5.48?T:aes128ctr
5.50?5.52?6.72?chacha12
5.925.945.94aes256ctr
6.446.446.59salsa208
6.426.456.47T:speck6496ctr
7.027.027.02T:speck64128ctr
7.627.627.88T:speck128192ctr
7.697.758.12T:speck128128ctr
7.867.867.88T:speck128256ctr
8.31?8.31?9.55?chacha20
8.348.368.36salsa2012
12.2712.4412.78salsa20
12.8413.0913.53T:simon6496ctr
13.8013.8314.20T:simon64128ctr
14.6215.1615.17T:trivium
15.2315.4815.62T:snow20
16.0916.1216.42tango642
17.4117.4117.42T:rabbit
17.4218.0918.55T:aes128estream
18.1618.8919.19T:lexv2
20.3020.4521.42T:cryptmtv3
21.4821.4821.80xsalsa20
21.5221.6221.95T:simon128128ctr
22.5522.8823.25T:nlsv2
22.6623.0223.05T:simon128256ctr
26.6726.8827.00T:sosemanuk
30.1930.7231.14T:aes256estream
33.8634.2835.36T:aes192ctr
55.0956.2558.44T:tpy6
92.4794.0594.38T:panama
132.48133.20143.88T:tpy
137.88138.34139.11T:ocelot1
134.81139.11139.66T:tpypy
146.27146.47146.88T:ocelot2
177.16178.72182.80T:amastrid
331.00331.62331.64T:hc128
860.70861.22861.25T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
31.88?32.50?37.38?T:speck6496ctr
33.3833.5036.00T:speck64128ctr
36.62?36.75?47.88?chacha8
37.6237.6237.75T:aes128ctr
47.0047.1247.25aes256ctr
45.1247.2549.00T:speck128192ctr
48.1248.5051.62T:speck128256ctr
48.38?51.88?60.62?chacha12
53.1253.8856.75T:speck128128ctr
66.1270.2571.25salsa2012
71.75?71.88?83.00?chacha20
78.2581.1284.25T:aes128estream
88.2590.6292.88salsa208
91.3891.5091.50T:trivium
86.5091.7595.25T:simon6496ctr
94.12?94.12?105.25?T:simon64128ctr
110.75112.88116.88T:rabbit
110.75116.00117.25T:lexv2
119.00122.38125.62T:snow20
119.50123.38126.62T:aes256estream
123.50123.62125.88T:nlsv2
123.38126.12131.12tango642
144.00147.50153.75T:cryptmtv3
151.62152.62157.00T:simon128128ctr
156.75156.88163.38salsa20
160.38160.62161.75T:simon128256ctr
211.62212.50212.62T:sosemanuk
234.38237.25241.12xsalsa20
280.12285.25288.38T:aes192ctr
422.38425.50435.25T:tpy6
742.12744.12748.12T:panama
901.12903.25915.25T:ocelot1
955.62965.25972.75T:ocelot2
1035.751038.881048.25T:tpypy
1047.621051.001073.00T:tpy
1192.001194.751223.25T:amastrid
2648.122648.752651.25T:hc128
6886.006888.006956.88T:hc256