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

[Page version: 20250419 00:25:54]

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.970.99T:aes128ctr
1.241.251.25aes256ctr
1.361.381.38tango642
1.411.411.41chacha8
1.951.951.95chacha12
1.981.981.99salsa208
2.852.852.86salsa2012
2.832.852.88T:hc128
2.922.932.94T:cryptmtv3
2.982.992.99T:speck6496ctr
3.053.053.06chacha20
3.093.103.11T:speck64128ctr
3.353.353.37T:sosemanuk
3.673.713.79T:nlsv2
3.803.823.83T:tpy6
3.773.853.90T:tpy
3.963.994.00T:snow20
4.074.084.08T:trivium
4.044.094.14T:hc256
4.174.194.21T:panama
4.274.294.32T:simon6496ctr
4.314.324.33T:speck128128ctr
4.444.474.47T:speck128192ctr
4.504.524.53T:simon64128ctr
4.564.574.58xsalsa20
4.574.584.59salsa20
4.644.664.67T:speck128256ctr
4.884.884.89T:rabbit
5.565.645.83T:tpypy
6.506.516.51T:simon128128ctr
6.586.606.63T:lexv2
7.837.867.87T:simon128256ctr
12.0812.1012.10T:aes128estream
17.3717.3817.39T:aes256estream
24.4524.4724.47T:ocelot1
26.1626.2826.36T:ocelot2
47.5748.7449.35T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.011.011.02T:aes128ctr
1.061.061.06T:aes192ctr
1.281.291.29aes256ctr
1.431.431.43chacha8
1.621.621.62tango642
1.971.971.97chacha12
2.012.012.01salsa208
2.872.872.88salsa2012
3.043.043.04T:speck6496ctr
3.083.083.08chacha20
3.143.143.15T:speck64128ctr
3.383.393.39T:cryptmtv3
3.683.683.69T:sosemanuk
3.923.923.98T:nlsv2
4.094.104.11T:snow20
4.254.254.25T:trivium
4.444.444.45T:speck128128ctr
4.504.514.52T:tpy6
4.564.574.59T:simon6496ctr
4.584.594.59T:speck128192ctr
4.604.614.61salsa20
4.764.764.77xsalsa20
4.764.774.77T:speck128256ctr
4.924.934.93T:simon64128ctr
5.045.045.04T:rabbit
5.405.415.42T:panama
5.405.435.44T:tpy
6.746.756.77T:lexv2
6.916.916.91T:simon128128ctr
7.197.227.33T:tpypy
7.827.837.84T:hc128
8.888.888.89T:simon128256ctr
12.1712.1812.18T:aes128estream
17.3917.4017.41T:hc256
17.5517.5517.55T:aes256estream
26.0826.0926.09T:ocelot1
27.8127.8727.92T:ocelot2
49.8250.6551.03T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.061.061.07T:aes128ctr
1.331.351.35aes256ctr
1.431.431.43T:aes192ctr
1.451.451.46chacha8
2.002.012.02chacha12
2.032.032.05tango642
2.052.052.06salsa208
2.922.922.93salsa2012
3.113.123.13chacha20
3.133.133.14T:speck6496ctr
3.213.213.21T:speck64128ctr
4.274.284.30T:snow20
4.314.314.32T:sosemanuk
4.354.364.50T:nlsv2
4.524.524.52T:trivium
4.644.654.67salsa20
4.654.654.66T:speck128128ctr
4.744.754.78T:cryptmtv3
4.804.804.81T:speck128192ctr
4.954.974.97T:speck128256ctr
5.015.045.05T:simon6496ctr
5.075.095.10xsalsa20
5.295.295.29T:rabbit
5.605.615.62T:simon64128ctr
5.675.675.68T:tpy6
7.017.017.02T:lexv2
7.447.467.48T:panama
7.577.587.60T:simon128128ctr
8.128.208.21T:tpy
9.929.9710.02T:tpypy
10.6010.6010.62T:simon128256ctr
12.3112.3112.34T:aes128estream
16.1216.1216.17T:hc128
17.8017.8217.84T:aes256estream
28.7828.7928.79T:ocelot1
30.4630.5230.54T:ocelot2
39.6139.6439.65T:hc256
53.2554.4554.78T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.251.261.34T:aes128ctr
1.571.571.62aes256ctr
1.601.611.61chacha8
2.212.212.23chacha12
2.322.322.32salsa208
2.482.482.48T:aes192ctr
3.123.163.19tango642
3.193.203.23salsa2012
3.293.293.30T:speck6496ctr
3.413.413.41T:speck64128ctr
3.433.443.44chacha20
4.804.824.82T:snow20
5.055.065.08salsa20
5.195.195.20T:cryptmtv3
5.205.205.21T:speck128128ctr
5.225.235.26T:trivium
5.385.405.71T:nlsv2
5.405.425.44T:speck128192ctr
5.485.525.56T:speck128256ctr
5.915.915.92T:rabbit
5.975.985.99T:sosemanuk
6.216.226.23xsalsa20
7.127.147.18T:simon6496ctr
7.717.737.74T:lexv2
8.748.768.76T:tpy6
12.6512.6512.72T:aes128estream
12.7112.7112.73T:simon128128ctr
12.7812.8312.92T:panama
13.0413.0913.20T:simon64128ctr
15.3315.3815.51T:tpy
16.9017.0517.16T:tpypy
18.5218.5318.55T:aes256estream
19.6619.6819.70T:simon128256ctr
35.9835.9835.99T:ocelot1
37.7037.8237.97T:ocelot2
38.1838.2438.28T:hc128
62.0062.0062.94T:amastrid
98.7198.7798.85T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.912.922.92chacha8
3.47?3.50?3.92?T:aes128ctr
3.923.924.20chacha12
4.08?4.17?4.56?aes256ctr
4.424.424.44salsa208
5.585.665.72T:speck6496ctr
5.735.735.84salsa2012
5.975.975.97T:speck64128ctr
6.306.316.70chacha20
8.428.598.62salsa20
11.4111.4711.52T:snow20
12.1212.1212.20T:speck128128ctr
12.1612.2312.30T:speck128192ctr
12.4812.4812.48T:speck128256ctr
13.4113.4413.52T:cryptmtv3
13.4213.4713.50T:simon6496ctr
13.8913.9514.05T:rabbit
14.2514.2714.42T:trivium
15.0915.0915.09T:simon64128ctr
15.7715.7715.77T:aes192ctr
16.4216.5016.61T:lexv2
17.3317.3317.34T:aes128estream
17.3317.3417.72tango642
18.9518.9719.11xsalsa20
21.25?21.34?25.53?T:nlsv2
21.6421.8121.81T:simon128128ctr
24.6624.6625.12T:simon128256ctr
25.0025.0025.05T:sosemanuk
28.0328.0328.05T:aes256estream
47.8348.0548.09T:tpy6
81.2581.7282.52T:panama
106.59106.61106.73T:tpy
107.34107.56107.70T:tpypy
126.36127.36128.31T:ocelot1
128.80129.27130.06T:ocelot2
170.28170.69171.80T:amastrid
320.66321.06321.50T:hc128
856.03856.14856.70T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
25.75?26.00?29.75?chacha8
26.8827.0027.25T:aes128ctr
29.25?31.25?32.75?T:speck6496ctr
33.5034.0034.38chacha12
34.0034.1234.62T:speck64128ctr
34.1235.1236.88aes256ctr
34.6235.1236.88T:speck128128ctr
35.0035.6238.88T:speck128192ctr
51.5051.6251.62T:speck128256ctr
52.0052.3852.50salsa208
56.7557.8861.38chacha20
64.0064.5064.88T:simon6496ctr
69.7570.7571.88salsa2012
75.2575.6276.38T:simon64128ctr
77.8878.0078.75T:aes128estream
82.6283.2584.50T:rabbit
85.1285.3885.62T:trivium
87.1287.1287.25T:cryptmtv3
87.1287.8888.50T:snow20
88.6289.2589.50T:lexv2
102.12102.38102.38salsa20
116.50117.75129.25T:nlsv2
119.62119.75120.12T:aes256estream
127.00127.00127.00T:aes192ctr
130.62130.75133.38tango642
128.75131.50135.62T:simon128128ctr
140.12141.88144.50T:simon128256ctr
186.00186.12186.25xsalsa20
200.88201.62202.00T:sosemanuk
356.38357.50357.50T:tpy6
631.88634.12640.25T:panama
820.38820.62822.12T:tpypy
838.25838.38839.88T:tpy
855.00855.38857.38T:ocelot1
857.25858.00858.12T:ocelot2
1105.381116.381125.38T:amastrid
2566.252571.122573.62T:hc128
6848.886858.626859.12T:hc256