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

[Page version: 20240719 07:49:00]

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.


Implementation notes

Graphs: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.530.540.54chacha8
0.590.600.60salsa208
0.630.630.63T:aes128ctr
0.740.750.76chacha12
0.720.750.76tango642
0.760.800.81T:aes192ctr
0.78?0.85?1.08?salsa2012
0.880.880.88aes256ctr
1.001.001.01T:speck6496ctr
1.041.051.05T:speck64128ctr
1.171.171.19chacha20
1.231.231.24T:speck128128ctr
1.251.251.26T:speck128192ctr
1.291.291.31T:speck128256ctr
1.321.331.34xsalsa20
1.331.341.35salsa20
1.461.471.47T:simon6496ctr
1.521.531.54T:simon64128ctr
1.741.771.79T:hc128
1.821.841.85T:sosemanuk
1.921.931.93T:trivium
2.002.062.10T:tpy
2.242.242.25T:simon128128ctr
2.352.402.48T:tpy6
2.402.412.45T:simon128256ctr
2.442.452.47T:nlsv2
2.422.472.50T:hc256
2.502.532.56T:cryptmtv3
2.712.732.74T:rabbit
2.762.792.81T:snow20
2.822.923.01T:tpypy
2.902.922.93T:panama
4.094.114.13T:lexv2
8.338.358.37T:aes128estream
13.2013.2313.28T:aes256estream
17.1517.2117.28T:ocelot1
19.1219.2219.65T:ocelot2
32.8934.4734.79T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.560.560.56chacha8
0.620.620.62salsa208
0.680.690.69T:aes128ctr
0.770.770.78chacha12
0.86?0.88?1.04?salsa2012
0.890.910.91tango642
0.950.950.95aes256ctr
1.041.041.04T:speck6496ctr
1.081.081.09T:speck64128ctr
1.111.121.13T:aes192ctr
1.191.191.20chacha20
1.271.281.28T:speck128128ctr
1.301.301.31T:speck128192ctr
1.341.341.35T:speck128256ctr
1.351.361.37salsa20
1.451.451.46xsalsa20
1.691.701.70T:simon6496ctr
1.891.891.90T:simon64128ctr
2.022.032.03T:trivium
2.352.362.36T:sosemanuk
2.532.532.54T:simon128128ctr
2.592.602.61T:nlsv2
2.812.822.83T:rabbit
2.852.862.87T:simon128256ctr
2.882.902.91T:snow20
2.973.003.03T:tpy6
3.023.043.05T:cryptmtv3
3.373.403.43T:tpy
3.863.873.87T:panama
4.234.244.25T:lexv2
4.404.444.49T:tpypy
4.554.564.56T:hc128
8.418.418.42T:aes128estream
9.889.899.91T:hc256
13.3213.3413.36T:aes256estream
18.5918.6218.67T:ocelot1
20.6320.6820.94T:ocelot2
34.6235.7335.94T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.600.600.60chacha8
0.650.660.66salsa208
0.770.770.77T:aes128ctr
0.800.810.81chacha12
0.90?0.91?1.08?salsa2012
1.051.061.06aes256ctr
1.101.101.11T:speck6496ctr
1.141.141.15T:speck64128ctr
1.161.171.19tango642
1.221.231.23chacha20
1.351.351.36T:speck128128ctr
1.381.381.38T:speck128192ctr
1.391.391.40salsa20
1.421.421.43T:speck128256ctr
1.641.661.71T:aes192ctr
1.651.661.67xsalsa20
2.072.072.08T:simon6496ctr
2.192.192.20T:trivium
2.482.492.49T:simon64128ctr
2.882.892.91T:nlsv2
2.972.982.99T:rabbit
2.983.003.01T:simon128128ctr
3.073.083.10T:snow20
3.253.263.27T:sosemanuk
3.593.603.62T:simon128256ctr
3.843.913.97T:tpy6
4.374.424.43T:cryptmtv3
4.464.484.49T:lexv2
5.435.445.46T:panama
5.565.625.66T:tpy
7.017.127.17T:tpypy
8.518.528.54T:aes128estream
9.149.229.24T:hc128
13.5013.5413.56T:aes256estream
20.8920.9221.01T:ocelot1
22.2422.2622.32T:hc256
23.2923.4023.44T:ocelot2
37.0237.5238.07T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.840.840.85chacha8
0.930.940.95salsa208
1.081.081.08T:aes128ctr
1.111.121.13chacha12
1.261.271.40salsa2012
1.341.351.36T:speck6496ctr
1.381.391.40T:speck64128ctr
1.441.451.45aes256ctr
1.621.631.65T:speck128128ctr
1.681.691.70T:speck128192ctr
1.691.691.72chacha20
1.721.741.74T:speck128256ctr
1.881.891.89tango642
1.931.951.96salsa20
2.622.632.64T:trivium
2.642.652.67xsalsa20
3.103.133.18T:aes192ctr
3.343.353.37T:simon64128ctr
3.383.393.41T:rabbit
3.493.523.55T:snow20
3.653.683.72T:nlsv2
3.723.733.74T:simon6496ctr
4.864.884.92T:simon128128ctr
4.814.964.97T:cryptmtv3
5.075.095.12T:lexv2
5.235.245.26T:simon128256ctr
5.685.705.72T:sosemanuk
6.456.616.75T:tpy6
8.798.828.85T:aes128estream
9.669.779.83T:panama
11.6211.7411.89T:tpy
13.7313.7813.92T:tpypy
13.9513.9814.04T:aes256estream
21.6221.6821.75T:hc128
27.2427.3627.56T:ocelot1
29.1429.4029.71T:ocelot2
43.9044.0744.26T:amastrid
55.0455.1655.30T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.313.343.38chacha8
3.803.833.86salsa208
3.813.833.89T:speck6496ctr
3.893.943.97T:speck64128ctr
4.224.254.30chacha12
4.474.484.55T:speck128128ctr
4.694.724.73T:aes128ctr
4.774.844.84T:speck128192ctr
4.864.894.92salsa2012
4.975.005.28T:speck128256ctr
5.775.805.84chacha20
5.895.986.02aes256ctr
6.957.007.05salsa20
8.098.178.25T:simon6496ctr
8.208.258.30T:trivium
8.338.368.42T:rabbit
9.319.419.50T:snow20
9.449.569.58T:simon64128ctr
10.8610.9411.09tango642
10.73?12.05?12.16?T:cryptmtv3
12.3912.5012.66T:simon128128ctr
12.6212.7312.84T:aes128estream
12.6712.7313.09T:lexv2
13.4513.5013.61xsalsa20
13.8413.9214.03T:simon128256ctr
15.5915.7015.98T:nlsv2
19.8419.9720.58T:aes256estream
21.9222.0622.23T:aes192ctr
33.5033.5833.77T:sosemanuk
40.4440.7740.92T:tpy6
62.3462.4862.83T:panama
86.9788.2388.97T:tpy
101.39102.02104.19T:tpypy
105.88106.64108.77T:ocelot1
106.30106.69107.75T:ocelot2
119.80120.42120.89T:amastrid
180.52180.75181.00T:hc128
473.28473.86474.94T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
21.2521.5023.38T:speck6496ctr
21.6221.8822.25T:speck64128ctr
25.5025.7526.62T:speck128128ctr
26.1226.6227.50T:speck128192ctr
26.3826.6227.25T:speck128256ctr
36.2536.5036.50T:aes128ctr
38.6238.8839.25chacha8
46.5046.8847.00aes256ctr
47.2547.5048.25chacha20
47.7548.0048.38chacha12
51.2551.7552.62T:rabbit
51.6251.7552.38salsa208
51.7552.0052.38T:simon6496ctr
52.5052.6253.25T:trivium
59.0059.5060.00T:aes128estream
59.6260.1261.12salsa20
61.5061.8862.12salsa2012
61.5062.0062.50T:simon64128ctr
74.0074.7575.62T:snow20
65.12?76.25?76.88?T:cryptmtv3
76.2576.8877.75T:lexv2
77.7578.6279.75T:simon128128ctr
80.2581.0081.62T:aes256estream
82.6283.1283.88tango642
85.5086.3889.12T:nlsv2
88.5089.3889.75T:simon128256ctr
110.75111.50112.62xsalsa20
174.38176.00178.12T:aes192ctr
268.00268.75269.88T:sosemanuk
307.50309.25312.88T:tpy6
489.88490.88492.25T:panama
690.62693.00698.88T:tpy
714.88735.88745.75T:ocelot1
740.12743.38748.62T:ocelot2
774.62776.75782.88T:amastrid
790.38799.12801.38T:tpypy
1442.621444.501446.62T:hc128
3787.003791.003797.75T:hc256