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

[Page version: 20241014 13:34:05]

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.


Test results

Graphs: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.830.830.84T:aes192ctr
0.970.990.99T:aes128ctr
1.241.251.26aes256ctr
1.391.401.42tango642
1.411.411.41chacha8
1.941.951.96chacha12
1.971.981.99salsa208
2.842.852.88T:hc128
2.842.862.87salsa2012
2.942.962.97T:cryptmtv3
2.982.982.99T:speck6496ctr
3.063.063.06chacha20
3.093.103.11T:speck64128ctr
3.343.353.38T:sosemanuk
3.493.593.68T:tpy
3.663.683.71T:nlsv2
3.813.823.82T:tpy6
3.973.984.04T:snow20
4.084.084.08T:trivium
4.054.114.11T:hc256
4.194.224.22T:panama
4.284.314.32T:simon6496ctr
4.324.334.34T:speck128128ctr
4.444.464.46T:speck128192ctr
4.514.524.53T:simon64128ctr
4.554.564.58salsa20
4.564.584.60xsalsa20
4.624.634.67T:speck128256ctr
4.884.884.89T:rabbit
5.395.555.80T:tpypy
6.506.516.52T:simon128128ctr
6.586.606.61T:lexv2
6.936.977.03T:simon128256ctr
12.0712.1012.10T:aes128estream
17.3517.3917.49T:aes256estream
24.4524.4724.48T:ocelot1
26.1826.2026.33T:ocelot2
49.1349.3549.70T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.011.021.02T:aes128ctr
1.061.061.07T:aes192ctr
1.281.281.29aes256ctr
1.431.431.43chacha8
1.641.641.66tango642
1.971.971.97chacha12
2.002.012.01salsa208
2.872.892.89salsa2012
3.043.043.04T:speck6496ctr
3.083.083.08chacha20
3.143.143.15T:speck64128ctr
3.403.413.41T:cryptmtv3
3.673.683.70T:sosemanuk
3.873.873.89T:nlsv2
4.094.104.13T:snow20
4.244.254.25T:trivium
4.444.444.45T:speck128128ctr
4.514.514.51T:tpy6
4.584.584.58T:speck128192ctr
4.564.584.59T:simon6496ctr
4.584.594.60salsa20
4.754.754.77T:speck128256ctr
4.764.764.77xsalsa20
4.924.934.94T:simon64128ctr
5.025.035.03T:rabbit
5.205.255.30T:tpy
5.405.425.42T:panama
6.746.756.75T:lexv2
6.916.916.92T:simon128128ctr
7.107.207.35T:tpypy
7.817.827.82T:hc128
8.128.148.18T:simon128256ctr
12.1812.1912.19T:aes128estream
17.3917.4117.41T:hc256
17.5517.5517.62T:aes256estream
26.0826.0926.09T:ocelot1
27.8427.8527.88T:ocelot2
50.9750.9851.12T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.071.071.08T:aes128ctr
1.331.331.33aes256ctr
1.451.451.46chacha8
1.451.461.48T:aes192ctr
1.992.002.00chacha12
2.042.052.06tango642
2.052.062.07salsa208
2.932.932.93salsa2012
3.123.123.12chacha20
3.133.143.15T:speck6496ctr
3.213.213.23T:speck64128ctr
4.264.284.34T:snow20
4.314.314.33T:sosemanuk
4.334.344.36T:nlsv2
4.524.524.52T:trivium
4.644.644.64salsa20
4.654.654.66T:speck128128ctr
4.744.754.75T:cryptmtv3
4.794.794.80T:speck128192ctr
4.974.974.98T:speck128256ctr
5.025.035.04T:simon6496ctr
5.085.095.11xsalsa20
5.265.265.27T:rabbit
5.595.605.61T:simon64128ctr
5.665.665.67T:tpy6
7.007.017.02T:lexv2
7.417.417.42T:panama
7.577.587.59T:simon128128ctr
7.997.998.08T:tpy
9.759.909.95T:tpypy
10.0610.1110.14T:simon128256ctr
12.3112.3412.34T:aes128estream
16.0816.1216.12T:hc128
17.8017.8017.89T:aes256estream
28.7628.7628.79T:ocelot1
30.4030.5330.57T:ocelot2
39.5939.6039.62T:hc256
52.7352.7454.31T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.271.271.32T:aes128ctr
1.601.611.61chacha8
1.621.631.65aes256ctr
2.212.222.22chacha12
2.302.302.36salsa208
2.482.512.52T:aes192ctr
3.143.143.17tango642
3.223.243.24salsa2012
3.293.303.31T:speck6496ctr
3.413.413.41T:speck64128ctr
3.443.443.44chacha20
4.794.814.86T:snow20
5.015.065.07salsa20
5.195.215.24T:cryptmtv3
5.205.215.22T:speck128128ctr
5.225.225.24T:trivium
5.385.395.43T:speck128192ctr
5.415.415.43T:nlsv2
5.525.525.57T:speck128256ctr
5.845.845.86T:rabbit
6.016.016.01T:sosemanuk
6.196.226.24xsalsa20
7.127.137.15T:simon6496ctr
7.717.747.76T:lexv2
8.748.788.78T:tpy6
11.9812.0212.07T:simon64128ctr
12.6812.6912.74T:simon128128ctr
12.6812.7312.75T:aes128estream
12.7712.7812.80T:panama
15.3615.3815.59T:tpy
16.9817.1317.18T:tpypy
18.5318.5518.65T:aes256estream
25.5525.5625.59T:simon128256ctr
35.8235.9036.06T:ocelot1
37.6837.6937.77T:ocelot2
38.1138.1538.33T:hc128
61.4862.9063.11T:amastrid
98.7898.8298.87T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.912.913.20chacha8
3.47?3.50?3.94?T:aes128ctr
3.893.914.03chacha12
4.03?4.17?4.52?aes256ctr
4.414.444.53salsa208
5.585.695.84T:speck6496ctr
5.865.865.88salsa2012
5.955.955.95chacha20
5.975.975.97T:speck64128ctr
8.698.708.70salsa20
11.4211.4711.52T:snow20
11.9512.0212.11T:speck128128ctr
12.1412.2212.27T:speck128192ctr
12.4812.4812.48T:speck128256ctr
13.3413.3813.52T:cryptmtv3
13.4213.4713.50T:simon6496ctr
13.3013.5213.53T:rabbit
14.2514.2714.42T:trivium
15.0915.0915.09T:simon64128ctr
15.7315.9116.00T:aes192ctr
16.3816.4416.55T:lexv2
16.8117.0017.00tango642
17.4117.5917.62T:aes128estream
18.7518.8919.08xsalsa20
21.6421.8121.89T:simon128128ctr
22.9822.9822.98T:nlsv2
24.3024.4724.53T:simon128256ctr
25.0625.0625.22T:sosemanuk
28.0328.0328.05T:aes256estream
47.8347.8948.11T:tpy6
81.1681.1781.23T:panama
107.61107.61107.75T:tpypy
110.38112.22112.31T:tpy
127.34127.88127.94T:ocelot1
127.67127.89128.78T:ocelot2
167.77170.50171.17T:amastrid
320.62321.31321.38T:hc128
856.48856.70857.59T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
25.5026.2526.38chacha8
26.7527.1227.12T:aes128ctr
29.12?29.88?32.75?T:speck6496ctr
34.0034.0036.62T:speck64128ctr
33.6234.2534.25chacha12
35.0035.5038.88T:speck128192ctr
36.3836.6239.12aes256ctr
37.2538.3840.00T:speck128128ctr
49.7550.6254.12chacha20
51.5051.5051.62T:speck128256ctr
52.2552.3852.50salsa208
63.8864.0064.50salsa2012
64.1264.5065.25T:simon6496ctr
75.2575.5076.38T:simon64128ctr
78.0078.2578.38T:aes128estream
78.3878.5079.38T:rabbit
85.1285.3885.62T:trivium
86.0086.6287.75T:cryptmtv3
88.1288.6289.12T:snow20
88.6289.1289.25T:lexv2
99.3899.38100.12salsa20
110.62110.75110.88T:nlsv2
119.50119.62120.12T:aes256estream
124.88126.38126.50tango642
129.50129.62129.88T:aes192ctr
129.75131.25135.12T:simon128128ctr
137.25138.75141.88T:simon128256ctr
180.62180.62181.88xsalsa20
200.50201.75201.75T:sosemanuk
357.12357.62357.88T:tpy6
634.00634.50635.38T:panama
822.38823.00824.12T:tpypy
850.50854.62854.75T:ocelot1
857.88858.00859.12T:ocelot2
875.50875.62875.75T:tpy
1108.501114.381117.88T:amastrid
2562.252563.382568.38T:hc128
6855.506857.506858.25T:hc256