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,1f626960,5600000, supercop-20241022

[Page version: 20241024 03:46:30]

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.280.290.29aes256ctr
0.330.340.35T:aes128ctr
0.400.410.41T:aes192ctr
0.450.470.49tango642
0.560.580.59chacha8
0.600.620.63salsa208
0.790.810.84chacha12
0.840.870.89salsa2012
1.011.021.03T:speck6496ctr
1.051.061.06T:speck64128ctr
1.251.261.27T:speck128128ctr
1.261.271.28chacha20
1.291.301.30T:speck128192ctr
1.321.331.35T:speck128256ctr
1.21?1.36?1.51?T:hc128
1.361.381.40xsalsa20
1.391.401.42salsa20
1.43?1.51?1.64?T:tpy
1.43?1.55?1.68?T:hc256
1.62?1.64?1.85?T:snow20
1.661.701.76T:sosemanuk
1.60?1.72?1.79?T:nlsv2
1.741.761.80T:panama
1.781.791.80T:simon6496ctr
1.851.861.88T:simon64128ctr
1.881.891.91T:trivium
1.90?1.94?2.14?T:rabbit
2.022.132.19T:tpy6
2.362.392.41T:cryptmtv3
2.492.632.70T:tpypy
2.792.802.82T:simon128128ctr
2.922.942.96T:simon128256ctr
3.563.603.62T:lexv2
7.287.317.33T:aes128estream
11.0611.1011.13T:aes256estream
10.66?14.51?14.93?T:ocelot1
13.84?14.70?16.12?T:ocelot2
22.9023.4523.80T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.340.340.34aes256ctr
0.370.380.38T:aes128ctr
0.510.510.51T:aes192ctr
0.570.580.59chacha8
0.580.580.60tango642
0.620.630.63salsa208
0.810.820.83chacha12
0.860.870.89salsa2012
1.041.041.05T:speck6496ctr
1.071.081.08T:speck64128ctr
1.271.271.27chacha20
1.281.291.29T:speck128128ctr
1.321.321.33T:speck128192ctr
1.361.361.37T:speck128256ctr
1.401.401.41salsa20
1.451.471.48xsalsa20
1.721.731.87T:snow20
1.831.861.89T:nlsv2
1.901.921.96T:sosemanuk
1.951.961.96T:simon6496ctr
1.981.981.99T:trivium
2.002.022.15T:rabbit
2.102.112.11T:simon64128ctr
2.292.302.31T:panama
2.662.702.72T:tpy6
2.842.862.86T:cryptmtv3
3.043.053.05T:simon128128ctr
3.103.123.16T:tpy
3.333.343.35T:simon128256ctr
3.683.693.70T:lexv2
3.733.813.91T:hc128
4.024.104.13T:tpypy
7.337.347.35T:aes128estream
7.587.627.65T:hc256
11.1611.1711.19T:aes256estream
12.50?15.30?15.52?T:ocelot1
15.2415.6316.56T:ocelot2
24.0124.2824.50T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.440.440.45T:aes128ctr
0.440.450.47aes256ctr
0.580.580.59chacha8
0.630.630.65salsa208
0.670.670.68T:aes192ctr
0.770.790.85tango642
0.820.830.85chacha12
0.870.880.89salsa2012
1.071.081.09T:speck6496ctr
1.111.121.12T:speck64128ctr
1.271.281.29chacha20
1.321.331.34T:speck128128ctr
1.361.371.38T:speck128192ctr
1.401.411.42T:speck128256ctr
1.411.431.43salsa20
1.601.611.63xsalsa20
1.811.872.00T:snow20
2.122.132.13T:trivium
2.162.182.25T:rabbit
2.122.182.22T:nlsv2
2.222.232.24T:simon6496ctr
2.262.312.32T:sosemanuk
2.502.512.53T:simon64128ctr
3.153.193.23T:panama
3.443.463.48T:simon128128ctr
3.593.673.82T:tpy6
3.823.833.87T:lexv2
3.933.963.99T:cryptmtv3
3.983.994.01T:simon128256ctr
5.405.445.49T:tpy
6.536.596.65T:tpypy
7.407.427.44T:aes128estream
7.777.808.00T:hc128
11.2611.2911.34T:aes256estream
16.5516.8417.11T:ocelot1
17.0917.3717.86T:ocelot2
17.7317.8017.90T:hc256
25.2826.0726.50T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.630.640.68T:aes128ctr
0.690.700.71chacha8
0.800.810.83salsa208
0.900.910.91aes256ctr
1.02?1.04?1.17?chacha12
1.091.091.10T:aes192ctr
1.141.151.18salsa2012
1.201.221.22T:speck6496ctr
1.241.261.27T:speck64128ctr
1.301.321.39tango642
1.511.521.54T:speck128128ctr
1.541.551.56T:speck128192ctr
1.591.601.61T:speck128256ctr
1.661.681.69chacha20
1.851.881.92salsa20
2.082.142.26T:snow20
2.412.432.45xsalsa20
2.382.482.60T:rabbit
2.522.522.53T:trivium
2.842.923.10T:nlsv2
3.163.183.20T:simon64128ctr
3.433.443.46T:simon6496ctr
3.423.463.58T:sosemanuk
4.214.234.28T:lexv2
4.434.454.47T:cryptmtv3
4.824.844.91T:simon128128ctr
5.205.235.30T:simon128256ctr
5.365.455.57T:panama
6.246.396.54T:tpy6
7.577.607.62T:aes128estream
11.5711.6311.69T:aes256estream
11.9112.3112.72T:tpy
12.6413.0413.19T:tpypy
18.8018.8519.14T:hc128
19.6520.4421.27T:ocelot1
20.3521.2021.94T:ocelot2
30.1930.8532.26T:amastrid
44.6144.8345.09T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.562.592.67T:speck6496ctr
2.672.722.77T:speck64128ctr
2.802.842.91chacha8
3.023.123.19salsa208
3.233.283.36T:aes128ctr
3.363.423.55T:speck128192ctr
3.483.563.67T:speck128128ctr
3.533.583.72T:speck128256ctr
3.924.004.05chacha12
4.124.344.42salsa2012
5.44?5.58?6.27?T:rabbit
5.835.926.08aes256ctr
5.785.976.22T:snow20
6.006.116.19chacha20
6.256.396.48salsa20
6.706.776.91T:simon6496ctr
7.487.587.69T:simon64128ctr
7.557.627.69T:trivium
7.667.808.14T:aes192ctr
8.068.148.33tango642
8.228.308.47T:cryptmtv3
8.989.179.31T:lexv2
9.789.8610.02T:aes128estream
11.1411.3111.53xsalsa20
11.3111.4111.53T:simon128128ctr
12.9213.0313.16T:simon128256ctr
14.9715.2216.02T:nlsv2
15.3115.5015.62T:aes256estream
17.1117.3017.50T:sosemanuk
34.8435.3036.19T:panama
40.7240.8441.41T:tpy6
55.1257.1760.03T:ocelot1
60.7362.0064.31T:ocelot2
89.11?92.33?99.95?T:amastrid
93.5294.0396.12T:tpypy
91.6194.3696.86T:tpy
159.75160.19160.89T:hc128
394.03394.98396.14T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
13.5014.1214.75T:speck6496ctr
14.0014.5015.12T:speck64128ctr
15.8816.2517.25T:speck128128ctr
16.7517.3818.00T:speck128192ctr
21.0021.6222.62salsa208
25.8826.2526.88T:aes128ctr
28.7529.3830.00salsa2012
29.3830.0030.75chacha8
32.2533.2533.88T:speck128256ctr
32.6233.6236.12T:rabbit
34.38?35.25?39.00?aes256ctr
35.6236.3837.25T:aes128estream
38.0038.7539.12T:simon6496ctr
38.2538.7539.12chacha12
43.3843.8844.88T:simon64128ctr
45.2546.0047.00salsa20
46.2546.8847.38T:trivium
46.3847.0047.62T:cryptmtv3
46.6247.7550.12T:snow20
50.3851.0051.62T:lexv2
53.3856.1257.50T:aes256estream
58.3858.8863.25chacha20
62.1262.8864.12tango642
62.7563.6264.75T:aes192ctr
63.00?64.50?72.62?T:nlsv2
67.8868.5069.25T:simon128128ctr
79.5080.2580.88T:simon128256ctr
85.0085.5086.38xsalsa20
137.00138.00139.75T:sosemanuk
276.12288.50305.00T:panama
313.62315.88318.75T:tpy6
352.12?368.00?401.12?T:ocelot2
348.25?373.50?398.62?T:ocelot1
609.50?653.12?705.75?T:amastrid
730.75738.25748.75T:tpypy
677.25?769.25?792.00?T:tpy
1281.001282.751287.38T:hc128
3116.253155.123172.50T:hc256