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

[Page version: 20260415 05:37:17]

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.091.091.10tango642
1.741.741.75chacha8
1.841.861.87salsa208
2.462.472.47chacha12
2.722.722.72salsa2012
2.792.802.82T:hc128
2.993.013.03T:tpy
3.043.043.05T:tpy6
3.223.233.24T:cryptmtv3
3.623.633.65T:nlsv2
3.703.733.77T:hc256
3.883.883.89chacha20
3.953.963.97T:snow20
4.054.054.06T:tpypy
4.054.104.15T:sosemanuk
4.194.204.25xsalsa20
4.204.214.21salsa20
4.374.374.38T:rabbit
4.394.424.46T:panama
4.694.704.70T:lexv2
5.305.315.32T:trivium
9.679.699.70T:aes128estream
17.2517.3117.34T:aes256estream
22.7923.0523.14T:aes128ctr
23.82?26.08?35.67?T:aes192ctr
28.5728.7529.01T:aes256ctr
28.6728.8328.94T:ocelot1
30.1430.8331.15T:ocelot2
54.1454.6555.88T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.321.321.33tango642
1.781.781.78chacha8
1.891.901.91salsa208
2.492.492.50chacha12
2.762.762.76salsa2012
3.903.903.91T:nlsv2
3.923.923.92chacha20
4.034.034.04T:tpy6
4.074.084.08T:snow20
4.254.254.25salsa20
4.364.374.40xsalsa20
4.364.374.41T:sosemanuk
4.384.394.39T:cryptmtv3
4.494.494.49T:rabbit
4.854.854.85T:lexv2
4.924.934.94T:tpy
5.535.535.53T:trivium
5.805.815.83T:panama
5.915.915.91T:tpypy
7.317.327.32T:hc128
9.759.759.76T:aes128estream
15.3115.3215.35T:hc256
17.4317.4417.46T:aes256estream
23.4023.5123.55T:aes128ctr
26.37?26.57?33.76?T:aes192ctr
29.2329.3329.45T:aes256ctr
30.5930.6930.73T:ocelot1
32.2332.7232.81T:ocelot2
55.8956.2156.92T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.701.701.71tango642
1.821.821.84chacha8
1.971.991.99salsa208
2.532.552.56chacha12
2.832.832.83salsa2012
3.983.983.99chacha20
4.264.274.28T:snow20
4.314.324.33salsa20
4.454.454.47T:nlsv2
4.634.644.68xsalsa20
4.684.694.70T:rabbit
4.924.925.01T:sosemanuk
5.115.125.13T:lexv2
5.675.685.71T:tpy6
5.885.895.91T:trivium
6.026.026.03T:cryptmtv3
8.098.138.17T:panama
8.128.148.15T:tpy
8.978.989.00T:tpypy
9.869.889.92T:aes128estream
14.8214.8314.85T:hc128
17.6517.6617.67T:aes256estream
24.1924.2624.34T:aes128ctr
27.1627.2327.41T:aes192ctr
30.25?30.42?37.65?T:aes256ctr
33.5333.6733.84T:ocelot1
34.6534.6634.69T:hc256
35.3735.8035.99T:ocelot2
58.1758.5460.53T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
2.112.112.13chacha8
2.312.342.36salsa208
2.712.722.74tango642
2.942.942.98chacha12
3.263.283.29salsa2012
4.624.634.66chacha20
4.744.804.83T:snow20
4.924.954.95salsa20
5.205.205.21T:rabbit
5.735.755.81T:nlsv2
5.775.775.78xsalsa20
5.815.815.82T:lexv2
6.406.406.41T:sosemanuk
6.836.856.88T:trivium
8.378.388.41T:cryptmtv3
10.0610.0710.09T:tpy6
10.1510.1610.23T:aes128estream
14.2114.2914.40T:panama
16.5916.6116.71T:tpy
17.2217.2317.26T:tpypy
18.1818.2218.33T:aes256estream
26.48?27.15?34.67?T:aes128ctr
29.6429.6829.79T:aes192ctr
32.6132.9433.04T:aes256ctr
34.8534.8834.92T:hc128
42.1042.1442.20T:ocelot1
43.5343.7244.13T:ocelot2
66.9667.3769.12T:amastrid
86.1686.2186.27T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
4.784.804.90chacha8
5.395.455.57salsa208
6.696.706.82chacha12
7.067.097.19salsa2012
10.1610.2210.37salsa20
10.5310.5310.54chacha20
11.2611.3311.40T:snow20
11.5611.5811.76T:rabbit
13.9413.9914.23T:aes128estream
14.5314.5814.62T:lexv2
15.0715.1115.35tango642
17.7317.7517.81xsalsa20
17.7717.8017.86T:cryptmtv3
18.7718.7718.94T:trivium
22.2822.3022.33T:sosemanuk
25.3325.3925.51T:aes256estream
25.2825.4125.58T:nlsv2
54.9356.4156.79T:aes128ctr
59.8960.2961.16T:aes192ctr
65.8665.9766.19T:tpy6
63.1066.0167.12T:aes256ctr
92.5093.0394.01T:panama
122.78122.88122.90T:tpypy
124.99125.32125.67T:tpy
147.72148.06148.42T:ocelot1
149.96150.43150.73T:ocelot2
193.76195.64196.10T:amastrid
291.65291.88292.03T:hc128
745.95746.23746.69T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
40.38?40.96?45.65?chacha8
55.10?55.91?63.14?chacha12
57.7158.0058.12T:aes128estream
68.0068.1769.25T:rabbit
76.6676.8577.43salsa208
83.1883.8385.98T:lexv2
84.7585.5888.75chacha20
86.8888.1088.96T:snow20
88.8888.9289.12salsa2012
99.3099.5499.96T:cryptmtv3
103.17103.75103.78T:aes256estream
112.00112.00112.02salsa20
113.38113.44113.82T:trivium
113.44113.50116.40tango642
135.25135.29136.51T:nlsv2
172.78172.88173.11xsalsa20
176.56176.69179.01T:sosemanuk
301.66309.27313.12T:aes128ctr
326.18327.68336.47T:aes192ctr
334.69?357.27?377.52?T:aes256ctr
505.81507.19509.08T:tpy6
732.05740.30747.82T:panama
946.76947.38949.73T:tpypy
976.93980.07986.26T:tpy
986.18989.461003.88T:ocelot2
984.77991.69994.32T:ocelot1
1276.591283.011286.34T:amastrid
2325.882327.272328.04T:hc128
5964.915965.595966.52T:hc256