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 (90675-00); 2022 Intel Core i3-12100; 4 x 3300MHz; alder, supercop-20260217

[Page version: 20260326 06:32:23]

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 (or StQ1 starting with supercop-20260214), the median of many speed measurements (or StQ2 starting with supercop-20260214), the third quartile of many speed measurements (or StQ3 starting with supercop-20260214), and the name of the primitive. Measurements with large interquartile range (or stabilized interquartile range) 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.24?0.25?0.45?aes256ctr
0.330.340.35T:aes128ctr
0.40?0.44?0.48?T:aes192ctr
0.43?0.48?0.50?tango642
0.510.520.53chacha8
0.590.610.62salsa208
0.730.740.76chacha12
0.850.870.90salsa2012
1.011.021.03T:speck6496ctr
1.051.061.08T:speck64128ctr
1.151.171.19chacha20
1.241.261.27T:speck128128ctr
1.06?1.30?1.42?T:tpy
1.291.311.33T:speck128192ctr
1.321.331.35T:speck128256ctr
1.381.391.40T:simon6496ctr
1.371.401.42xsalsa20
1.391.401.42salsa20
1.381.451.48T:simon64128ctr
1.21?1.47?1.63?T:hc128
1.30?1.49?1.72?T:tpy6
1.511.551.60T:nlsv2
1.57?1.63?1.77?T:snow20
1.611.691.78T:tpypy
1.53?1.71?2.04?T:hc256
1.771.841.89T:panama
1.881.891.89T:trivium
1.881.921.98T:sosemanuk
1.90?1.94?2.15?T:rabbit
2.332.342.37T:cryptmtv3
2.542.552.57T:simon128128ctr
2.652.682.71T:simon128256ctr
3.603.623.64T:lexv2
7.297.307.33T:aes128estream
10.9711.0011.03T:aes256estream
11.3511.8412.59T:ocelot1
11.72?13.10?13.55?T:ocelot2
24.7225.4825.80T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.30?0.31?0.46?aes256ctr
0.380.380.38T:aes128ctr
0.510.520.53chacha8
0.580.590.60tango642
0.600.610.62salsa208
0.630.640.66T:aes192ctr
0.740.740.75chacha12
0.870.880.89salsa2012
1.041.051.05T:speck6496ctr
1.081.091.10T:speck64128ctr
1.171.171.18chacha20
1.281.281.29T:speck128128ctr
1.331.341.35T:speck128192ctr
1.351.361.37T:speck128256ctr
1.401.411.42salsa20
1.481.501.51xsalsa20
1.531.541.54T:simon6496ctr
1.661.671.68T:simon64128ctr
1.681.691.73T:nlsv2
1.691.711.80T:snow20
1.971.971.97T:trivium
1.992.012.16T:rabbit
2.092.112.15T:sosemanuk
2.032.152.24T:tpy6
2.312.352.39T:panama
2.642.672.71T:tpy
2.772.772.78T:simon128128ctr
2.872.872.88T:cryptmtv3
2.952.993.03T:tpypy
3.053.063.07T:simon128256ctr
3.703.713.72T:lexv2
3.863.944.01T:hc128
7.337.347.36T:aes128estream
8.438.498.63T:hc256
11.0711.0911.10T:aes256estream
12.4912.7513.19T:ocelot1
13.0314.0114.23T:ocelot2
26.1426.5526.72T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.400.410.42aes256ctr
0.420.430.45T:aes128ctr
0.520.520.53chacha8
0.600.610.63salsa208
0.730.750.75chacha12
0.750.750.81tango642
0.870.880.90salsa2012
0.940.951.01T:aes192ctr
1.081.091.11T:speck6496ctr
1.131.131.14T:speck64128ctr
1.181.191.20chacha20
1.311.321.33T:speck128128ctr
1.391.411.42T:speck128256ctr
1.391.411.44T:speck128192ctr
1.411.431.45salsa20
1.651.661.68xsalsa20
1.771.781.79T:simon6496ctr
1.931.962.00T:snow20
2.022.032.06T:simon64128ctr
2.022.042.07T:nlsv2
2.082.112.13T:rabbit
2.102.112.12T:trivium
2.472.502.53T:sosemanuk
3.113.133.15T:simon128128ctr
3.093.173.29T:tpy6
3.223.303.35T:panama
3.663.683.71T:simon128256ctr
3.843.863.88T:lexv2
4.074.084.10T:cryptmtv3
4.904.965.01T:tpy
5.065.235.42T:tpypy
7.397.417.44T:aes128estream
7.837.908.15T:hc128
11.2011.2211.26T:aes256estream
14.0814.6514.89T:ocelot1
15.2315.4615.78T:ocelot2
19.5919.7319.91T:hc256
27.0327.6228.01T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.61?0.63?0.68?T:aes128ctr
0.630.640.65chacha8
0.67?0.75?0.79?aes256ctr
0.800.810.83salsa208
0.940.960.98chacha12
1.171.181.20salsa2012
1.201.211.23T:speck6496ctr
1.261.271.28T:speck64128ctr
1.24?1.30?1.38?tango642
1.491.501.50T:speck128128ctr
1.531.551.61T:speck128192ctr
1.551.571.59chacha20
1.571.581.59T:speck128256ctr
1.891.911.93salsa20
1.931.982.05T:aes192ctr
2.302.332.43T:rabbit
2.18?2.35?2.58?T:snow20
2.452.472.50xsalsa20
2.482.492.49T:trivium
2.812.903.08T:nlsv2
2.962.983.00T:simon6496ctr
3.153.173.21T:simon64128ctr
3.543.583.72T:sosemanuk
4.274.334.38T:lexv2
4.644.684.70T:cryptmtv3
4.844.864.89T:simon128128ctr
5.185.205.21T:simon128256ctr
5.385.495.59T:panama
5.695.886.11T:tpy6
7.567.587.61T:aes128estream
10.7210.9211.27T:tpypy
11.5611.5911.64T:aes256estream
11.1711.6312.10T:tpy
17.1418.2818.96T:ocelot2
18.1118.5919.28T:ocelot1
19.0419.1819.69T:hc128
31.5732.2833.08T:amastrid
49.5549.8250.31T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.542.612.72T:speck6496ctr
2.652.682.78T:speck64128ctr
2.652.712.76chacha8
3.053.113.16salsa208
3.02?3.13?3.41?T:aes128ctr
3.263.323.41T:speck128128ctr
3.333.393.57T:speck128192ctr
3.423.483.60T:speck128256ctr
3.653.703.76chacha12
4.034.124.39aes256ctr
4.274.324.37salsa2012
5.19?5.40?5.91?T:rabbit
5.625.705.77chacha20
5.716.196.31T:snow20
6.496.586.75T:simon6496ctr
6.546.606.68salsa20
7.277.317.43T:trivium
7.287.548.02tango642
7.527.597.75T:simon64128ctr
8.438.538.65T:cryptmtv3
9.189.309.46T:lexv2
9.749.8410.02T:aes128estream
11.5011.6111.69xsalsa20
11.7011.8012.00T:simon128128ctr
12.9613.0813.32T:simon128256ctr
13.0413.3914.25T:aes192ctr
14.5414.6514.78T:nlsv2
15.0715.1815.31T:sosemanuk
16.2916.4116.54T:aes256estream
34.0134.7035.65T:panama
39.5139.9040.38T:tpy6
57.64?60.35?64.22?T:ocelot2
57.84?61.13?64.67?T:ocelot1
78.30?84.03?88.12?T:tpypy
88.7191.4692.43T:tpy
92.71?97.71?107.53?T:amastrid
161.12161.75162.40T:hc128
433.49435.26438.24T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
13.3613.7814.84T:speck64128ctr
13.3113.9014.76T:speck6496ctr
16.3616.9517.84T:speck128128ctr
16.4217.0017.48T:speck128192ctr
17.0917.7918.42T:speck128256ctr
22.9423.5324.31salsa208
24.8026.0527.18T:aes128ctr
29.89?30.67?33.67?T:rabbit
31.1432.3933.49chacha8
32.9033.7534.67salsa2012
34.0134.5836.51aes256ctr
34.9235.5736.59T:aes128estream
35.5737.4038.92chacha12
37.9638.3538.93T:simon6496ctr
43.4444.6546.04T:trivium
46.7247.2148.10T:simon64128ctr
46.9247.9648.82T:cryptmtv3
47.3847.9948.88salsa20
44.31?48.03?49.94?T:snow20
49.3150.0251.90chacha20
51.5752.2052.97T:lexv2
55.2556.1460.69tango642
65.3165.7066.24T:aes256estream
70.1270.9373.09T:simon128128ctr
77.9078.4479.54T:simon128256ctr
77.8878.5479.12T:nlsv2
87.3288.3389.91xsalsa20
105.84109.24115.58T:aes192ctr
120.78123.14126.35T:sosemanuk
277.44283.12290.86T:panama
305.52308.45313.31T:tpy6
369.42?389.62?410.79?T:ocelot2
382.42397.38414.17T:ocelot1
615.78636.11679.16T:amastrid
636.43643.00694.66T:tpypy
684.07712.31756.97T:tpy
1291.171305.891339.05T:hc128
3431.113479.303523.17T:hc256