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; Comet Lake (806ec); 2019 Intel Core i3-10110U; 2 x 2100MHz; know, supercop-20250307

[Page version: 20250326 01:56:40]

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: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.540.550.55chacha8
0.590.600.61salsa208
0.630.630.63T:aes128ctr
0.740.750.76chacha12
0.720.750.76tango642
0.780.800.81T:aes192ctr
0.840.850.85salsa2012
0.880.880.89aes256ctr
1.001.001.01T:speck6496ctr
1.031.041.05T:speck64128ctr
1.191.201.21chacha20
1.231.241.25T:speck128128ctr
1.261.271.28T:speck128192ctr
1.291.291.30T:speck128256ctr
1.331.341.35xsalsa20
1.331.341.35salsa20
1.481.491.50T:simon6496ctr
1.541.541.55T:simon64128ctr
1.751.771.79T:hc128
1.821.831.85T:sosemanuk
1.921.931.94T:trivium
1.982.022.07T:tpy
2.182.282.39T:tpy6
2.162.292.32T:hc256
2.282.292.30T:simon128128ctr
2.412.422.44T:simon128256ctr
2.472.482.50T:nlsv2
2.492.502.52T:cryptmtv3
2.742.762.77T:rabbit
2.792.812.83T:snow20
2.912.932.94T:panama
3.283.353.48T:tpypy
4.064.084.11T:lexv2
8.338.358.38T:aes128estream
13.2013.2213.28T:aes256estream
17.4717.5217.56T:ocelot1
18.9619.0719.24T:ocelot2
33.8634.1734.59T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.560.570.57chacha8
0.620.620.63salsa208
0.690.690.69T:aes128ctr
0.770.770.78chacha12
0.860.870.87salsa2012
0.900.910.91tango642
0.950.950.95aes256ctr
1.041.041.05T:speck6496ctr
1.081.091.09T:speck64128ctr
1.101.101.11T:aes192ctr
1.211.221.22chacha20
1.281.281.29T:speck128128ctr
1.311.311.32T:speck128192ctr
1.341.341.34T:speck128256ctr
1.361.361.37salsa20
1.451.461.46xsalsa20
1.711.721.72T:simon6496ctr
1.911.911.91T:simon64128ctr
2.022.032.03T:trivium
2.362.362.37T:sosemanuk
2.552.552.56T:simon128128ctr
2.612.622.63T:nlsv2
2.842.852.86T:rabbit
2.862.862.88T:simon128256ctr
2.912.922.93T:snow20
2.872.922.96T:tpy6
3.033.043.05T:cryptmtv3
3.373.393.41T:tpy
3.853.863.87T:panama
4.214.224.23T:lexv2
4.594.604.61T:hc128
4.704.734.79T:tpypy
8.408.428.43T:aes128estream
9.339.419.42T:hc256
13.3213.3413.37T:aes256estream
18.9418.9718.99T:ocelot1
20.5420.5920.60T:ocelot2
35.4535.6135.84T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.590.600.60chacha8
0.650.660.66salsa208
0.770.770.77T:aes128ctr
0.800.810.82chacha12
0.900.900.91salsa2012
1.051.061.06aes256ctr
1.101.111.11T:speck6496ctr
1.151.161.17T:speck64128ctr
1.161.171.20tango642
1.231.241.25chacha20
1.351.361.36T:speck128128ctr
1.381.381.40T:speck128192ctr
1.391.401.41salsa20
1.421.421.43T:speck128256ctr
1.581.611.63T:aes192ctr
1.651.661.67xsalsa20
2.092.092.10T:simon6496ctr
2.192.202.20T:trivium
2.502.512.51T:simon64128ctr
2.892.902.91T:nlsv2
2.982.993.00T:simon128128ctr
2.983.013.03T:rabbit
3.073.093.10T:snow20
3.273.283.29T:sosemanuk
3.593.603.62T:simon128256ctr
3.963.994.07T:tpy6
4.404.414.43T:cryptmtv3
4.444.454.47T:lexv2
5.415.425.44T:panama
5.635.725.76T:tpy
6.857.007.07T:tpypy
8.498.518.53T:aes128estream
9.309.319.34T:hc128
13.4913.5213.55T:aes256estream
21.2621.2921.31T:hc256
21.4021.4421.47T:ocelot1
22.9422.9923.21T:ocelot2
37.9038.0538.45T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.830.840.84chacha8
0.920.930.95salsa208
1.081.081.08T:aes128ctr
1.121.131.13chacha12
1.261.271.28salsa2012
1.351.351.36T:speck6496ctr
1.441.441.45aes256ctr
1.441.461.47T:speck64128ctr
1.631.641.66T:speck128128ctr
1.681.681.69T:speck128192ctr
1.681.691.74chacha20
1.731.741.75T:speck128256ctr
1.881.901.96tango642
1.941.951.98salsa20
2.612.632.64T:trivium
2.652.662.68xsalsa20
2.942.983.04T:aes192ctr
3.353.363.39T:simon64128ctr
3.433.443.46T:rabbit
3.513.543.56T:snow20
3.653.663.69T:nlsv2
3.743.763.79T:simon6496ctr
4.884.894.91T:simon128128ctr
4.995.025.03T:cryptmtv3
5.045.075.09T:lexv2
5.265.275.29T:simon128256ctr
5.745.765.79T:sosemanuk
6.776.957.11T:tpy6
8.818.838.86T:aes128estream
9.549.609.74T:panama
11.7011.8011.90T:tpy
12.8312.9313.07T:tpypy
13.9713.9914.02T:aes256estream
21.9021.9522.01T:hc128
27.5927.7027.91T:ocelot1
29.2529.3529.44T:ocelot2
43.1343.9944.46T:amastrid
52.8452.8953.00T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.273.303.33chacha8
3.783.813.84T:speck6496ctr
3.803.833.86salsa208
4.224.234.27chacha12
4.504.504.78T:speck128128ctr
4.344.554.64T:speck64128ctr
4.694.704.72T:aes128ctr
4.774.804.84T:speck128192ctr
4.884.925.03salsa2012
4.915.005.06T:speck128256ctr
5.775.815.83chacha20
5.925.976.00aes256ctr
7.007.057.09salsa20
8.098.178.27T:simon6496ctr
8.228.258.30T:trivium
8.528.628.70T:rabbit
9.259.369.42T:snow20
9.529.569.83T:simon64128ctr
10.9411.0311.36tango642
11.6611.7711.89T:cryptmtv3
12.4112.5212.75T:simon128128ctr
12.5612.6612.70T:aes128estream
13.0313.1213.19T:lexv2
13.4513.5213.59xsalsa20
14.0214.1714.27T:simon128256ctr
15.4715.6115.67T:nlsv2
19.6919.7819.88T:aes256estream
20.5920.7721.22T:aes192ctr
34.2734.4534.59T:sosemanuk
41.5641.7342.11T:tpy6
61.9162.1762.61T:panama
87.8689.1190.56T:tpy
88.8489.3890.31T:tpypy
104.25107.33108.58T:ocelot1
109.62110.48111.09T:ocelot2
118.64120.06120.64T:amastrid
183.30183.52183.86T:hc128
455.05455.77456.25T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
21.1222.5022.88T:speck6496ctr
23.62?24.12?27.12?T:speck64128ctr
26.2526.5027.00T:speck128256ctr
27.1227.2528.12T:speck128128ctr
27.12?27.38?31.12?T:speck128192ctr
36.2536.3836.75T:aes128ctr
38.7539.1239.38chacha8
46.5046.6246.88aes256ctr
47.2547.7548.25chacha20
47.5047.8848.12chacha12
49.2549.5049.88salsa208
51.7552.1252.88T:simon6496ctr
52.3852.6253.25T:trivium
51.88?52.75?75.75?T:rabbit
58.6258.8859.25T:aes128estream
59.8860.7564.25salsa2012
62.1262.8863.38T:simon64128ctr
67.8868.5069.12salsa20
69.5070.5071.62T:cryptmtv3
73.2574.1274.50T:snow20
76.5076.7577.75T:lexv2
77.8877.8879.62T:simon128128ctr
80.0080.6281.50T:aes256estream
82.7583.2584.00tango642
86.12?87.25?141.88?T:nlsv2
88.6288.6289.62T:simon128256ctr
119.38120.25121.38xsalsa20
164.38165.62168.38T:aes192ctr
271.88273.75275.12T:sosemanuk
319.62323.50326.38T:tpy6
485.50486.75488.62T:panama
692.88699.50705.00T:tpy
690.12703.12707.75T:tpypy
728.75735.00741.62T:ocelot2
724.25748.25756.38T:ocelot1
775.00779.12784.38T:amastrid
1463.381467.121470.12T:hc128
3607.253643.623657.38T:hc256