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; Tremont (906c0); 2021 Intel Celeron N5105; 4 x 2000MHz; jasper3, supercop-20250307

[Page version: 20250326 01:56:40]

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.440.450.46T:aes192ctr
0.610.630.63T:aes128ctr
0.750.750.76aes256ctr
1.041.051.06tango642
1.311.321.34chacha8
1.851.861.87chacha12
2.012.022.03salsa208
2.172.192.21T:hc128
2.372.382.41T:sosemanuk
2.662.682.72T:cryptmtv3
2.902.912.93salsa2012
2.972.982.99chacha20
2.903.023.18T:hc256
3.033.053.07T:speck6496ctr
2.973.083.14T:nlsv2
2.953.123.23T:tpy
3.143.153.17T:speck64128ctr
3.183.233.25T:snow20
3.433.483.54T:tpy6
3.483.513.55T:panama
3.813.823.88T:trivium
4.144.164.18T:rabbit
4.374.374.38T:simon6496ctr
4.514.554.56T:speck128128ctr
4.604.614.61T:simon64128ctr
4.654.674.68T:speck128192ctr
4.714.724.74xsalsa20
4.704.734.74salsa20
4.814.824.84T:speck128256ctr
4.934.944.97T:lexv2
5.245.275.34T:tpypy
6.646.656.67T:simon128128ctr
8.128.158.24T:simon128256ctr
9.619.659.72T:aes128estream
14.4714.4914.56T:aes256estream
19.9420.2320.56T:ocelot1
21.5621.7221.82T:ocelot2
35.5035.8937.23T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.610.610.62T:aes192ctr
0.640.650.65T:aes128ctr
0.780.780.79aes256ctr
1.281.281.29tango642
1.331.341.35chacha8
1.881.881.88chacha12
2.032.042.04salsa208
2.932.942.94salsa2012
2.962.972.98T:sosemanuk
2.993.003.00chacha20
3.083.083.09T:speck6496ctr
3.183.183.20T:speck64128ctr
3.213.233.25T:cryptmtv3
3.213.263.30T:nlsv2
3.323.343.36T:snow20
3.993.994.03T:trivium
4.004.034.05T:tpy6
4.294.294.31T:rabbit
4.424.514.57T:tpy
4.564.584.58T:speck128128ctr
4.574.584.60T:panama
4.624.624.62T:simon6496ctr
4.704.704.71T:speck128192ctr
4.734.754.75salsa20
4.864.864.86T:speck128256ctr
4.884.894.90xsalsa20
4.994.995.00T:simon64128ctr
5.085.085.10T:lexv2
6.596.606.61T:tpypy
6.816.826.83T:hc128
7.027.027.03T:simon128128ctr
8.828.848.91T:simon128256ctr
9.699.719.75T:aes128estream
14.6214.6314.64T:aes256estream
14.8414.8614.94T:hc256
21.6521.7121.88T:ocelot1
22.8222.9222.97T:ocelot2
37.2937.5338.33T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.670.700.70T:aes128ctr
0.830.830.84aes256ctr
0.870.880.89T:aes192ctr
1.361.371.38chacha8
1.671.681.69tango642
1.911.911.92chacha12
2.052.062.07salsa208
2.972.982.99salsa2012
3.023.033.04chacha20
3.143.163.19T:speck6496ctr
3.243.243.28T:speck64128ctr
3.503.513.52T:snow20
3.683.813.84T:nlsv2
3.994.004.02T:sosemanuk
4.264.304.31T:trivium
4.534.544.54T:rabbit
4.624.644.68T:speck128128ctr
4.664.674.68T:cryptmtv3
4.744.754.79T:speck128192ctr
4.764.784.80salsa20
4.904.914.94T:speck128256ctr
4.895.015.05T:tpy6
5.045.045.05T:simon6496ctr
5.155.175.18xsalsa20
5.325.335.35T:lexv2
5.635.645.64T:simon64128ctr
6.366.376.41T:panama
6.736.776.86T:tpy
7.647.647.65T:simon128128ctr
8.778.808.85T:tpypy
9.819.839.92T:aes128estream
10.0010.0610.13T:simon128256ctr
14.5014.5214.54T:hc128
14.7514.9214.94T:aes256estream
24.0724.1524.37T:ocelot1
25.2225.4725.62T:ocelot2
34.4234.5634.77T:hc256
40.0040.1340.51T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.830.840.85T:aes128ctr
1.051.061.06aes256ctr
1.511.521.52chacha8
1.601.611.65T:aes192ctr
2.102.122.14chacha12
2.282.292.30salsa208
2.702.722.74tango642
3.253.253.30T:speck6496ctr
3.233.263.28salsa2012
3.313.343.35chacha20
3.373.373.39T:speck64128ctr
4.004.044.08T:snow20
4.774.835.16T:nlsv2
4.824.844.85T:speck128128ctr
4.944.964.98T:speck128192ctr
4.964.974.99T:trivium
5.115.135.16T:speck128256ctr
5.115.135.15T:rabbit
5.165.185.22salsa20
5.265.265.26T:cryptmtv3
5.945.965.98T:lexv2
6.196.226.26xsalsa20
6.746.776.79T:sosemanuk
7.077.087.08T:simon6496ctr
7.537.667.71T:tpy6
9.589.599.81T:simon64128ctr
10.0810.1010.12T:aes128estream
11.1211.1811.22T:panama
11.8511.8612.00T:simon128128ctr
12.9013.0113.10T:tpy
14.5214.6014.68T:tpypy
15.1515.2915.33T:aes256estream
18.97?19.07?21.16?T:simon128256ctr
29.7429.9830.31T:ocelot1
30.6930.7530.82T:ocelot2
35.0035.0335.08T:hc128
46.8947.2347.34T:amastrid
86.8987.2787.49T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.642.642.75T:aes128ctr
2.702.732.84chacha8
3.503.503.56aes256ctr
3.733.773.80chacha12
4.284.334.33salsa208
4.975.005.05T:speck6496ctr
5.095.125.17T:speck64128ctr
5.675.675.67salsa2012
5.725.735.75chacha20
7.147.197.56T:speck128128ctr
7.277.337.47T:speck128192ctr
7.507.597.69T:speck128256ctr
8.338.418.42salsa20
10.3110.3610.42T:snow20
10.8310.9811.48T:aes192ctr
12.7212.7212.81T:rabbit
13.1213.1613.34T:cryptmtv3
13.2213.2513.30T:simon6496ctr
13.6913.7514.00T:trivium
13.9414.0614.11T:aes128estream
13.9514.0814.34T:lexv2
14.7514.8014.86T:simon64128ctr
15.8315.8916.11tango642
18.0318.1618.17xsalsa20
19.6719.9720.20T:aes256estream
21.5521.6721.88T:simon128128ctr
22.8122.8923.05T:nlsv2
23.8423.9124.05T:simon128256ctr
38.0538.2738.41T:sosemanuk
41.3441.4841.80T:tpy6
71.0871.4472.14T:panama
89.2789.8090.88T:tpypy
92.1292.7593.20T:tpy
108.69108.97110.00T:ocelot1
109.55110.83113.19T:ocelot2
133.28133.66134.55T:amastrid
297.59297.94298.19T:hc128
759.39760.36761.66T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
20.7520.8820.88T:aes128ctr
24.2524.7526.12chacha8
24.50?25.00?28.75?aes256ctr
28.50?28.88?32.50?T:speck128192ctr
28.6228.8830.38T:speck128128ctr
29.00?29.38?32.25?T:speck128256ctr
29.12?29.75?33.12?T:speck64128ctr
30.1230.8833.00T:speck6496ctr
31.6232.1234.75chacha12
42.0042.0042.50salsa208
47.8849.0050.62chacha20
61.3861.7562.38T:simon6496ctr
61.5062.1262.50salsa2012
65.3865.7566.25T:aes128estream
71.5072.1272.62T:simon64128ctr
72.2573.2574.38T:aes256estream
77.7578.0078.12T:rabbit
78.5078.5079.12salsa20
80.8882.0083.88T:snow20
81.7582.0082.50T:trivium
82.3882.5083.50T:cryptmtv3
82.3883.1284.12T:lexv2
83.3884.1288.12T:aes192ctr
105.62106.12106.50T:nlsv2
110.50111.75118.25T:simon128128ctr
120.25120.38121.62tango642
125.38126.50130.75T:simon128256ctr
154.75155.62155.88xsalsa20
302.75305.50309.75T:sosemanuk
309.12310.00311.75T:tpy6
557.88562.62564.88T:panama
679.88682.12685.50T:tpypy
719.88722.12727.50T:tpy
716.62723.12727.88T:ocelot2
728.25733.25742.12T:ocelot1
888.00892.38897.88T:amastrid
2376.622381.882386.62T:hc128
6046.386063.256083.25T:hc256