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; Bobcat (500f20); 2011 AMD E-450; 2 x 1650MHz; h4e450, supercop-20260330

[Page version: 20260805 22:02: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.701.711.72tango642
3.333.343.35T:hc128
3.793.823.88T:tpy6
4.084.094.11chacha8
4.02?4.36?4.51?T:tpy
4.364.414.42T:nlsv2
4.494.514.53T:hc256
4.524.544.56salsa208
5.435.445.46T:snow20
5.445.455.46T:cryptmtv3
5.615.625.63chacha12
5.795.825.84T:panama
5.905.915.91T:trivium
6.316.316.35salsa2012
6.186.346.75T:sosemanuk
6.536.546.55T:rabbit
7.027.047.16T:tpypy
7.537.537.54T:lexv2
8.518.538.55T:speck6496ctr
8.608.618.62chacha20
8.838.858.87T:speck64128ctr
9.879.889.89salsa20
9.889.889.88xsalsa20
10.8110.8310.85T:speck128128ctr
11.1211.1411.16T:speck128192ctr
11.4511.4611.48T:speck128256ctr
14.4414.5114.52T:aes128estream
15.5415.5715.65T:simon6496ctr
16.4116.5717.71T:simon64128ctr
23.6923.7723.90T:aes256estream
23.7723.8023.88T:simon128128ctr
26.8326.8526.89T:simon128256ctr
32.56?32.79?52.53?T:ocelot1
35.9236.7537.16T:aes128ctr
39.8140.9041.27T:aes192ctr
46.1546.3847.01T:aes256ctr
54.7455.2659.85T:ocelot2
73.2474.5475.24T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
2.022.022.03tango642
4.144.144.15chacha8
4.574.574.59salsa208
4.684.714.71T:nlsv2
5.165.165.17T:tpy6
5.625.625.64T:snow20
5.665.675.67chacha12
6.156.156.15T:trivium
6.286.286.29T:cryptmtv3
6.356.356.38salsa2012
6.466.596.70T:tpy
6.666.696.99T:sosemanuk
6.726.726.73T:rabbit
7.787.787.78T:lexv2
7.897.907.91T:panama
8.658.658.67T:speck6496ctr
8.668.668.67chacha20
8.988.988.99T:speck64128ctr
9.679.689.69T:tpypy
9.809.819.81T:hc128
9.919.919.93salsa20
10.0710.0710.07xsalsa20
10.9410.9510.96T:speck128128ctr
11.2611.2611.27T:speck128192ctr
11.5811.5811.59T:speck128256ctr
14.6014.6214.63T:aes128estream
16.4016.4216.46T:simon6496ctr
17.7717.7818.55T:simon64128ctr
20.3220.3320.33T:hc256
23.9223.9424.03T:aes256estream
25.2825.2925.34T:simon128128ctr
29.0629.0629.09T:simon128256ctr
37.6738.2638.48T:aes128ctr
39.95?40.03?51.90?T:ocelot1
41.6042.3142.52T:aes192ctr
47.6247.7148.08T:aes256ctr
57.4157.7861.15T:ocelot2
76.8777.2677.31T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
2.542.542.55tango642
4.224.234.24chacha8
4.634.644.66salsa208
5.375.385.45T:nlsv2
5.745.745.74chacha12
5.935.936.04T:snow20
6.416.426.44salsa2012
6.566.566.56T:trivium
7.047.047.05T:rabbit
7.287.327.37T:tpy6
7.387.417.72T:sosemanuk
8.198.198.20T:lexv2
8.278.278.27T:cryptmtv3
8.758.768.78chacha20
8.848.858.88T:speck6496ctr
9.189.209.24T:speck64128ctr
9.979.9810.00salsa20
10.3810.3810.39xsalsa20
10.3210.5710.65T:tpy
11.1211.1311.17T:speck128128ctr
11.3011.3411.36T:panama
11.4511.4611.49T:speck128192ctr
11.7711.7711.78T:speck128256ctr
14.0914.1014.12T:tpypy
14.8114.8214.82T:aes128estream
17.8017.8417.88T:simon6496ctr
19.6019.6320.37T:simon64128ctr
20.5520.5620.57T:hc128
24.1924.2324.26T:aes256estream
27.7427.7927.84T:simon128128ctr
32.7432.7532.88T:simon128256ctr
40.5640.8540.96T:aes128ctr
44.5544.7044.96T:aes192ctr
46.6546.6646.67T:hc256
49.5749.8850.12T:aes256ctr
46.98?58.39?58.75?T:ocelot1
61.6962.3565.48T:ocelot2
78.7283.1883.81T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
3.883.913.95tango642
4.444.474.52chacha8
4.784.804.83salsa208
6.026.026.04chacha12
6.586.586.58salsa2012
6.756.766.76T:snow20
7.017.037.04T:nlsv2
7.647.647.64T:trivium
7.837.857.87T:rabbit
9.119.129.15chacha20
9.279.279.29T:lexv2
9.319.349.61T:sosemanuk
9.349.389.46T:speck6496ctr
9.719.719.76T:speck64128ctr
9.779.789.80T:cryptmtv3
10.1310.1510.15salsa20
11.2111.2111.23xsalsa20
11.6511.6911.79T:speck128128ctr
11.9912.0012.09T:speck128192ctr
12.3112.3512.38T:speck128256ctr
12.9413.0313.17T:tpy6
15.3115.3515.38T:aes128estream
20.5720.8321.39T:panama
20.6921.3221.38T:tpy
23.5823.6023.71T:simon6496ctr
24.9224.9424.98T:aes256estream
25.9625.9826.01T:tpypy
32.8632.9833.52T:simon64128ctr
45.1845.2445.29T:simon128128ctr
47.1047.1347.19T:simon128256ctr
46.9447.2848.13T:aes128ctr
49.3249.3349.36T:hc128
50.1950.7651.72T:aes192ctr
55.8355.9656.26T:aes256ctr
57.95?69.68?70.17?T:ocelot1
72.5973.4473.93T:ocelot2
96.1796.7599.59T:amastrid
117.00117.03117.07T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
6.026.276.49chacha8
6.426.576.73salsa208
8.318.318.38chacha12
8.488.528.68salsa2012
11.9912.1512.49salsa20
12.0712.1912.47chacha20
15.2815.3915.85T:speck6496ctr
15.9616.2216.71T:speck64128ctr
17.3817.4017.45T:snow20
17.9118.2118.57T:speck128128ctr
18.0918.4718.74T:rabbit
18.5318.8019.22T:speck128192ctr
18.8618.9819.40T:speck128256ctr
21.2221.2221.52T:trivium
21.3821.4522.08tango642
21.5921.7822.03T:aes128estream
21.6221.8122.15xsalsa20
23.0223.0223.22T:lexv2
28.1928.2928.55T:cryptmtv3
29.5929.7629.83T:sosemanuk
32.9233.1433.29T:nlsv2
34.1734.3034.85T:aes256estream
34.6935.1135.71T:simon64128ctr
35.1835.3735.68T:simon6496ctr
50.4150.4550.62T:simon128128ctr
55.1455.1855.24T:simon128256ctr
84.8285.0985.78T:tpy6
124.57126.63137.49T:aes192ctr
126.04129.36135.51T:aes128ctr
128.76132.30133.86T:aes256ctr
137.68137.99138.74T:panama
152.25158.55160.22T:tpy
176.49177.01177.47T:tpypy
201.20213.43213.70T:ocelot1
213.38215.78217.84T:ocelot2
283.90296.21299.38T:amastrid
417.53417.68417.97T:hc128
1016.991017.161017.27T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
34.5034.5037.92T:speck6496ctr
34.88?36.18?39.57?T:speck64128ctr
38.3339.9641.98T:speck128256ctr
41.2243.2045.47T:speck128192ctr
45.05?47.97?52.45?T:speck128128ctr
55.06?58.83?65.29?chacha8
64.8864.8865.08salsa208
78.2578.2580.12chacha12
79.6581.3881.38salsa2012
84.5585.3086.62T:simon6496ctr
98.1299.39101.00T:aes128estream
106.08107.41109.96T:simon64128ctr
107.62108.52109.88salsa20
109.25109.72111.14chacha20
109.12110.71113.25T:rabbit
128.05128.38130.07T:trivium
129.38129.38129.94T:simon128128ctr
130.83132.19136.49T:aes256estream
135.00135.29137.49T:lexv2
135.96136.43136.64T:snow20
160.45162.06168.68tango642
166.93168.04173.89T:simon128256ctr
167.43168.15170.33T:nlsv2
173.67173.88175.88T:cryptmtv3
186.38186.39187.38xsalsa20
230.76232.19234.22T:sosemanuk
715.10725.05734.10T:tpy6
773.09786.05805.09T:aes256ctr
780.07?792.95?898.73?T:aes192ctr
822.96?892.03?997.15?T:aes128ctr
1083.031090.731099.68T:panama
1305.121321.361350.06T:ocelot1
1315.421349.001373.62T:ocelot2
1424.061481.571530.88T:tpy
1483.881487.231493.77T:tpypy
1896.391917.201929.46T:amastrid
3340.283342.173343.09T:hc128
8131.648132.838135.26T:hc256