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 (506c9); 2016 Intel Celeron J3455; 4 x 1500MHz; wooden, supercop-20250415

[Page version: 20250523 10:17:49]

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
1.431.431.44chacha8
1.461.461.47tango642
1.511.511.51T:aes192ctr
1.611.611.62T:aes128ctr
1.971.971.98chacha12
2.022.022.03salsa208
2.132.142.14aes256ctr
2.662.672.68T:cryptmtv3
2.782.802.81T:sosemanuk
2.872.872.88salsa2012
2.992.993.01T:hc128
3.003.013.01T:speck6496ctr
3.073.073.08chacha20
3.103.113.11T:speck64128ctr
3.523.553.57T:nlsv2
3.653.663.67T:tpy6
3.803.823.84T:tpy
4.174.184.19T:trivium
4.214.254.33T:hc256
4.314.324.33T:snow20
4.324.354.37T:speck128128ctr
4.514.524.54T:speck128192ctr
4.504.534.61T:simon6496ctr
4.554.564.57salsa20
4.584.584.59xsalsa20
4.694.704.71T:speck128256ctr
4.764.774.78T:panama
4.985.005.00T:simon64128ctr
5.095.105.10T:rabbit
6.176.226.29T:tpypy
6.696.696.71T:lexv2
6.966.976.98T:simon128128ctr
7.967.987.99T:simon128256ctr
12.5012.5112.54T:aes128estream
17.5617.6017.62T:aes256estream
28.2828.2928.30T:ocelot1
31.5731.7031.75T:ocelot2
47.6949.1250.18T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.451.451.45chacha8
1.651.651.65T:aes128ctr
1.721.721.73tango642
1.721.731.73T:aes192ctr
1.992.002.00chacha12
2.052.052.05salsa208
2.172.172.18aes256ctr
2.902.902.91salsa2012
3.043.053.05T:speck6496ctr
3.093.103.10chacha20
3.153.153.15T:speck64128ctr
3.213.223.22T:cryptmtv3
3.443.453.45T:sosemanuk
3.763.783.79T:nlsv2
4.354.364.36T:trivium
4.434.444.44T:snow20
4.454.464.46T:tpy6
4.474.484.49T:speck128128ctr
4.614.614.62salsa20
4.654.664.66T:speck128192ctr
4.794.804.80xsalsa20
4.824.834.83T:speck128256ctr
4.844.854.90T:simon6496ctr
5.245.255.25T:rabbit
5.395.405.40T:simon64128ctr
5.705.715.72T:tpy
6.106.116.12T:panama
6.876.876.88T:lexv2
7.437.437.44T:simon128128ctr
8.098.128.17T:tpypy
8.518.518.52T:hc128
8.758.768.77T:simon128256ctr
12.5912.5912.61T:aes128estream
17.7117.7317.74T:aes256estream
18.2218.2318.29T:hc256
30.2630.2730.27T:ocelot1
33.5733.6633.69T:ocelot2
50.8651.5552.04T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.481.491.50chacha8
1.731.751.76T:aes128ctr
2.042.042.04chacha12
2.092.092.10salsa208
2.092.102.10T:aes192ctr
2.152.152.17tango642
2.232.232.23aes256ctr
2.962.962.99salsa2012
3.113.123.12T:speck6496ctr
3.133.143.14chacha20
3.223.223.23T:speck64128ctr
4.284.294.30T:nlsv2
4.584.614.61T:sosemanuk
4.604.614.61T:cryptmtv3
4.614.624.62T:snow20
4.644.654.65T:trivium
4.684.684.69salsa20
4.694.704.76T:speck128128ctr
4.864.874.88T:speck128192ctr
5.045.055.05T:speck128256ctr
5.155.155.16xsalsa20
5.365.385.43T:simon6496ctr
5.495.505.51T:rabbit
5.785.815.83T:tpy6
6.056.066.08T:simon64128ctr
7.177.187.19T:lexv2
8.198.208.21T:simon128128ctr
8.338.348.35T:panama
8.858.868.92T:tpy
10.0510.0610.12T:simon128256ctr
11.3511.3711.39T:tpypy
12.7812.7912.81T:aes128estream
17.7117.7217.74T:hc128
17.9417.9517.96T:aes256estream
33.5333.5533.56T:ocelot1
36.9036.9837.00T:ocelot2
41.4941.5541.63T:hc256
55.5356.4257.41T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.631.631.64chacha8
2.042.042.07T:aes128ctr
2.232.232.24chacha12
2.312.342.35salsa208
2.662.672.67aes256ctr
3.073.083.08T:aes192ctr
3.243.253.25salsa2012
3.313.323.32T:speck6496ctr
3.353.353.38tango642
3.423.423.43T:speck64128ctr
3.443.443.45chacha20
5.095.105.12salsa20
5.155.165.17T:snow20
5.275.295.30T:speck128128ctr
5.335.335.34T:cryptmtv3
5.385.395.41T:nlsv2
5.415.425.43T:speck128192ctr
5.425.435.44T:trivium
5.575.575.59T:speck128256ctr
6.176.186.19T:rabbit
6.266.276.30xsalsa20
7.587.597.68T:sosemanuk
7.647.667.70T:simon6496ctr
8.008.018.03T:lexv2
8.838.868.89T:simon64128ctr
9.349.369.39T:tpy6
12.9612.9813.00T:simon128128ctr
13.1313.1513.20T:aes128estream
14.2814.3014.32T:panama
17.2317.2617.30T:tpy
18.4418.4818.51T:aes256estream
19.2019.2319.27T:simon128256ctr
19.7219.7519.79T:tpypy
42.1742.2142.25T:hc128
42.3342.3542.40T:ocelot1
45.5545.6145.67T:ocelot2
66.1466.5166.55T:amastrid
103.68103.72103.83T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.912.942.97chacha8
4.004.004.03chacha12
4.164.194.25salsa208
4.975.005.00T:aes128ctr
5.505.535.53salsa2012
5.815.815.81T:speck6496ctr
5.915.915.94T:speck64128ctr
6.036.036.06chacha20
6.066.066.06aes256ctr
7.918.098.16salsa20
12.0312.0612.12T:snow20
12.2812.3112.47T:speck128128ctr
12.5012.5312.56T:speck128192ctr
12.6912.6912.72T:speck128256ctr
13.0913.0913.12T:simon6496ctr
13.5313.5313.56T:cryptmtv3
14.4714.5014.56T:simon64128ctr
14.4714.5014.66T:rabbit
14.9115.0315.06T:trivium
15.5015.5615.59T:aes192ctr
18.0618.1218.25T:lexv2
18.2218.2518.28T:aes128estream
18.7818.8118.88xsalsa20
18.8418.8818.88tango642
21.0921.1221.22T:simon128128ctr
21.6921.7521.78T:nlsv2
24.3424.3424.38T:simon128256ctr
24.5624.6224.66T:aes256estream
41.9141.9742.03T:sosemanuk
54.6954.7554.81T:tpy6
90.2290.3190.44T:panama
124.41124.56124.69T:tpy
127.22127.47128.75T:tpypy
154.50154.72154.94T:ocelot1
157.25157.41157.69T:ocelot2
190.62191.41194.88T:amastrid
355.59355.81356.06T:hc128
897.09897.62898.19T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
28.0028.2528.25chacha8
29.5029.7530.00T:speck6496ctr
30.5030.7531.00T:speck64128ctr
33.7534.0034.75T:speck128192ctr
36.0036.5036.75chacha12
37.7537.7537.75T:speck128128ctr
38.5038.5038.75T:aes128ctr
50.2550.2550.25aes256ctr
51.7551.7552.00T:speck128256ctr
52.2552.5053.25chacha20
60.0060.5061.00salsa208
64.0064.7565.25T:simon6496ctr
70.7571.0071.25T:aes128estream
75.0075.7576.00T:simon64128ctr
76.0077.0078.00salsa2012
89.0089.0089.25T:rabbit
88.0089.2589.50T:cryptmtv3
89.5090.0090.50T:trivium
90.2590.5091.50T:aes256estream
93.7594.2595.50T:snow20
100.50100.75101.00T:lexv2
102.00102.00102.25salsa20
117.25118.00118.75T:aes192ctr
118.75118.75119.25T:nlsv2
121.00123.75128.00T:simon128128ctr
122.25126.00129.50T:simon128256ctr
141.75141.75142.00tango642
185.75186.25187.00xsalsa20
334.75335.00335.50T:sosemanuk
410.25410.75411.25T:tpy6
704.25705.25706.50T:panama
969.50970.75971.75T:tpy
975.50977.25981.00T:tpypy
1040.751042.251043.75T:ocelot2
1041.501043.251045.00T:ocelot1
1266.751269.501283.00T:amastrid
2841.252843.502844.50T:hc128
7190.007198.757202.25T:hc256