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; Golden Cove (906a4-40); 2022 Intel Core i3-1215U, P cores; 2 x 1600MHz; alder2,big, supercop-20251222

[Page version: 20260203 05:35:47]

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.260.270.28aes256ctr
0.350.350.36T:aes128ctr
0.420.430.46tango642
0.41?0.44?0.48?T:aes192ctr
0.530.550.56chacha8
0.590.610.62salsa208
0.760.780.79chacha12
0.850.870.89salsa2012
1.021.031.04T:speck6496ctr
1.051.071.08T:speck64128ctr
1.141.191.25T:tpy
1.181.211.23chacha20
1.251.261.27T:speck128128ctr
1.281.291.30T:speck128192ctr
1.321.321.33T:speck128256ctr
1.351.371.41xsalsa20
1.371.391.41salsa20
1.401.481.55T:hc256
1.37?1.49?1.61?T:hc128
1.631.671.80T:nlsv2
1.691.711.72T:simon6496ctr
1.70?1.72?1.91?T:snow20
1.711.741.84T:sosemanuk
1.761.771.79T:simon64128ctr
1.751.801.83T:panama
1.811.901.99T:tpy6
1.921.952.12T:rabbit
1.961.971.98T:trivium
1.81?2.10?2.19?T:tpypy
2.342.362.38T:cryptmtv3
2.582.602.63T:simon128128ctr
2.922.942.96T:simon128256ctr
3.583.623.64T:lexv2
7.287.307.32T:aes128estream
11.2611.2911.31T:aes256estream
12.5813.1113.49T:ocelot1
12.8213.1213.38T:ocelot2
23.2323.8324.58T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.320.320.32aes256ctr
0.380.380.39T:aes128ctr
0.550.550.56chacha8
0.570.570.58tango642
0.610.620.62salsa208
0.650.650.67T:aes192ctr
0.780.790.79chacha12
0.860.870.88salsa2012
1.051.051.06T:speck6496ctr
1.081.091.09T:speck64128ctr
1.201.221.22chacha20
1.291.291.30T:speck128128ctr
1.311.321.32T:speck128192ctr
1.361.361.36T:speck128256ctr
1.391.401.41salsa20
1.461.471.49xsalsa20
1.771.781.92T:snow20
1.831.841.94T:nlsv2
1.901.911.91T:simon6496ctr
1.951.962.03T:sosemanuk
2.012.022.13T:rabbit
2.052.062.07T:trivium
2.072.082.08T:simon64128ctr
2.312.332.34T:panama
2.452.492.53T:tpy6
2.582.612.64T:tpy
2.842.852.86T:cryptmtv3
2.912.922.93T:simon128128ctr
3.343.353.36T:simon128256ctr
3.413.553.58T:tpypy
3.703.713.72T:lexv2
3.693.753.81T:hc128
7.347.357.35T:aes128estream
7.347.397.41T:hc256
11.3411.3611.36T:aes256estream
13.7613.8814.00T:ocelot2
13.6413.8914.09T:ocelot1
24.8625.1825.38T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.380.390.41aes256ctr
0.430.430.45T:aes128ctr
0.550.560.57chacha8
0.620.630.65salsa208
0.760.770.80tango642
0.780.790.80chacha12
0.870.890.90salsa2012
0.991.011.08T:aes192ctr
1.081.091.10T:speck6496ctr
1.111.121.14T:speck64128ctr
1.211.221.23chacha20
1.341.341.35T:speck128128ctr
1.361.371.38T:speck128192ctr
1.391.411.43salsa20
1.401.411.42T:speck128256ctr
1.611.631.66xsalsa20
1.891.911.96T:snow20
2.122.152.18T:rabbit
2.202.212.21T:trivium
2.202.222.26T:nlsv2
2.232.232.25T:simon6496ctr
2.362.392.43T:sosemanuk
2.572.582.60T:simon64128ctr
3.203.233.25T:panama
3.353.413.46T:tpy6
3.433.453.48T:simon128128ctr
3.853.883.92T:lexv2
4.014.034.05T:cryptmtv3
4.024.044.05T:simon128256ctr
5.025.135.22T:tpy
5.715.815.88T:tpypy
7.407.427.44T:aes128estream
7.377.477.73T:hc128
11.4111.4411.47T:aes256estream
14.1614.7815.12T:ocelot1
14.8515.1315.44T:ocelot2
17.2017.3217.40T:hc256
26.4726.7127.47T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.62?0.63?0.71?T:aes128ctr
0.670.680.69chacha8
0.670.680.74aes256ctr
0.790.800.82salsa208
0.981.001.01chacha12
1.131.151.17salsa2012
1.221.231.24T:speck6496ctr
1.261.271.29T:speck64128ctr
1.281.301.36tango642
1.511.521.53T:speck128128ctr
1.541.551.56T:speck128192ctr
1.581.601.62chacha20
1.601.611.61T:speck128256ctr
1.841.851.90salsa20
1.931.972.08T:aes192ctr
2.132.142.18T:snow20
2.352.392.59T:rabbit
2.432.482.51xsalsa20
2.582.602.61T:trivium
3.213.223.24T:simon64128ctr
3.203.323.40T:nlsv2
3.523.553.57T:sosemanuk
3.663.683.69T:simon6496ctr
4.264.294.33T:lexv2
4.514.534.55T:cryptmtv3
4.894.914.93T:simon128128ctr
5.215.215.24T:simon128256ctr
5.455.485.66T:panama
5.946.216.34T:tpy6
7.587.607.66T:aes128estream
11.1211.4012.02T:tpy
11.7011.7311.76T:aes256estream
12.0212.3912.64T:tpypy
17.5217.7017.89T:hc128
18.3919.0019.59T:ocelot2
18.1319.1820.03T:ocelot1
31.1731.7832.73T:amastrid
43.1843.2543.32T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.582.692.75T:speck6496ctr
2.672.722.80chacha8
2.722.772.86T:speck64128ctr
3.033.113.23salsa208
3.143.233.31T:aes128ctr
3.283.333.39T:speck128128ctr
3.363.393.48T:speck128192ctr
3.563.643.72T:speck128256ctr
3.673.753.80chacha12
4.024.094.39aes256ctr
4.114.224.34salsa2012
5.42?5.75?6.08?T:rabbit
5.725.785.83chacha20
6.02?6.28?7.05?T:snow20
6.256.316.42salsa20
6.917.027.11T:simon6496ctr
7.587.627.72T:trivium
7.627.728.16tango642
8.028.088.16T:simon64128ctr
8.118.178.36T:cryptmtv3
9.589.649.84T:lexv2
9.789.839.97T:aes128estream
11.4111.5611.67xsalsa20
11.8011.8811.97T:simon128128ctr
12.7712.8612.98T:simon128256ctr
14.1114.2214.42T:aes192ctr
15.0315.1715.33T:aes256estream
17.4717.6117.88T:sosemanuk
17.9118.4718.66T:nlsv2
34.8335.3436.17T:panama
40.3440.9841.62T:tpy6
57.1158.3162.97T:ocelot1
56.3158.5562.14T:ocelot2
92.1693.3396.44T:amastrid
94.61101.09101.89T:tpy
98.38103.80105.05T:tpypy
149.39150.44151.62T:hc128
373.27374.14378.55T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
14.0014.8815.25T:speck6496ctr
14.7515.1215.75T:speck64128ctr
16.50?18.00?20.75?T:speck128128ctr
17.2518.0019.12T:speck128256ctr
17.5018.2518.75T:speck128192ctr
25.50?26.12?31.38?chacha8
26.0026.6227.00T:aes128ctr
29.7530.7532.00salsa208
32.6233.2534.12aes256ctr
32.38?35.00?38.00?T:rabbit
35.6236.3837.00T:aes128estream
38.5039.2540.00salsa2012
39.3839.7540.38T:simon6496ctr
43.1243.6244.25chacha12
46.3846.6247.00T:trivium
46.7547.2547.88T:simon64128ctr
47.1247.7548.25T:cryptmtv3
47.3848.2550.38T:snow20
52.2553.3854.50T:lexv2
54.1254.7555.12chacha20
54.7555.5056.25T:aes256estream
58.5059.5061.25tango642
55.7560.3861.88salsa20
68.8869.3870.00T:simon128128ctr
76.1276.7577.50T:simon128256ctr
90.8894.0096.62T:nlsv2
94.8895.6297.25xsalsa20
114.75115.88122.75T:aes192ctr
139.50140.50141.50T:sosemanuk
274.25279.75298.12T:panama
314.12320.12332.38T:tpy6
362.75?375.00?405.25?T:ocelot2
371.25?398.12?443.25?T:ocelot1
624.00?646.88?705.75?T:amastrid
784.38792.25799.50T:tpy
807.75827.50835.75T:tpypy
1193.501198.501203.12T:hc128
2989.622995.122999.88T:hc256