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 32nm (300f10); 2011 AMD A8-3850; 4 x 2900MHz; hydra5, supercop-20250307

[Page version: 20250419 12:17: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, 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: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
1.061.071.11tango642
1.741.741.75chacha8
1.871.881.90salsa208
2.452.462.47chacha12
2.662.662.67salsa2012
2.792.802.81T:hc128
3.693.703.75T:tpy
3.723.733.74T:cryptmtv3
3.743.743.75T:tpy6
3.843.853.85T:nlsv2
3.873.883.89chacha20
3.893.903.91T:sosemanuk
3.953.953.99T:hc256
4.004.004.00T:trivium
4.144.164.23T:snow20
4.234.244.24T:rabbit
4.244.244.27xsalsa20
4.244.254.27salsa20
4.254.264.28T:panama
4.694.694.70T:lexv2
5.225.245.25T:tpypy
9.679.699.70T:aes128estream
18.0218.0318.07T:aes256estream
21.72?24.75?24.80?T:aes128ctr
24.11?25.34?46.07?T:aes192ctr
28.5529.3230.13T:ocelot1
30.1930.3830.85T:ocelot2
28.5931.4231.76T:aes256ctr
48.1949.5950.93T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.311.321.35tango642
1.781.781.78chacha8
1.901.911.92salsa208
2.492.492.49chacha12
2.692.692.69salsa2012
3.913.923.92chacha20
4.064.064.06T:nlsv2
4.154.154.15T:sosemanuk
4.174.174.17T:trivium
4.274.274.31T:snow20
4.274.274.29salsa20
4.364.364.36T:rabbit
4.374.374.38T:cryptmtv3
4.394.394.40xsalsa20
4.704.704.71T:tpy6
4.854.854.85T:lexv2
5.555.555.56T:panama
5.635.635.64T:tpy
7.127.127.13T:tpypy
7.307.307.31T:hc128
9.759.759.75T:aes128estream
15.6715.6715.70T:hc256
18.1518.1518.17T:aes256estream
25.1925.2325.26T:aes128ctr
28.69?28.76?42.17?T:aes192ctr
30.8031.3331.81T:ocelot1
32.0732.0732.22T:aes256ctr
32.3232.4332.74T:ocelot2
51.0251.9852.93T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.731.731.73tango642
1.821.821.84chacha8
1.951.951.96salsa208
2.522.532.55chacha12
2.732.742.74salsa2012
3.953.994.00chacha20
4.314.334.33salsa20
4.444.454.50T:snow20
4.454.454.45T:trivium
4.544.554.57T:nlsv2
4.564.574.57T:rabbit
4.614.614.63T:sosemanuk
4.614.624.64xsalsa20
5.115.115.11T:lexv2
5.995.995.99T:cryptmtv3
6.306.326.34T:tpy6
7.687.687.71T:panama
8.838.858.88T:tpy
9.859.899.90T:aes128estream
10.2610.2610.28T:tpypy
14.7814.7914.80T:hc128
18.3318.3418.38T:aes256estream
25.98?26.05?34.84?T:aes128ctr
32.9532.9533.27T:aes256ctr
34.4734.5734.85T:ocelot1
35.1835.1835.23T:hc256
35.8136.1536.24T:ocelot2
38.34?38.41?48.42?T:aes192ctr
55.2256.5958.17T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
2.112.112.11chacha8
2.202.232.23salsa208
2.832.832.83tango642
2.942.952.97chacha12
3.063.073.07salsa2012
4.624.644.65chacha20
4.794.824.83salsa20
4.914.985.01T:snow20
5.125.135.14T:rabbit
5.195.195.20T:trivium
5.645.645.66xsalsa20
5.595.645.64T:nlsv2
5.815.835.83T:lexv2
6.046.046.05T:sosemanuk
6.876.876.88T:cryptmtv3
10.1610.2210.27T:aes128estream
10.5710.5710.63T:tpy6
13.3913.4213.47T:panama
17.3717.4417.50T:tpy
18.6418.6918.69T:tpypy
18.9018.9018.92T:aes256estream
28.06?28.16?37.08?T:aes128ctr
34.7934.8134.81T:hc128
35.3435.4035.64T:aes256ctr
40.72?40.91?51.80?T:aes192ctr
43.2843.6543.96T:ocelot1
44.6644.8345.18T:ocelot2
64.3365.4066.06T:amastrid
87.3087.3587.47T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
4.504.564.56salsa208
4.774.774.77chacha8
5.955.955.98salsa2012
6.696.696.72chacha12
8.788.838.86salsa20
10.5310.5310.56chacha20
11.2211.3311.42T:snow20
11.9712.0212.08T:rabbit
13.9513.9514.06T:aes128estream
14.4514.4514.47T:trivium
14.5214.5814.62T:lexv2
15.8315.8415.86xsalsa20
16.4716.5916.61tango642
17.3017.5317.75T:cryptmtv3
21.8421.8921.94T:sosemanuk
22.3922.6122.64T:nlsv2
25.5325.5525.62T:aes256estream
55.6455.8057.53T:aes128ctr
64.4564.5264.84T:tpy6
65.5266.3967.11T:aes256ctr
70.8172.1478.39T:aes192ctr
86.0686.6687.17T:panama
126.00126.17126.17T:tpypy
125.80127.02127.11T:tpy
159.83159.86160.27T:ocelot1
160.33160.75162.98T:ocelot2
190.45192.58197.05T:amastrid
290.78291.02291.50T:hc128
754.05754.05754.41T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
41.2541.2541.38chacha8
41.7542.2542.38salsa208
53.8854.0054.50salsa2012
55.1255.3860.50chacha12
58.2558.6259.88T:aes128estream
72.5072.5072.50T:rabbit
77.1278.1278.62salsa20
83.5083.5083.88T:lexv2
84.5084.6285.12chacha20
87.1287.6288.62T:snow20
89.3889.3889.38T:trivium
96.1296.6298.12T:aes256estream
101.12102.12103.88T:cryptmtv3
114.62115.25117.00T:nlsv2
125.38125.38125.50tango642
134.50134.75134.88xsalsa20
172.75173.00175.25T:sosemanuk
298.25302.75328.50T:aes128ctr
331.00334.50347.25T:aes256ctr
333.38345.00369.88T:aes192ctr
489.75494.75495.75T:tpy6
682.25686.75689.38T:panama
974.00976.75976.88T:tpypy
996.251003.381006.00T:tpy
1071.381074.381088.75T:ocelot2
1070.501080.381086.88T:ocelot1
1320.621325.121329.38T:amastrid
2317.502323.122325.88T:hc128
6025.626025.626026.12T:hc256