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; Gracemont (906a4-20); 2022 Intel Core i3-1215U, E cores; 4 x 1600MHz; alder2,1f626960,3300000, 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.400.400.41T:aes192ctr
0.510.520.53T:aes128ctr
0.570.580.58aes256ctr
0.690.700.71tango642
0.930.940.94chacha8
1.121.131.14salsa208
1.271.291.32T:hc128
1.291.301.31chacha12
1.601.611.64salsa2012
1.881.901.94T:nlsv2
1.861.901.94T:hc256
1.971.982.01T:speck6496ctr
2.002.012.03T:snow20
2.002.012.02T:sosemanuk
2.022.032.04chacha20
2.042.052.06T:speck64128ctr
2.052.062.08T:cryptmtv3
2.12?2.14?2.37?T:panama
2.302.352.45T:tpy
2.232.372.42T:tpy6
2.422.432.45T:speck128128ctr
2.442.452.45T:trivium
2.492.492.51T:speck128192ctr
2.562.572.59T:speck128256ctr
2.562.582.61xsalsa20
2.572.592.61salsa20
2.782.922.97T:rabbit
2.912.932.94T:simon6496ctr
3.073.073.09T:simon64128ctr
3.383.633.74T:tpypy
3.663.673.68T:lexv2
4.454.474.49T:simon128128ctr
4.684.714.72T:simon128256ctr
7.457.467.48T:aes128estream
10.9310.9611.37T:aes256estream
15.2616.2616.94T:ocelot1
15.99?16.42?18.25?T:ocelot2
28.6929.5830.61T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.530.530.53T:aes192ctr
0.540.540.55T:aes128ctr
0.600.600.60aes256ctr
0.870.870.88tango642
0.940.940.95chacha8
1.141.141.15salsa208
1.301.311.32chacha12
1.631.631.64salsa2012
2.002.012.03T:speck6496ctr
2.012.022.05T:nlsv2
2.032.042.04chacha20
2.072.072.09T:snow20
2.072.082.09T:speck64128ctr
2.272.272.28T:sosemanuk
2.462.472.48T:speck128128ctr
2.532.532.55T:speck128192ctr
2.542.542.54T:trivium
2.592.602.61salsa20
2.612.622.63T:speck128256ctr
2.612.632.63T:cryptmtv3
2.682.692.70xsalsa20
2.802.802.97T:panama
2.882.962.99T:rabbit
2.973.053.08T:tpy6
3.053.063.07T:simon6496ctr
3.263.263.27T:simon64128ctr
3.613.633.69T:tpy
3.783.783.79T:lexv2
4.054.064.07T:hc128
4.664.674.68T:simon128128ctr
4.794.944.99T:tpypy
5.005.015.02T:simon128256ctr
7.537.537.54T:aes128estream
8.558.568.57T:hc256
11.0211.0311.33T:aes256estream
16.7417.3717.81T:ocelot1
17.6517.7419.08T:ocelot2
29.9930.5431.31T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.570.570.58T:aes128ctr
0.620.620.63aes256ctr
0.740.740.75T:aes192ctr
0.950.950.97chacha8
1.151.171.20tango642
1.171.171.18salsa208
1.311.321.33chacha12
1.651.661.67salsa2012
2.042.052.05T:speck6496ctr
2.032.052.05chacha20
2.122.132.13T:speck64128ctr
2.162.172.18T:snow20
2.262.292.29T:nlsv2
2.532.532.55T:speck128128ctr
2.602.602.61T:speck128192ctr
2.612.622.63salsa20
2.682.682.69T:speck128256ctr
2.712.712.72T:trivium
2.752.752.76T:sosemanuk
2.832.862.88xsalsa20
2.942.952.95T:rabbit
3.293.303.32T:simon6496ctr
3.573.583.59T:simon64128ctr
3.923.933.94T:panama
3.903.953.96T:cryptmtv3
3.963.983.99T:lexv2
4.204.244.28T:tpy6
4.995.005.01T:simon128128ctr
5.505.515.53T:simon128256ctr
5.725.785.81T:tpy
7.087.137.29T:tpypy
7.627.647.68T:aes128estream
8.658.678.68T:hc128
11.1611.1811.46T:aes256estream
18.6118.9119.38T:ocelot1
19.5019.6221.14T:ocelot2
19.6119.6519.68T:hc256
31.5431.7531.96T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.890.900.92T:aes128ctr
1.051.051.12aes256ctr
1.071.071.09chacha8
1.291.311.37T:aes192ctr
1.331.341.35salsa208
1.511.531.55chacha12
1.881.891.92salsa2012
1.941.951.96tango642
2.212.222.23T:speck6496ctr
2.302.302.31T:speck64128ctr
2.362.382.39chacha20
2.442.462.47T:snow20
2.752.762.77T:speck128128ctr
2.842.852.85T:speck128192ctr
2.942.942.96T:speck128256ctr
2.942.952.98T:nlsv2
2.952.983.00salsa20
3.143.143.17T:trivium
3.273.293.32T:rabbit
3.593.603.62xsalsa20
4.034.044.07T:sosemanuk
4.464.484.49T:lexv2
4.504.514.55T:simon6496ctr
4.704.714.72T:cryptmtv3
5.025.055.06T:simon64128ctr
6.806.846.88T:simon128128ctr
6.886.936.97T:panama
7.027.057.11T:tpy6
7.887.897.95T:aes128estream
9.669.719.71T:simon128256ctr
11.2911.3311.41T:tpy
11.4411.4711.52T:aes256estream
11.12?12.86?12.92?T:tpypy
20.9220.9721.00T:hc128
23.5424.6624.75T:ocelot1
25.3025.6626.98T:ocelot2
37.5737.6537.78T:amastrid
49.1649.2349.28T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.362.392.44chacha8
3.053.053.06salsa208
3.303.333.39chacha12
3.974.094.16T:aes128ctr
4.064.164.27T:speck6496ctr
4.164.194.20salsa2012
4.144.234.36T:speck64128ctr
4.81?4.88?5.55?aes256ctr
5.125.165.23chacha20
5.445.475.55T:speck128128ctr
5.625.665.72T:speck128192ctr
5.845.916.00T:speck128256ctr
6.056.096.30T:snow20
6.306.316.31salsa20
7.237.307.48T:rabbit
8.708.738.83T:trivium
8.838.899.30T:aes192ctr
8.848.959.48T:simon6496ctr
9.039.119.36T:simon64128ctr
10.6710.8110.95T:aes128estream
10.8310.8810.97T:lexv2
11.8111.8611.88xsalsa20
11.9111.9712.55tango642
12.0812.1412.25T:cryptmtv3
12.8812.9213.02T:nlsv2
13.4113.5613.72T:simon128128ctr
15.0915.2015.28T:simon128256ctr
15.1715.8816.09T:aes256estream
19.0219.1219.30T:sosemanuk
43.9844.1644.50T:tpy6
44.4444.8145.09T:panama
82.4283.1784.31T:tpy
69.47?87.36?87.80?T:tpypy
94.4895.2598.66T:ocelot1
96.0097.3199.16T:ocelot2
103.34106.98110.08T:amastrid
178.02178.30178.73T:hc128
427.05427.78428.72T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
14.62?15.12?18.25?T:aes128ctr
15.75?16.50?21.38?T:speck6496ctr
18.8819.2520.12T:speck128256ctr
19.38?20.12?25.50?T:speck128192ctr
19.75?20.25?22.25?T:speck128128ctr
20.8821.3822.38chacha8
20.88?21.38?25.75?T:speck64128ctr
26.88?28.38?32.12?aes256ctr
28.6228.8829.38chacha12
34.5035.0035.75salsa208
36.1236.6237.25T:simon6496ctr
42.7543.3843.62chacha20
43.1243.7545.12T:rabbit
43.2543.8844.38T:simon64128ctr
44.2544.8845.50salsa2012
44.6245.0045.25T:aes128estream
47.5049.1252.38T:snow20
51.8852.0052.25T:trivium
55.88?57.62?64.00?T:aes256estream
61.7562.3863.12salsa20
64.2564.6265.62T:lexv2
71.5073.5076.75T:aes192ctr
72.7573.8877.25T:nlsv2
71.50?76.25?88.12?T:simon128128ctr
77.7577.8879.50T:cryptmtv3
79.5082.6286.25T:simon128256ctr
90.8891.5095.50tango642
105.00105.88110.38xsalsa20
152.00152.38153.00T:sosemanuk
323.50335.50344.00T:tpy6
346.88348.62350.62T:panama
528.88531.88537.75T:tpypy
552.88?555.88?645.00?T:tpy
610.88626.88635.50T:ocelot1
636.12662.50665.88T:ocelot2
677.62696.00716.38T:amastrid
1424.501426.621430.00T:hc128
3419.623423.253429.25T:hc256