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; Goldmont Plus (706a8); 2019 Intel Celeron N4020; 2 x 1100MHz; gemini, 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.830.840.85T:aes192ctr
0.970.970.99T:aes128ctr
1.231.241.26aes256ctr
1.361.391.43tango642
1.411.411.41chacha8
1.951.951.95chacha12
1.981.992.00salsa208
2.842.852.86salsa2012
2.892.902.92T:hc128
2.972.982.99T:cryptmtv3
2.982.992.99T:speck6496ctr
3.063.063.06chacha20
3.093.103.11T:speck64128ctr
3.343.363.38T:sosemanuk
3.433.503.52T:tpy
3.683.693.71T:nlsv2
3.813.823.83T:tpy6
4.044.044.05T:snow20
4.074.084.08T:trivium
4.094.134.21T:hc256
4.194.214.21T:panama
4.304.314.32T:simon6496ctr
4.314.334.33T:speck128128ctr
4.454.464.47T:speck128192ctr
4.514.534.54T:simon64128ctr
4.544.564.56salsa20
4.574.574.58xsalsa20
4.614.614.62T:speck128256ctr
4.884.884.89T:rabbit
5.555.635.68T:tpypy
6.506.516.51T:simon128128ctr
6.576.586.61T:lexv2
6.886.946.98T:simon128256ctr
12.0812.0912.10T:aes128estream
17.3817.4017.51T:aes256estream
26.2326.2626.35T:ocelot2
26.7626.7926.82T:ocelot1
47.5448.7749.51T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.011.011.02T:aes128ctr
1.071.071.07T:aes192ctr
1.281.281.28aes256ctr
1.431.431.43chacha8
1.641.661.68tango642
1.971.971.97chacha12
2.012.012.02salsa208
2.872.882.88salsa2012
3.033.033.04T:speck6496ctr
3.083.083.08chacha20
3.143.143.15T:speck64128ctr
3.423.423.43T:cryptmtv3
3.673.693.70T:sosemanuk
3.883.883.89T:nlsv2
4.154.154.16T:snow20
4.244.254.25T:trivium
4.444.454.45T:speck128128ctr
4.514.514.51T:tpy6
4.584.584.58T:speck128192ctr
4.584.584.58T:simon6496ctr
4.594.594.59salsa20
4.734.744.74T:speck128256ctr
4.774.774.77xsalsa20
4.924.934.93T:simon64128ctr
5.025.035.03T:rabbit
5.165.215.22T:tpy
5.415.425.42T:panama
6.736.746.76T:lexv2
6.906.916.91T:simon128128ctr
7.187.247.25T:tpypy
8.078.118.14T:simon128256ctr
8.248.258.26T:hc128
12.1812.1812.18T:aes128estream
17.3617.3817.43T:hc256
17.5617.5617.64T:aes256estream
27.8627.8727.89T:ocelot2
28.3828.3828.39T:ocelot1
50.0050.9151.31T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.071.071.07T:aes128ctr
1.321.331.33aes256ctr
1.441.441.45T:aes192ctr
1.451.461.46chacha8
1.992.002.01chacha12
2.052.062.06salsa208
2.082.092.11tango642
2.912.912.93salsa2012
3.103.103.13T:speck6496ctr
3.123.123.12chacha20
3.213.213.22T:speck64128ctr
4.314.324.33T:sosemanuk
4.324.324.33T:snow20
4.324.344.36T:nlsv2
4.524.524.52T:trivium
4.644.644.67salsa20
4.654.674.67T:speck128128ctr
4.774.774.78T:cryptmtv3
4.794.804.81T:speck128192ctr
4.954.954.96T:speck128256ctr
5.025.035.04T:simon6496ctr
5.105.105.10xsalsa20
5.275.275.27T:rabbit
5.605.605.61T:simon64128ctr
5.675.675.68T:tpy6
6.997.007.01T:lexv2
7.417.457.47T:panama
7.577.587.59T:simon128128ctr
7.997.998.05T:tpy
9.889.939.95T:tpypy
10.0410.0710.09T:simon128256ctr
12.3012.3312.33T:aes128estream
17.1417.1617.17T:hc128
17.8017.8517.93T:aes256estream
30.5930.6030.64T:ocelot2
31.0131.0331.07T:ocelot1
39.4639.5039.57T:hc256
52.5654.3654.93T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.261.271.37T:aes128ctr
1.601.611.61chacha8
1.611.621.66aes256ctr
2.212.212.21chacha12
2.282.292.30salsa208
2.482.512.52T:aes192ctr
3.203.223.25tango642
3.203.223.23salsa2012
3.283.283.28T:speck6496ctr
3.413.413.41T:speck64128ctr
3.443.443.44chacha20
4.854.854.86T:snow20
5.015.055.06salsa20
5.195.195.20T:cryptmtv3
5.215.215.24T:speck128128ctr
5.225.235.24T:trivium
5.325.325.38T:speck128192ctr
5.345.345.37T:nlsv2
5.565.565.62T:speck128256ctr
5.845.845.84T:rabbit
5.995.995.99T:sosemanuk
6.206.236.24xsalsa20
7.127.137.15T:simon6496ctr
7.727.747.76T:lexv2
8.748.758.75T:tpy6
10.3210.3510.48T:simon64128ctr
12.6512.6612.70T:aes128estream
12.7612.8512.89T:panama
15.1315.1415.16T:simon128128ctr
15.4915.5915.72T:tpy
16.7617.1017.14T:tpypy
18.5518.5718.59T:aes256estream
20.2220.2520.27T:simon128256ctr
37.3837.5737.62T:ocelot2
38.0438.0938.23T:ocelot1
40.8840.9340.93T:hc128
61.8662.7063.17T:amastrid
98.5698.5898.69T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.912.912.91chacha8
3.47?3.52?3.95?T:aes128ctr
3.893.914.23chacha12
4.364.364.47salsa208
4.524.554.64aes256ctr
5.585.585.66T:speck6496ctr
5.785.785.78salsa2012
5.955.955.95chacha20
5.975.975.97T:speck64128ctr
8.698.708.80salsa20
11.4711.5611.56T:snow20
12.1212.1212.12T:speck128128ctr
12.1612.3012.39T:speck128192ctr
12.5012.5912.66T:speck128256ctr
13.2713.3313.52T:rabbit
13.3113.3613.39T:cryptmtv3
13.4213.4713.50T:simon6496ctr
14.2814.3414.36T:trivium
15.0915.0915.09T:simon64128ctr
15.7315.8416.00T:aes192ctr
16.3016.4216.53T:lexv2
17.3917.5217.67T:aes128estream
17.9717.9718.05tango642
18.8819.0519.17xsalsa20
21.6421.6721.81T:simon128128ctr
22.9722.9823.00T:nlsv2
24.3024.4524.53T:simon128256ctr
24.9425.0625.06T:sosemanuk
28.0228.0328.03T:aes256estream
47.6448.0248.05T:tpy6
81.5981.9482.16T:panama
107.41107.56107.56T:tpypy
110.42112.23112.38T:tpy
129.31129.44129.77T:ocelot2
129.77129.78129.86T:ocelot1
171.33171.44171.80T:amastrid
344.80345.03345.58T:hc128
852.23853.11853.70T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
25.88?26.38?31.00?chacha8
27.0027.1227.12T:aes128ctr
28.1228.1228.75T:speck6496ctr
34.0034.1234.62T:speck64128ctr
33.6234.2534.50chacha12
34.5034.5035.38T:speck128192ctr
34.5034.6235.88T:speck128128ctr
36.38?37.38?40.50?aes256ctr
48.6248.6251.50salsa208
49.7550.6251.25chacha20
54.3855.7557.50T:speck128256ctr
64.2564.5064.88T:simon6496ctr
65.8865.8865.88salsa2012
75.5075.6276.62T:simon64128ctr
78.2578.3879.12T:aes128estream
78.2578.5084.88T:rabbit
85.1285.6285.75T:trivium
86.3887.2588.38T:cryptmtv3
88.6289.0089.50T:lexv2
88.7589.2590.38T:snow20
99.1299.3899.38salsa20
110.75110.75110.88T:nlsv2
119.50119.62120.12T:aes256estream
128.62130.12132.88T:simon128128ctr
129.62130.12131.38T:aes192ctr
135.38135.38135.38tango642
137.62139.75143.62T:simon128256ctr
180.50181.12182.25xsalsa20
201.00201.75201.75T:sosemanuk
357.62357.62357.62T:tpy6
633.12633.50642.00T:panama
821.62822.12823.62T:tpypy
848.75854.50854.75T:ocelot1
857.88857.88857.88T:ocelot2
859.88860.00875.50T:tpy
1112.121120.251123.62T:amastrid
2760.502763.002763.38T:hc128
6826.506833.886846.62T:hc256