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-20250415

[Page version: 20250523 10:17:49]

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.211.211.23tango642
2.822.822.82chacha8
2.882.902.90T:hc128
3.433.453.48salsa208
3.473.483.50T:tpy6
3.593.603.60T:tpy
3.963.963.96chacha12
4.014.034.04T:nlsv2
4.064.094.11T:sosemanuk
4.154.184.19T:hc256
4.194.194.19T:trivium
4.114.204.22T:snow20
4.324.364.42T:panama
4.464.474.47T:rabbit
4.824.834.84salsa2012
4.964.974.98T:lexv2
5.125.275.27T:cryptmtv3
5.815.815.82T:tpypy
6.236.246.24chacha20
7.477.487.49xsalsa20
7.477.497.52salsa20
10.2210.2710.31T:aes128estream
19.3719.4019.42T:aes256estream
27.8427.8628.06T:aes128ctr
28.8629.4930.36T:ocelot1
31.1931.3531.59T:aes192ctr
31.9133.0133.46T:ocelot2
34.7335.0035.17T:aes256ctr
53.3854.3355.95T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.461.461.48tango642
2.842.842.84chacha8
3.463.483.49salsa208
3.993.993.99chacha12
4.284.294.30T:nlsv2
4.254.314.32T:snow20
4.324.344.35T:sosemanuk
4.354.354.35T:trivium
4.464.474.48T:tpy6
4.594.594.59T:rabbit
4.864.864.87salsa2012
5.135.135.14T:lexv2
5.615.615.61T:tpy
5.645.655.69T:panama
5.916.026.02T:cryptmtv3
6.276.276.27chacha20
7.517.527.54salsa20
7.537.537.54T:hc128
7.647.647.64xsalsa20
7.847.847.85T:tpypy
10.3110.3310.36T:aes128estream
16.4516.4516.46T:hc256
19.5119.5219.52T:aes256estream
28.3828.3928.53T:aes128ctr
31.2431.4032.03T:ocelot1
31.8631.8632.04T:aes192ctr
34.1434.9535.19T:ocelot2
35.4235.5435.65T:aes256ctr
56.0656.7157.49T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.881.881.89tango642
2.892.892.89chacha8
3.503.513.52salsa208
4.034.034.04chacha12
4.454.514.51T:snow20
4.634.634.63T:trivium
4.794.804.81T:rabbit
4.844.844.85T:sosemanuk
4.904.914.92salsa2012
5.015.015.02T:nlsv2
5.415.415.42T:lexv2
6.106.116.13T:tpy6
6.326.326.32chacha20
7.557.567.75T:cryptmtv3
7.567.577.60salsa20
7.797.827.86T:panama
7.907.917.92xsalsa20
8.968.968.97T:tpy
10.4110.4610.48T:aes128estream
11.2111.2211.24T:tpypy
15.2615.2615.26T:hc128
19.6919.7419.75T:aes256estream
29.2829.3329.34T:aes128ctr
32.7332.8432.88T:aes192ctr
34.2634.9134.95T:ocelot1
36.2936.5036.52T:aes256ctr
36.9036.9236.93T:hc256
37.5337.6838.23T:ocelot2
59.0859.7860.67T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
2.972.972.97tango642
3.273.283.28chacha8
3.603.613.62salsa208
4.594.594.62chacha12
4.975.015.06T:snow20
5.305.305.30salsa2012
5.355.355.38T:rabbit
5.375.375.38T:trivium
6.136.176.20T:lexv2
6.266.286.30T:sosemanuk
6.486.516.53T:nlsv2
7.227.247.25chacha20
8.168.168.24salsa20
8.908.908.93T:cryptmtv3
9.059.069.08xsalsa20
10.4510.4610.50T:tpy6
10.7110.7310.78T:aes128estream
13.5913.6113.67T:panama
17.8617.9017.92T:tpy
20.2620.2722.48T:tpypy
20.2520.2820.32T:aes256estream
31.70?31.74?38.48?T:aes128ctr
35.19?35.30?41.75?T:aes192ctr
35.9235.9736.01T:hc128
38.7139.0539.16T:aes256ctr
43.6243.7444.27T:ocelot1
46.9546.9947.10T:ocelot2
68.7869.7271.12T:amastrid
91.4491.4591.47T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
4.624.624.64salsa208
6.556.566.56chacha8
8.538.568.56salsa2012
9.259.259.55chacha12
11.8011.9211.97T:snow20
12.2012.2012.22T:rabbit
13.0213.0313.11salsa20
14.3414.5214.55T:aes128estream
14.5814.5814.59T:trivium
14.6414.6414.64chacha20
15.0515.1415.22T:lexv2
16.6116.6116.86tango642
20.1920.1920.19T:cryptmtv3
20.8121.0521.09xsalsa20
22.4222.4822.50T:sosemanuk
27.2027.2327.28T:aes256estream
32.5232.6432.88T:nlsv2
61.6962.0862.33T:aes128ctr
63.0263.4265.05T:aes192ctr
65.7865.8966.30T:tpy6
69.3470.3672.27T:aes256ctr
87.1787.4587.55T:panama
131.72131.89132.11T:tpy
135.56135.59136.20T:tpypy
159.67159.81159.98T:ocelot2
163.30163.58163.75T:ocelot1
194.77198.33198.94T:amastrid
299.88300.36300.45T:hc128
789.86790.16790.23T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
42.2542.2542.38salsa208
55.0055.6255.62T:aes128estream
57.1257.1260.88chacha8
71.0071.1271.12salsa2012
72.8872.8873.12T:rabbit
78.7580.2583.62chacha12
87.6287.6287.75T:trivium
89.1289.1289.12T:lexv2
92.1293.1294.12T:snow20
102.75103.38104.00T:aes256estream
106.88107.00107.25salsa20
107.12108.12108.62T:cryptmtv3
119.12121.50123.25chacha20
124.12124.75126.75tango642
147.12148.12148.25T:nlsv2
168.88169.00169.12xsalsa20
177.50177.50177.50T:sosemanuk
331.12331.88346.50T:aes128ctr
327.00335.38337.50T:aes192ctr
356.38360.00376.00T:aes256ctr
503.88505.12508.38T:tpy6
686.75689.38696.00T:panama
1029.001029.251031.12T:tpy
1046.251047.501050.00T:tpypy
1048.251049.881051.50T:ocelot2
1108.501109.501115.00T:ocelot1
1306.381322.751365.12T:amastrid
2397.122398.122398.62T:hc128
6311.256315.386316.75T:hc256