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 N4500; 2 x 1100MHz; jasper2, 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.450.460.47T:aes192ctr
0.630.630.64T:aes128ctr
0.730.740.75aes256ctr
1.031.041.05tango642
1.311.321.33chacha8
1.861.861.87chacha12
2.012.022.03salsa208
2.182.212.23T:hc128
2.382.392.40T:sosemanuk
2.572.602.61T:cryptmtv3
2.902.912.93salsa2012
2.972.982.99chacha20
2.923.043.16T:hc256
3.043.043.05T:speck6496ctr
3.073.103.13T:nlsv2
3.153.153.17T:speck64128ctr
2.92?3.19?3.27?T:tpy
3.223.243.29T:snow20
3.293.313.33T:tpy6
3.483.503.52T:panama
3.823.873.88T:trivium
4.184.234.28T:rabbit
4.374.374.38T:simon6496ctr
4.524.554.56T:speck128128ctr
4.604.614.61T:simon64128ctr
4.664.684.69T:speck128192ctr
4.704.724.74salsa20
4.714.734.75xsalsa20
4.824.844.85T:speck128256ctr
4.934.934.97T:lexv2
5.265.295.35T:tpypy
6.656.666.67T:simon128128ctr
7.957.977.99T:simon128256ctr
9.599.619.64T:aes128estream
14.5314.5914.62T:aes256estream
21.3021.5922.39T:ocelot2
20.2021.6022.06T:ocelot1
34.64?37.93?38.74?T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.620.620.63T:aes192ctr
0.650.650.65T:aes128ctr
0.770.770.78aes256ctr
1.281.281.28tango642
1.331.341.34chacha8
1.881.881.88chacha12
2.042.042.05salsa208
2.932.942.94salsa2012
2.992.992.99T:sosemanuk
2.993.003.01chacha20
3.073.073.08T:speck6496ctr
3.183.183.20T:speck64128ctr
3.183.193.20T:cryptmtv3
3.263.283.30T:nlsv2
3.343.343.37T:snow20
3.913.923.93T:tpy6
3.994.024.03T:trivium
4.354.374.38T:rabbit
4.394.584.58T:tpy
4.574.584.59T:speck128128ctr
4.584.584.59T:panama
4.624.624.62T:simon6496ctr
4.704.714.72T:speck128192ctr
4.734.744.75salsa20
4.864.874.87T:speck128256ctr
4.894.904.91xsalsa20
4.994.995.00T:simon64128ctr
5.085.085.09T:lexv2
6.606.606.61T:tpypy
6.826.836.84T:hc128
7.027.027.03T:simon128128ctr
8.538.548.55T:simon128256ctr
9.679.689.70T:aes128estream
14.6614.7014.71T:aes256estream
14.8314.8514.91T:hc256
21.7622.7322.99T:ocelot1
22.8523.0523.47T:ocelot2
36.6039.0639.27T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.670.670.70T:aes128ctr
0.800.810.82aes256ctr
0.890.900.91T:aes192ctr
1.361.361.37chacha8
1.671.671.68tango642
1.901.911.92chacha12
2.072.082.09salsa208
2.972.982.99salsa2012
3.023.043.04chacha20
3.123.123.17T:speck6496ctr
3.233.243.28T:speck64128ctr
3.493.513.53T:snow20
3.603.623.66T:nlsv2
4.064.074.08T:sosemanuk
4.274.294.32T:trivium
4.524.564.60T:rabbit
4.624.624.65T:speck128128ctr
4.614.644.65T:cryptmtv3
4.744.754.79T:speck128192ctr
4.764.784.81salsa20
4.904.914.93T:speck128256ctr
4.924.934.99T:tpy6
5.045.045.05T:simon6496ctr
5.175.185.19xsalsa20
5.325.335.35T:lexv2
5.635.645.65T:simon64128ctr
6.396.406.42T:panama
6.636.766.87T:tpy
7.637.647.65T:simon128128ctr
8.788.828.84T:tpypy
9.479.489.49T:simon128256ctr
9.769.799.80T:aes128estream
14.5014.5214.55T:hc128
14.8614.8914.90T:aes256estream
24.4124.7524.84T:ocelot1
24.9825.5425.58T:ocelot2
34.4234.4834.65T:hc256
39.3739.4141.64T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.850.850.89T:aes128ctr
0.991.011.04aes256ctr
1.501.521.52chacha8
1.621.641.70T:aes192ctr
2.112.122.14chacha12
2.292.292.30salsa208
2.722.742.75tango642
3.243.253.27salsa2012
3.253.253.26T:speck6496ctr
3.313.343.35chacha20
3.383.383.39T:speck64128ctr
3.973.994.05T:snow20
4.384.414.46T:nlsv2
4.814.824.84T:speck128128ctr
4.944.964.99T:speck128192ctr
4.964.974.98T:trivium
5.105.115.15T:speck128256ctr
5.185.195.20T:rabbit
5.175.205.21salsa20
5.455.475.47T:cryptmtv3
5.975.996.03T:lexv2
6.226.266.28xsalsa20
6.906.916.93T:sosemanuk
7.077.077.08T:simon6496ctr
7.557.597.63T:tpy6
9.579.589.59T:simon64128ctr
10.1110.1510.22T:aes128estream
11.2011.2211.25T:panama
11.8511.8611.88T:simon128128ctr
12.7412.9413.00T:tpy
14.4514.5314.67T:tpypy
15.2415.2515.31T:aes256estream
17.4717.5417.62T:simon128256ctr
29.3429.7530.09T:ocelot1
30.9732.2232.40T:ocelot2
35.0535.0935.19T:hc128
46.5147.1747.55T:amastrid
86.5386.7987.75T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.64?2.70?3.41?T:aes128ctr
2.692.702.72chacha8
3.14?3.16?3.70?aes256ctr
3.673.733.75chacha12
4.344.344.34salsa208
4.985.005.02T:speck6496ctr
5.035.065.17T:speck64128ctr
5.675.695.72salsa2012
5.725.735.80chacha20
7.197.257.56T:speck128128ctr
7.277.347.48T:speck128192ctr
7.417.507.64T:speck128256ctr
8.338.398.42salsa20
10.0010.0310.11T:snow20
11.0911.1411.30T:aes192ctr
12.3912.4512.48T:rabbit
13.1613.2213.27T:simon6496ctr
13.7213.7313.78T:trivium
13.8313.8413.97T:cryptmtv3
13.9814.0614.23T:aes128estream
14.1714.3014.38T:lexv2
14.7314.7814.97T:simon64128ctr
16.1216.1716.44tango642
16.8416.9517.19T:nlsv2
18.1918.3918.64xsalsa20
19.6119.7820.08T:aes256estream
21.5021.5521.84T:simon128128ctr
25.6626.0226.70T:simon128256ctr
39.3939.5339.61T:sosemanuk
41.4741.7041.97T:tpy6
72.3472.4872.78T:panama
89.1689.6989.97T:tpypy
91.6492.4892.56T:tpy
102.27102.80103.17T:ocelot1
109.95110.27111.36T:ocelot2
133.61134.09134.59T:amastrid
297.77298.88299.83T:hc128
753.66769.28770.69T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
20.7520.7520.75T:aes128ctr
23.62?23.62?26.75?chacha8
24.25?24.75?30.75?T:speck6496ctr
24.7524.8825.12aes256ctr
28.62?28.62?32.25?T:speck128192ctr
28.75?29.12?32.62?T:speck128128ctr
28.62?29.50?32.75?T:speck128256ctr
29.0030.2531.25T:speck64128ctr
31.6232.8834.50chacha12
48.1248.3848.50salsa208
47.8848.7551.12chacha20
61.6262.0062.12T:simon6496ctr
61.7565.6266.38salsa2012
65.0066.0068.88T:aes128estream
69.8870.7573.12T:aes256estream
71.3872.0072.50T:simon64128ctr
73.5074.0076.38T:rabbit
78.1278.2578.50salsa20
79.5080.0080.88T:snow20
81.8882.1282.25T:trivium
84.0084.2585.38T:lexv2
86.2586.7589.75T:aes192ctr
87.6287.7588.75T:cryptmtv3
90.0090.8891.25T:nlsv2
112.62114.88117.62T:simon128128ctr
125.62125.88125.88tango642
130.00130.88132.88T:simon128256ctr
156.50158.62162.50xsalsa20
309.50311.62314.88T:tpy6
314.00315.88318.62T:sosemanuk
565.62567.88570.00T:panama
671.75679.12683.62T:ocelot1
675.75680.50685.00T:tpypy
711.75719.88720.88T:tpy
735.75740.75749.00T:ocelot2
898.38900.38908.38T:amastrid
2382.502383.252387.00T:hc128
6041.756060.626089.12T:hc256