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 Pentium Silver N6000; 4 x 1100MHz; jasper, 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.440.460.46T:aes192ctr
0.610.620.64T:aes128ctr
0.720.740.75aes256ctr
1.031.041.06tango642
1.311.321.34chacha8
1.851.871.88chacha12
2.012.012.03salsa208
2.272.292.31T:hc128
2.372.382.39T:sosemanuk
2.592.602.62T:cryptmtv3
2.902.912.93salsa2012
2.982.982.99chacha20
3.023.043.11T:nlsv2
3.033.053.06T:speck6496ctr
2.983.073.18T:hc256
2.923.103.22T:tpy
3.143.153.17T:speck64128ctr
3.193.213.27T:snow20
3.293.313.37T:tpy6
3.493.523.54T:panama
3.873.893.89T:trivium
4.174.194.22T:rabbit
4.364.374.38T:simon6496ctr
4.534.554.57T:speck128128ctr
4.604.614.61T:simon64128ctr
4.664.684.69T:speck128192ctr
4.714.724.74salsa20
4.724.734.76xsalsa20
4.824.844.85T:speck128256ctr
4.914.924.94T:lexv2
5.275.315.33T:tpypy
6.656.666.67T:simon128128ctr
7.988.218.35T:simon128256ctr
9.569.679.70T:aes128estream
14.4914.5214.55T:aes256estream
20.0020.3521.28T:ocelot1
21.2521.4421.63T:ocelot2
34.7836.2337.11T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.620.620.62T:aes192ctr
0.640.640.65T:aes128ctr
0.770.770.78aes256ctr
1.281.281.29tango642
1.331.331.35chacha8
1.881.891.89chacha12
2.032.032.04salsa208
2.932.942.94salsa2012
2.982.982.99T:sosemanuk
3.003.013.01chacha20
3.083.083.09T:speck6496ctr
3.183.183.20T:speck64128ctr
3.203.203.21T:cryptmtv3
3.213.223.26T:nlsv2
3.323.333.36T:snow20
3.913.923.95T:tpy6
4.034.044.04T:trivium
4.324.344.35T:rabbit
4.394.504.58T:tpy
4.574.584.59T:speck128128ctr
4.594.604.62T:panama
4.624.624.63T:simon6496ctr
4.704.714.71T:speck128192ctr
4.744.744.75salsa20
4.864.874.87T:speck128256ctr
4.894.904.91xsalsa20
4.994.995.00T:simon64128ctr
5.075.075.08T:lexv2
6.606.626.63T:tpypy
6.916.926.92T:hc128
7.027.027.03T:simon128128ctr
8.608.738.83T:simon128256ctr
9.679.739.75T:aes128estream
14.5814.5914.61T:aes256estream
14.8414.8714.93T:hc256
21.6921.8622.44T:ocelot1
22.6922.7622.85T:ocelot2
36.8837.7038.01T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.670.670.68T:aes128ctr
0.810.830.84aes256ctr
0.880.900.90T:aes192ctr
1.361.361.37chacha8
1.681.681.69tango642
1.901.911.92chacha12
2.052.062.07salsa208
2.972.982.98salsa2012
3.043.053.05chacha20
3.163.173.19T:speck6496ctr
3.233.243.25T:speck64128ctr
3.523.533.58T:snow20
3.723.773.84T:nlsv2
4.034.044.05T:sosemanuk
4.304.324.32T:trivium
4.564.564.59T:rabbit
4.624.624.66T:speck128128ctr
4.654.674.71T:cryptmtv3
4.744.754.79T:speck128192ctr
4.764.774.79salsa20
4.884.924.98T:tpy6
4.914.934.94T:speck128256ctr
5.045.045.05T:simon6496ctr
5.155.175.18xsalsa20
5.325.335.35T:lexv2
5.645.645.65T:simon64128ctr
6.406.416.46T:panama
6.656.746.88T:tpy
7.647.647.65T:simon128128ctr
8.658.778.83T:tpypy
9.539.589.73T:simon128256ctr
9.809.849.86T:aes128estream
14.6014.6314.65T:hc128
14.7114.7414.82T:aes256estream
23.9624.2425.12T:ocelot1
24.9025.0225.13T:ocelot2
34.5434.6134.81T:hc256
40.3540.4041.58T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.830.840.88T:aes128ctr
1.001.021.06aes256ctr
1.501.501.52chacha8
1.641.661.67T:aes192ctr
2.102.122.12chacha12
2.282.302.32salsa208
2.712.722.78tango642
3.233.263.27salsa2012
3.253.263.27T:speck6496ctr
3.323.363.38chacha20
3.373.373.39T:speck64128ctr
4.014.054.11T:snow20
4.754.794.83T:nlsv2
4.824.844.89T:speck128128ctr
4.944.954.98T:speck128192ctr
4.964.964.98T:trivium
5.105.115.13T:speck128256ctr
5.145.185.19salsa20
5.195.205.22T:rabbit
5.435.445.47T:cryptmtv3
5.976.016.04T:lexv2
6.186.236.25xsalsa20
6.886.916.92T:sosemanuk
7.077.077.10T:simon6496ctr
7.597.627.65T:tpy6
10.0810.1210.18T:aes128estream
10.9711.1612.15T:simon64128ctr
11.2011.2411.32T:panama
11.9012.0612.13T:simon128128ctr
12.9113.0113.14T:tpy
14.5814.6314.72T:tpypy
15.0715.1215.19T:aes256estream
17.3517.4317.82T:simon128256ctr
30.8830.9731.33T:ocelot2
30.3731.3832.22T:ocelot1
35.2035.2435.30T:hc128
46.8848.0549.88T:amastrid
86.8987.3588.12T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.692.692.70chacha8
2.64?3.02?3.36?T:aes128ctr
3.12?3.22?3.94?aes256ctr
3.703.723.73chacha12
4.274.274.28salsa208
4.975.005.03T:speck6496ctr
5.085.095.14T:speck64128ctr
5.675.675.67salsa2012
5.705.775.88chacha20
7.177.237.56T:speck128128ctr
7.257.317.45T:speck128192ctr
7.567.567.72T:speck128256ctr
8.508.508.64salsa20
10.2810.3310.38T:snow20
11.2211.3011.45T:aes192ctr
12.3812.4112.47T:rabbit
13.2313.2813.31T:simon6496ctr
13.7313.8013.89T:trivium
13.7713.9114.11T:aes128estream
14.0514.0514.06T:cryptmtv3
13.9814.1214.56T:lexv2
14.7714.9715.11T:simon64128ctr
16.1716.3116.33tango642
17.9217.9718.05xsalsa20
19.6219.6919.89T:aes256estream
21.4821.5821.84T:simon128128ctr
23.1623.2223.38T:nlsv2
25.6426.0226.41T:simon128256ctr
39.2239.4139.66T:sosemanuk
41.4241.6941.95T:tpy6
72.3372.5973.48T:panama
89.2089.7290.20T:tpypy
91.7392.5692.75T:tpy
109.83?110.67?124.94?T:ocelot1
110.61110.92111.17T:ocelot2
134.91135.56135.94T:amastrid
298.34299.17299.44T:hc128
756.69757.69758.53T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
20.7520.8821.12T:aes128ctr
23.50?23.62?26.50?chacha8
24.3824.7525.25aes256ctr
27.8828.8830.75T:speck6496ctr
28.50?28.88?32.50?T:speck128192ctr
28.62?29.12?32.62?T:speck128128ctr
29.00?29.12?32.38?T:speck64128ctr
28.62?29.38?32.50?T:speck128256ctr
31.62?31.88?36.00?chacha12
42.0042.3842.88salsa208
49.5051.0054.75chacha20
61.8862.0062.50T:simon6496ctr
62.7563.6267.38salsa2012
64.6264.7565.62T:aes128estream
70.8872.2574.12T:aes256estream
71.7572.5073.00T:simon64128ctr
73.3873.6274.62T:rabbit
81.7582.1282.75T:trivium
81.6283.5084.62T:snow20
83.2584.2585.12T:lexv2
87.8888.1288.62salsa20
87.6290.2592.50T:aes192ctr
90.5091.7592.25T:cryptmtv3
105.38106.25108.88T:nlsv2
117.12119.12123.38T:simon128128ctr
122.00122.12123.00tango642
130.50131.62132.88T:simon128256ctr
163.00163.75165.38xsalsa20
309.00311.00314.12T:tpy6
310.75312.88315.88T:sosemanuk
566.25568.62571.38T:panama
677.25682.50691.25T:tpypy
718.00720.88723.62T:tpy
747.75749.25760.38T:ocelot1
730.38?758.00?846.50?T:ocelot2
894.38899.12903.12T:amastrid
2388.002391.002393.88T:hc128
6053.886062.006104.00T:hc256