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; comet, supercop-20250415

[Page version: 20250707 22:37:12]

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.530.530.54chacha8
0.590.600.61salsa208
0.630.630.63T:aes128ctr
0.740.750.76chacha12
0.720.750.76tango642
0.780.790.80T:aes192ctr
0.830.840.85salsa2012
0.880.880.88aes256ctr
1.001.001.01T:speck6496ctr
1.031.041.05T:speck64128ctr
1.171.181.18chacha20
1.231.231.24T:speck128128ctr
1.251.251.26T:speck128192ctr
1.291.291.30T:speck128256ctr
1.321.331.34xsalsa20
1.331.341.35salsa20
1.731.751.77T:hc128
1.821.851.88T:sosemanuk
1.921.931.93T:trivium
1.992.052.12T:tpy
2.232.242.25T:simon128128ctr
2.302.312.31T:simon64128ctr
2.252.352.44T:tpy6
2.382.422.46T:simon128256ctr
2.372.432.43T:simon6496ctr
2.432.452.48T:nlsv2
2.412.462.50T:hc256
2.662.692.71T:cryptmtv3
2.702.732.74T:rabbit
2.772.792.81T:snow20
2.902.922.94T:panama
2.892.963.00T:tpypy
4.084.114.13T:lexv2
8.338.358.37T:aes128estream
13.1813.2113.25T:aes256estream
17.1217.2117.26T:ocelot1
19.1019.2919.67T:ocelot2
32.1834.1834.57T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.550.560.56chacha8
0.620.620.63salsa208
0.680.680.69T:aes128ctr
0.770.770.77chacha12
0.860.860.87salsa2012
0.890.910.91tango642
0.950.950.95aes256ctr
1.041.041.05T:speck6496ctr
1.071.081.09T:speck64128ctr
1.121.121.12T:aes192ctr
1.201.201.20chacha20
1.271.281.28T:speck128128ctr
1.301.301.31T:speck128192ctr
1.341.341.34T:speck128256ctr
1.361.361.37salsa20
1.451.451.46xsalsa20
2.022.032.03T:trivium
2.352.372.38T:sosemanuk
2.532.532.54T:simon128128ctr
2.592.602.62T:nlsv2
2.692.692.69T:simon6496ctr
2.692.692.69T:simon64128ctr
2.812.832.84T:rabbit
2.842.862.88T:simon128256ctr
2.892.902.90T:snow20
2.892.952.99T:tpy6
3.163.163.18T:cryptmtv3
3.383.403.42T:tpy
3.853.863.87T:panama
4.224.254.26T:lexv2
4.434.474.49T:tpypy
4.544.554.56T:hc128
8.418.428.43T:aes128estream
9.889.899.90T:hc256
13.3113.3213.35T:aes256estream
18.5818.6318.66T:ocelot1
20.5320.6620.92T:ocelot2
34.0435.5035.64T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.590.600.60chacha8
0.660.670.67salsa208
0.770.770.77T:aes128ctr
0.800.810.81chacha12
0.900.900.91salsa2012
1.051.051.06aes256ctr
1.101.101.11T:speck6496ctr
1.141.141.15T:speck64128ctr
1.151.161.19tango642
1.231.241.25chacha20
1.351.351.36T:speck128128ctr
1.381.381.38T:speck128192ctr
1.391.401.41salsa20
1.421.421.43T:speck128256ctr
1.651.661.67xsalsa20
1.671.721.73T:aes192ctr
2.192.202.20T:trivium
2.882.892.91T:nlsv2
2.993.003.01T:rabbit
2.993.003.01T:simon128128ctr
3.053.073.09T:snow20
3.103.103.11T:simon6496ctr
3.263.273.29T:sosemanuk
3.303.323.33T:simon64128ctr
3.583.603.63T:simon128256ctr
3.893.933.97T:tpy6
4.354.364.41T:cryptmtv3
4.464.484.50T:lexv2
5.415.425.44T:panama
5.595.645.71T:tpy
7.007.037.08T:tpypy
8.508.528.53T:aes128estream
9.189.209.23T:hc128
13.4913.5213.54T:aes256estream
20.9521.0121.10T:ocelot1
22.2422.2822.33T:hc256
22.8922.9823.02T:ocelot2
37.9738.1338.30T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.840.850.85chacha8
0.940.950.97salsa208
1.081.081.09T:aes128ctr
1.121.131.14chacha12
1.261.271.29salsa2012
1.341.351.35T:speck6496ctr
1.391.391.40T:speck64128ctr
1.441.441.45aes256ctr
1.631.641.65T:speck128128ctr
1.681.681.69T:speck128192ctr
1.691.701.71chacha20
1.731.741.75T:speck128256ctr
1.861.881.95tango642
1.951.961.97salsa20
2.622.632.64T:trivium
2.642.652.67xsalsa20
3.153.223.30T:aes192ctr
3.353.353.42T:simon64128ctr
3.433.453.47T:rabbit
3.493.523.57T:snow20
3.653.673.69T:nlsv2
4.704.735.09T:simon6496ctr
4.874.874.89T:simon128128ctr
4.864.885.02T:cryptmtv3
5.075.115.15T:lexv2
5.245.255.26T:simon128256ctr
5.695.705.73T:sosemanuk
6.646.716.77T:tpy6
8.818.848.87T:aes128estream
9.569.619.71T:panama
11.5211.5511.63T:tpy
13.7713.8814.02T:tpypy
13.9313.9814.02T:aes256estream
21.6321.7021.77T:hc128
27.1227.2327.35T:ocelot1
29.2529.3429.43T:ocelot2
43.9444.0644.22T:amastrid
55.0255.0955.22T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.343.363.39chacha8
3.773.813.89T:speck6496ctr
3.813.833.86salsa208
3.893.943.97T:speck64128ctr
4.224.274.30chacha12
4.524.564.66T:speck128128ctr
4.704.724.73T:aes128ctr
4.784.834.86T:speck128192ctr
4.894.975.02salsa2012
4.985.025.05T:speck128256ctr
5.775.805.88chacha20
5.915.976.00aes256ctr
7.027.087.22salsa20
8.068.128.25T:simon6496ctr
8.208.238.30T:trivium
8.758.808.86T:rabbit
9.239.419.50T:snow20
9.489.559.67T:simon64128ctr
10.44?10.53?11.89?T:cryptmtv3
10.9110.9511.12tango642
12.3812.3912.48T:simon128128ctr
12.5812.6612.77T:aes128estream
12.9713.1113.27T:lexv2
13.3313.4213.56xsalsa20
13.8813.9214.03T:simon128256ctr
15.5215.6115.73T:nlsv2
19.7519.9720.20T:aes256estream
22.1422.3422.55T:aes192ctr
33.6233.8133.98T:sosemanuk
39.8440.8641.11T:tpy6
62.1262.3662.56T:panama
87.5887.9188.53T:tpy
102.69103.44104.05T:tpypy
104.88105.75106.78T:ocelot2
105.75107.27108.48T:ocelot1
119.38120.42121.42T:amastrid
179.28180.64180.81T:hc128
473.70474.36475.61T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
21.2521.6222.62T:speck6496ctr
21.5021.7522.00T:speck64128ctr
25.3825.8826.75T:speck128128ctr
26.3827.0027.50T:speck128192ctr
27.2527.5028.25T:speck128256ctr
36.3836.5036.50T:aes128ctr
37.7538.0038.12chacha8
38.2538.5039.38salsa208
46.7546.8847.00aes256ctr
47.2547.7548.12chacha20
47.8848.1248.62chacha12
52.3852.6253.00T:trivium
52.5052.8853.38T:simon6496ctr
55.1255.8857.75T:rabbit
55.2556.0058.88salsa2012
58.7559.2559.50T:aes128estream
60.25?60.88?71.75?T:cryptmtv3
63.6264.1265.12T:simon64128ctr
65.1265.7566.50salsa20
73.2574.5075.75T:snow20
77.5078.3879.50T:simon128128ctr
78.2578.8880.12T:lexv2
80.3881.1282.38T:aes256estream
82.6283.1283.88tango642
84.7585.5086.38T:nlsv2
88.8889.3889.88T:simon128256ctr
116.12116.75117.88xsalsa20
175.50177.38180.00T:aes192ctr
269.75270.25270.88T:sosemanuk
304.62308.75312.88T:tpy6
487.50488.75491.38T:panama
687.38694.38697.12T:tpy
724.50734.00741.25T:ocelot2
710.25738.88751.12T:ocelot1
774.50778.38783.38T:amastrid
787.50797.12803.50T:tpypy
1431.381432.621434.25T:hc128
3784.253788.753801.75T:hc256