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

[Page version: 20241014 13:34:05]

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.071.071.11tango642
1.751.751.75chacha8
1.891.911.91salsa208
2.452.462.47chacha12
2.712.722.73salsa2012
2.772.782.79T:hc128
3.423.433.44T:cryptmtv3
3.703.723.73T:tpy
3.743.753.76T:tpy6
3.853.863.88T:nlsv2
3.873.893.90chacha20
3.863.903.91T:sosemanuk
3.933.953.97T:hc256
4.004.004.00T:trivium
4.134.154.24T:snow20
4.234.244.24T:rabbit
4.194.274.32T:panama
4.394.394.42xsalsa20
4.364.404.42salsa20
4.684.694.71T:lexv2
5.225.255.27T:tpypy
9.679.709.85T:aes128estream
18.0618.0918.11T:aes256estream
24.7024.7024.99T:aes128ctr
25.12?28.16?28.33?T:aes192ctr
28.3229.0929.73T:ocelot1
30.1930.3930.96T:ocelot2
31.3931.4331.50T:aes256ctr
47.57?49.03?53.07?T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.321.321.35tango642
1.781.781.78chacha8
1.921.941.94salsa208
2.492.492.49chacha12
2.752.752.75salsa2012
3.923.933.93chacha20
4.064.064.08T:nlsv2
4.124.144.15T:sosemanuk
4.174.174.17T:trivium
4.264.264.32T:snow20
4.364.364.36T:rabbit
4.384.384.38T:cryptmtv3
4.404.434.44salsa20
4.544.544.56xsalsa20
4.704.714.71T:tpy6
4.844.854.86T:lexv2
5.545.555.58T:panama
5.625.645.64T:tpy
7.117.127.14T:tpypy
7.297.297.29T:hc128
9.759.769.88T:aes128estream
15.6715.6715.68T:hc256
18.1918.2118.22T:aes256estream
25.2925.2925.43T:aes128ctr
28.6128.7128.81T:aes192ctr
30.6631.1731.50T:ocelot1
31.9631.9632.01T:aes256ctr
32.3232.4532.85T:ocelot2
50.8851.5754.15T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.731.731.73tango642
1.821.821.84chacha8
1.971.981.98salsa208
2.522.522.54chacha12
2.782.792.80salsa2012
3.983.984.00chacha20
4.454.454.45T:trivium
4.464.474.50T:snow20
4.454.484.48salsa20
4.534.544.55T:nlsv2
4.564.564.58T:rabbit
4.604.624.63T:sosemanuk
4.784.794.82xsalsa20
5.115.125.13T:lexv2
6.296.316.32T:tpy6
6.776.776.77T:cryptmtv3
7.697.697.80T:panama
8.828.848.84T:tpy
9.869.879.95T:aes128estream
10.2610.2710.28T:tpypy
14.7814.7814.79T:hc128
18.3918.4218.46T:aes256estream
25.99?26.26?34.91?T:aes128ctr
32.8432.9032.91T:aes256ctr
34.1534.5334.67T:ocelot1
35.1935.1935.20T:hc256
35.5836.1836.21T:ocelot2
38.2738.3338.38T:aes192ctr
56.1256.3256.72T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
2.112.112.11chacha8
2.202.212.25salsa208
2.832.842.84tango642
2.942.952.96chacha12
3.083.093.11salsa2012
4.644.674.67chacha20
4.944.954.95T:snow20
4.974.995.01salsa20
5.125.125.15T:rabbit
5.195.205.20T:trivium
5.575.605.62T:nlsv2
5.805.805.80xsalsa20
5.855.855.88T:lexv2
6.036.046.09T:sosemanuk
7.837.847.87T:cryptmtv3
10.1510.1510.18T:aes128estream
10.5910.6210.64T:tpy6
13.3613.4013.75T:panama
17.3217.3417.40T:tpy
18.6318.6418.73T:tpypy
18.9318.9518.96T:aes256estream
28.5728.5928.60T:aes128ctr
34.7634.7634.85T:hc128
35.1135.3235.35T:aes256ctr
40.3740.6040.77T:aes192ctr
43.8543.8844.01T:ocelot1
44.8344.8545.12T:ocelot2
64.2966.3266.64T:amastrid
87.2887.2887.30T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
4.364.364.45salsa208
4.754.754.75chacha8
5.755.755.77salsa2012
6.696.696.72chacha12
9.199.229.45salsa20
10.5210.5310.55chacha20
11.1411.3811.44T:snow20
11.9111.9211.97T:rabbit
13.8913.9514.00T:aes128estream
14.4514.5214.52T:trivium
14.5214.6614.88T:lexv2
16.4116.4116.47xsalsa20
16.4716.5216.59tango642
18.1118.3318.33T:cryptmtv3
21.8621.9221.94T:sosemanuk
22.4722.5322.55T:nlsv2
25.6925.9426.06T:aes256estream
57.0260.0660.09T:aes128ctr
60.05?61.09?70.95?T:aes192ctr
64.4264.6264.81T:tpy6
64.1466.0666.23T:aes256ctr
85.6786.2889.53T:panama
125.56125.86126.06T:tpypy
125.94126.17126.80T:tpy
159.98160.44160.53T:ocelot2
159.45160.61162.39T:ocelot1
191.58193.17193.56T:amastrid
290.97290.97291.06T:hc128
753.75753.78754.97T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
38.2538.2538.38salsa208
41.2541.3841.62chacha8
49.0049.1249.12salsa2012
55.1255.1255.50chacha12
57.8858.1258.38T:aes128estream
71.6271.6272.12T:rabbit
85.2585.2586.25T:lexv2
86.7586.8893.38chacha20
87.5088.0090.25T:snow20
89.3889.5089.50T:trivium
99.7599.75103.75salsa20
99.75101.50102.88T:aes256estream
107.88111.62112.00T:cryptmtv3
114.88115.25117.38T:nlsv2
125.25125.38126.25tango642
162.50162.50164.25xsalsa20
173.38173.50173.50T:sosemanuk
326.12334.50347.12T:aes128ctr
324.50336.38349.62T:aes192ctr
325.38337.00338.75T:aes256ctr
490.38492.25492.75T:tpy6
682.12683.00709.50T:panama
973.25974.75974.75T:tpypy
992.62994.501000.38T:tpy
1069.251071.001072.25T:ocelot2
1073.251080.381090.62T:ocelot1
1278.621303.621324.62T:amastrid
2323.122324.502326.88T:hc128
6024.506028.506031.75T:hc256