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

[Page version: 20241001 17:31:25]

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.37?0.54?1.21?chacha8
0.600.600.61salsa208
0.630.630.63T:aes128ctr
0.720.750.76tango642
0.760.770.78chacha12
0.780.790.80T:aes192ctr
0.840.850.86salsa2012
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.34salsa20
1.321.331.34xsalsa20
1.731.761.79T:hc128
1.821.851.88T:sosemanuk
1.921.931.93T:trivium
1.992.032.08T:tpy
2.232.242.25T:simon128128ctr
2.302.312.31T:simon64128ctr
2.282.352.45T:tpy6
2.382.422.46T:simon128256ctr
2.372.432.43T:simon6496ctr
2.442.452.47T:nlsv2
2.452.482.51T:hc256
2.682.692.70T:cryptmtv3
2.702.732.74T:rabbit
2.772.802.83T:snow20
2.902.922.94T:panama
2.892.932.99T:tpypy
4.094.114.13T:lexv2
8.328.358.37T:aes128estream
13.1913.2413.28T: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.56?0.57?1.06?chacha8
0.620.620.63salsa208
0.680.680.69T:aes128ctr
0.780.790.79chacha12
0.870.870.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.351.351.36salsa20
1.451.451.46xsalsa20
2.022.022.03T:trivium
2.352.372.38T:sosemanuk
2.532.532.54T:simon128128ctr
2.592.602.61T:nlsv2
2.692.692.69T:simon6496ctr
2.692.692.69T:simon64128ctr
2.812.822.83T:rabbit
2.842.862.88T:simon128256ctr
2.892.902.92T:snow20
2.912.942.98T:tpy6
3.183.183.19T:cryptmtv3
3.403.413.43T:tpy
3.853.863.87T:panama
4.244.254.26T:lexv2
4.444.454.48T:tpypy
4.554.564.57T:hc128
8.408.428.43T:aes128estream
9.889.899.90T:hc256
13.3113.3413.36T: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.60?0.60?1.10?chacha8
0.660.660.66salsa208
0.770.770.77T:aes128ctr
0.820.820.83chacha12
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.381.391.40salsa20
1.421.421.43T:speck128256ctr
1.651.661.66xsalsa20
1.671.721.73T:aes192ctr
2.192.192.20T:trivium
2.892.902.91T:nlsv2
2.962.982.98T:rabbit
2.993.003.01T:simon128128ctr
3.063.073.08T:snow20
3.103.103.11T:simon6496ctr
3.263.273.29T:sosemanuk
3.303.323.33T:simon64128ctr
3.583.603.63T:simon128256ctr
3.913.943.96T:tpy6
4.414.424.43T:cryptmtv3
4.494.504.52T:lexv2
5.415.425.44T:panama
5.665.745.84T:tpy
6.956.987.01T:tpypy
8.508.528.54T:aes128estream
9.199.219.25T:hc128
13.4813.5113.53T:aes256estream
20.9521.0121.10T:ocelot1
22.2022.2322.26T:hc256
22.8922.9823.02T:ocelot2
37.9738.1338.30T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.83?0.84?1.28?chacha8
0.930.940.95salsa208
1.081.081.09T:aes128ctr
1.121.131.14chacha12
1.261.271.28salsa2012
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.921.941.95salsa20
2.622.622.64T:trivium
2.642.662.67xsalsa20
3.153.223.30T:aes192ctr
3.353.353.42T:simon64128ctr
3.383.393.41T:rabbit
3.503.523.55T:snow20
3.683.713.73T:nlsv2
4.704.735.09T:simon6496ctr
4.874.874.89T:simon128128ctr
5.025.035.05T:cryptmtv3
5.105.125.15T:lexv2
5.245.255.26T:simon128256ctr
5.695.705.73T:sosemanuk
6.626.726.86T:tpy6
8.828.858.89T:aes128estream
9.569.619.71T:panama
11.5111.5811.70T:tpy
13.8113.8914.01T:tpypy
13.9313.9714.01T:aes256estream
21.5921.6421.77T:hc128
27.1227.2327.35T:ocelot1
29.2529.3429.43T:ocelot2
43.9444.0644.22T:amastrid
55.0355.1055.19T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.333.383.39chacha8
3.773.813.89T:speck6496ctr
3.833.883.92salsa208
3.893.943.97T:speck64128ctr
3.984.004.02chacha12
4.524.564.66T:speck128128ctr
4.704.724.73T:aes128ctr
4.784.834.86T:speck128192ctr
4.864.914.92salsa2012
4.985.025.05T:speck128256ctr
5.775.805.88chacha20
5.915.976.00aes256ctr
6.987.057.08salsa20
8.068.128.25T:simon6496ctr
8.228.258.31T:trivium
8.338.398.52T:rabbit
9.349.459.55T:snow20
9.489.559.67T:simon64128ctr
10.9110.9511.12tango642
11.9412.0212.11T:cryptmtv3
12.3812.3912.48T:simon128128ctr
12.6712.7712.84T:aes128estream
12.8313.0313.30T:lexv2
13.3113.3913.48xsalsa20
13.8813.9214.03T:simon128256ctr
15.5515.6415.73T:nlsv2
19.6719.7819.89T:aes256estream
22.1422.3422.55T:aes192ctr
33.6233.8133.98T:sosemanuk
40.1740.5641.20T:tpy6
62.1262.3662.56T:panama
87.5587.9589.06T:tpy
100.41101.80103.14T:tpypy
104.88105.75106.78T:ocelot2
105.75107.27108.48T:ocelot1
119.38120.42121.42T:amastrid
180.69180.73180.91T:hc128
473.52474.05475.34T: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
32.7533.0033.50chacha12
33.0033.5035.25salsa208
36.3836.5036.50T:aes128ctr
38.6238.8839.12chacha8
42.0042.6243.25salsa2012
46.7546.8847.00aes256ctr
47.2547.7548.12chacha20
51.3851.8852.62T:rabbit
52.5052.7553.00T:trivium
52.5052.8853.38T:simon6496ctr
58.7559.3859.62T:aes128estream
63.6264.1265.12T:simon64128ctr
72.7573.0074.00T:cryptmtv3
73.3874.8875.50T:snow20
77.5078.3879.50T:simon128128ctr
77.3878.6279.88T:lexv2
80.0080.5081.00T:aes256estream
82.6283.1283.88tango642
84.3884.8885.50salsa20
85.1285.8886.88T:nlsv2
88.8889.3889.88T:simon128256ctr
134.38135.00135.75xsalsa20
175.50177.38180.00T:aes192ctr
269.75270.25270.88T:sosemanuk
310.38314.75316.50T:tpy6
487.50488.75491.38T:panama
690.00693.88703.12T:tpy
724.50734.00741.25T:ocelot2
710.25738.88751.12T:ocelot1
774.50778.38783.38T:amastrid
797.75800.50802.50T:tpypy
1442.621444.121446.62T:hc128
3785.623789.253798.88T:hc256