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; K10 45nm (100f63); 2010 AMD Athlon II Neo K125; 1 x 1700MHz; h3neo, supercop-20260330

[Page version: 20260624 14:36:14]

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 (or StQ1 starting with supercop-20260214), the median of many speed measurements (or StQ2 starting with supercop-20260214), the third quartile of many speed measurements (or StQ3 starting with supercop-20260214), and the name of the primitive. Measurements with large interquartile range (or stabilized interquartile range) 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: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
1.231.231.24tango642
2.822.822.82chacha8
2.952.983.01T:hc128
2.972.993.04T:tpy
3.153.163.16T:tpy6
3.443.463.46salsa208
3.803.823.85T:hc256
3.853.903.94T:snow20
3.953.963.97T:nlsv2
3.953.963.97chacha12
3.994.004.01T:trivium
4.234.234.23T:sosemanuk
4.274.404.63T:panama
4.554.574.59T:tpypy
4.584.584.58T:rabbit
4.804.814.82salsa2012
4.874.944.95T:cryptmtv3
4.974.974.98T:lexv2
6.236.246.25chacha20
7.497.497.51xsalsa20
7.487.507.50salsa20
10.2510.2710.31T:aes128estream
18.0818.1418.36T:aes256estream
20.87?23.55?23.89?T:aes128ctr
26.4526.5727.04T:aes192ctr
29.4829.6029.74T:aes256ctr
28.3329.6429.85T:ocelot1
30.7631.7132.37T:ocelot2
54.96?62.58?64.50?T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.471.471.48tango642
2.842.842.85chacha8
3.473.483.48salsa208
3.983.983.99chacha12
3.994.024.05T:snow20
4.174.174.17T:trivium
4.174.184.18T:tpy6
4.234.234.24T:nlsv2
4.514.514.51T:sosemanuk
4.704.704.70T:rabbit
4.844.844.84salsa2012
5.055.065.09T:tpy
5.135.145.14T:lexv2
5.705.735.90T:panama
5.865.925.92T:cryptmtv3
6.266.276.27chacha20
6.486.486.49T:tpypy
7.527.537.53salsa20
7.607.627.64T:hc128
7.657.657.66xsalsa20
10.3210.3310.36T:aes128estream
16.0916.1016.12T:hc256
18.2218.2518.41T:aes256estream
24.1024.1324.36T:aes128ctr
27.0327.0927.43T:aes192ctr
30.0430.1030.18T:aes256ctr
30.6331.5031.59T:ocelot1
33.0833.6133.95T:ocelot2
59.2664.4965.15T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.871.871.88tango642
2.892.892.89chacha8
3.513.523.52salsa208
4.034.034.04chacha12
4.194.214.22T:snow20
4.444.444.45T:trivium
4.874.884.89T:nlsv2
4.894.894.90salsa2012
4.904.904.91T:rabbit
5.075.075.07T:sosemanuk
5.425.435.44T:lexv2
5.875.875.88T:tpy6
6.316.316.32chacha20
7.387.387.39T:cryptmtv3
7.567.587.59salsa20
7.897.907.92xsalsa20
7.938.018.20T:panama
8.508.518.52T:tpy
9.659.669.67T:tpypy
10.4410.4710.48T:aes128estream
15.3515.3715.40T:hc128
18.4018.4518.48T:aes256estream
24.9024.9224.99T:aes128ctr
27.9127.9728.05T:aes192ctr
30.8730.9131.03T:aes256ctr
34.4034.7335.05T:ocelot1
36.5536.5636.58T:hc256
36.2436.7037.48T:ocelot2
58.43?63.18?68.04?T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
2.942.942.96tango642
3.283.283.29chacha8
3.613.613.62salsa208
4.594.594.61chacha12
4.714.734.76T:snow20
5.175.175.19T:trivium
5.285.295.30salsa2012
5.425.435.44T:rabbit
6.156.176.19T:lexv2
6.296.326.32T:nlsv2
6.586.586.59T:sosemanuk
7.197.207.22chacha20
8.158.178.17salsa20
9.109.119.14xsalsa20
9.279.409.41T:cryptmtv3
10.4210.4410.44T:tpy6
10.7110.7310.73T:aes128estream
13.8313.8814.25T:panama
17.7017.7417.78T:tpy
18.1018.1218.16T:tpypy
18.9318.9619.02T:aes256estream
27.21?27.31?35.70?T:aes128ctr
30.2230.2730.36T:aes192ctr
33.2133.2333.28T:aes256ctr
35.9836.0436.05T:hc128
42.8842.9543.05T:ocelot1
44.5244.9245.47T:ocelot2
76.4777.6577.84T:amastrid
91.0691.1091.17T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
4.594.594.67salsa208
6.566.566.85chacha8
8.548.568.56salsa2012
9.269.279.44chacha12
11.4711.5111.56T:snow20
11.9511.9712.11T:rabbit
13.0613.0613.06salsa20
14.2914.3514.46T:trivium
14.3814.4814.60T:aes128estream
14.6214.6214.72chacha20
15.1615.2015.28T:lexv2
15.9015.9816.26tango642
19.8919.8920.08T:cryptmtv3
21.1921.2321.24xsalsa20
22.7522.7722.77T:sosemanuk
25.8525.8926.02T:aes256estream
28.8528.9329.34T:nlsv2
55.4756.3458.24T:aes128ctr
59.8860.0460.48T:aes192ctr
62.74?64.93?72.07?T:aes256ctr
68.1668.3068.58T:tpy6
89.1990.1991.73T:panama
126.45126.66127.19T:tpypy
135.19135.44135.78T:tpy
151.47151.54152.02T:ocelot1
152.49153.57154.95T:ocelot2
203.77204.52204.80T:amastrid
299.99300.26300.53T:hc128
788.26788.64789.52T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
42.1242.1242.82salsa208
54.9655.4156.43T:aes128estream
56.4956.9260.51chacha8
69.7569.7569.75T:rabbit
71.1871.2571.26salsa2012
77.7578.5282.80chacha12
86.8886.9787.01T:trivium
87.2087.3590.23T:lexv2
88.9289.5091.23T:snow20
99.53100.39101.01T:aes256estream
107.18107.25107.25salsa20
107.43108.04109.41T:cryptmtv3
119.62119.69123.19tango642
121.35121.56126.07chacha20
147.21148.59149.66T:nlsv2
172.53172.62172.97xsalsa20
180.38180.50182.04T:sosemanuk
320.34323.06325.66T:aes192ctr
324.10326.78336.19T:aes128ctr
328.86331.30336.72T:aes256ctr
527.86529.15529.56T:tpy6
710.74713.19730.68T:panama
981.57984.71988.43T:tpypy
1008.451011.121017.50T:ocelot2
1010.711013.171013.50T:ocelot1
1073.691074.391075.93T:tpy
1314.181325.731328.25T:amastrid
2397.142398.012399.25T:hc128
6301.116304.816306.60T:hc256