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

[Page version: 20260418 07:16:21]

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.220.230.24aes256ctr
0.340.350.35T:aes128ctr
0.42?0.45?0.48?tango642
0.41?0.45?0.49?T:aes192ctr
0.500.520.54chacha8
0.580.590.60salsa208
0.730.740.75chacha12
0.840.850.86salsa2012
1.021.021.04T:speck6496ctr
1.051.061.09T:speck64128ctr
1.201.221.24chacha20
1.251.261.28T:speck128128ctr
1.14?1.29?1.39?T:tpy
1.281.291.31T:speck128192ctr
1.321.331.35T:speck128256ctr
1.341.361.38salsa20
1.351.371.39xsalsa20
1.371.391.40T:simon6496ctr
1.17?1.42?1.57?T:hc128
1.431.451.46T:simon64128ctr
1.46?1.59?1.75?T:hc256
1.551.641.72T:tpy6
1.561.661.71T:snow20
1.651.701.80T:sosemanuk
1.751.781.82T:panama
1.781.821.84T:nlsv2
1.88?1.92?2.11?T:rabbit
1.961.971.97T:trivium
1.70?2.01?2.22?T:tpypy
2.092.112.13T:simon128128ctr
2.092.112.13T:simon128256ctr
2.332.352.37T:cryptmtv3
3.603.623.64T:lexv2
7.277.317.33T:aes128estream
11.2611.2811.31T:aes256estream
12.3012.7613.22T:ocelot1
12.8113.1813.53T:ocelot2
24.0424.4825.07T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.270.280.28aes256ctr
0.380.380.38T:aes128ctr
0.520.530.54chacha8
0.570.570.59tango642
0.590.590.60salsa208
0.650.660.68T:aes192ctr
0.740.740.75chacha12
0.850.850.86salsa2012
1.041.041.05T:speck6496ctr
1.081.091.10T:speck64128ctr
1.221.231.23chacha20
1.281.291.30T:speck128128ctr
1.311.321.33T:speck128192ctr
1.351.361.37T:speck128256ctr
1.371.381.38salsa20
1.451.451.46xsalsa20
1.531.541.54T:simon6496ctr
1.661.671.67T:simon64128ctr
1.751.771.79T:snow20
1.931.942.00T:sosemanuk
1.931.951.97T:nlsv2
2.012.032.14T:rabbit
2.052.052.05T:trivium
2.252.282.32T:tpy6
2.302.322.33T:panama
2.332.332.35T:simon128128ctr
2.432.442.44T:simon128256ctr
2.652.712.76T:tpy
2.842.852.85T:cryptmtv3
3.363.473.58T:tpypy
3.523.663.74T:hc128
3.703.703.72T:lexv2
7.347.357.36T:aes128estream
7.427.467.52T:hc256
11.3311.3411.36T:aes256estream
13.2713.4813.72T:ocelot1
13.8514.0314.22T:ocelot2
25.3125.5625.75T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.350.350.37aes256ctr
0.430.430.44T:aes128ctr
0.520.530.55chacha8
0.590.600.60salsa208
0.740.750.76chacha12
0.750.770.81tango642
0.840.850.86salsa2012
1.011.031.08T:aes192ctr
1.071.081.09T:speck6496ctr
1.111.121.13T:speck64128ctr
1.221.241.25chacha20
1.331.331.35T:speck128128ctr
1.351.361.38T:speck128192ctr
1.391.401.42salsa20
1.401.411.43T:speck128256ctr
1.581.601.61xsalsa20
1.771.781.79T:simon6496ctr
1.831.861.90T:snow20
2.032.042.05T:simon64128ctr
2.122.152.25T:rabbit
2.192.192.20T:trivium
2.232.262.28T:nlsv2
2.352.372.41T:sosemanuk
2.702.712.74T:simon128128ctr
2.983.003.01T:simon128256ctr
3.183.213.29T:panama
3.233.283.38T:tpy6
3.843.853.88T:lexv2
4.014.024.04T:cryptmtv3
4.834.925.03T:tpy
5.745.896.00T:tpypy
7.217.247.37T:hc128
7.377.397.40T:aes128estream
11.4211.4411.47T:aes256estream
14.2114.5314.93T:ocelot1
15.3615.6116.00T:ocelot2
17.1217.2417.33T:hc256
26.4527.2127.70T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.610.630.67T:aes128ctr
0.620.630.68aes256ctr
0.65?0.66?0.75?chacha8
0.770.780.80salsa208
0.940.950.97chacha12
1.121.131.14salsa2012
1.221.231.24T:speck6496ctr
1.251.261.28T:speck64128ctr
1.251.261.29tango642
1.501.511.54T:speck128128ctr
1.541.551.56T:speck128192ctr
1.591.611.62chacha20
1.591.611.63T:speck128256ctr
1.861.901.93salsa20
1.911.972.09T:aes192ctr
2.202.232.32T:snow20
2.332.442.58T:rabbit
2.422.442.46xsalsa20
2.562.572.59T:trivium
3.023.033.07T:simon6496ctr
3.013.063.10T:nlsv2
3.203.213.25T:simon64128ctr
3.533.563.61T:sosemanuk
4.234.264.34T:lexv2
4.524.554.58T:cryptmtv3
4.884.894.90T:simon128128ctr
5.185.195.22T:simon128256ctr
5.425.505.61T:panama
5.926.056.17T:tpy6
7.557.587.61T:aes128estream
11.1411.2611.47T:tpy
11.6911.7311.76T:aes256estream
12.2912.5012.90T:tpypy
17.3817.6217.85T:hc128
18.3319.0519.77T:ocelot1
18.7119.6420.24T:ocelot2
31.5032.5433.36T:amastrid
43.2343.4443.81T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.562.612.72T:speck6496ctr
2.652.702.74chacha8
2.662.722.81T:speck64128ctr
3.013.063.12salsa208
3.09?3.21?3.48?T:aes128ctr
3.353.403.51T:speck128192ctr
3.433.523.65T:speck128128ctr
3.503.573.67T:speck128256ctr
3.663.683.73chacha12
3.96?4.05?4.51?aes256ctr
4.034.124.27salsa2012
5.655.725.78chacha20
5.60?5.86?6.43?T:rabbit
5.735.966.31T:snow20
6.166.276.35salsa20
6.886.967.19T:simon6496ctr
7.487.537.58T:trivium
7.547.647.78tango642
7.897.978.17T:simon64128ctr
8.088.218.39T:cryptmtv3
9.189.479.94T:lexv2
9.679.819.96T:aes128estream
11.4411.5211.66xsalsa20
11.7211.8412.03T:simon128128ctr
12.6612.7612.99T:simon128256ctr
13.9514.5415.30T:aes192ctr
14.4414.6414.77T:nlsv2
14.9615.0715.27T:aes256estream
17.4417.5617.78T:sosemanuk
34.7435.6036.86T:panama
39.7239.9240.42T:tpy6
56.52?58.49?63.16?T:ocelot2
62.09?65.59?71.61?T:ocelot1
92.3593.7298.26T:amastrid
94.4098.43101.97T:tpypy
96.7699.17100.87T:tpy
147.12147.47149.21T:hc128
377.03378.07380.46T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
13.31?13.91?14.97?T:speck6496ctr
13.82?14.44?15.44?T:speck64128ctr
14.89?15.66?16.76?T:speck128128ctr
16.7617.3518.02T:speck128192ctr
17.07?17.98?21.21?T:speck128256ctr
25.5726.0727.51T:aes128ctr
29.4130.7332.22salsa208
31.1031.5331.93chacha8
32.5533.1434.31aes256ctr
33.65?35.08?38.91?T:rabbit
37.2838.7140.19salsa2012
39.6840.2240.61T:aes128estream
39.05?40.31?44.42?T:simon6496ctr
41.2741.5742.05chacha12
46.0246.3646.91T:trivium
46.4346.9447.46T:simon64128ctr
46.7447.2647.88T:cryptmtv3
45.7647.3149.62T:snow20
52.4252.9353.82T:lexv2
53.0653.7555.53chacha20
53.7654.6956.09T:aes256estream
57.59?58.65?64.72?tango642
60.2862.4064.78salsa20
68.2269.1470.57T:simon128128ctr
75.5576.1776.86T:simon128256ctr
77.8078.6179.36T:nlsv2
95.1797.1899.70xsalsa20
112.12113.09120.22T:aes192ctr
139.25140.23142.14T:sosemanuk
274.69279.76287.15T:panama
322.30325.72330.81T:tpy6
361.33?376.30?403.03?T:ocelot1
374.99?394.55?433.14?T:ocelot2
622.92637.36674.02T:amastrid
732.47754.93804.22T:tpy
733.60756.60800.50T:tpypy
1175.431179.641192.70T:hc128
2987.923020.013048.53T:hc256