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; Ice Lake (706e5); 2020 Intel Core i3-1000NG4; 2 x 1100MHz; puddle, supercop-20261004

[Page version: 20261104 12:17:10]

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.230.240.24aes256ctr
0.290.290.30chacha8
0.360.370.37T:aes128ctr
0.390.390.40chacha12
0.47?0.50?0.53?T:aes192ctr
0.540.550.55T:speck6496ctr
0.580.590.59salsa208
0.580.590.59T:speck64128ctr
0.590.590.60chacha20
0.620.650.67tango642
0.660.670.67T:speck128128ctr
0.680.690.69salsa2012
0.680.690.70T:speck128192ctr
0.700.710.72T:speck128256ctr
0.880.890.91xsalsa20
0.890.900.91salsa20
0.920.960.99T:simon6496ctr
1.001.021.06T:simon64128ctr
1.391.411.44T:hc128
1.421.441.45T:simon128128ctr
1.501.511.52T:trivium
1.501.521.54T:simon128256ctr
1.43?1.54?1.68?T:tpy
1.761.781.81T:sosemanuk
1.771.791.81T:nlsv2
1.741.821.92T:tpy6
1.891.931.97T:hc256
2.152.182.22T:snow20
2.312.342.37T:panama
2.392.412.43T:cryptmtv3
2.31?2.48?2.61?T:tpypy
2.522.582.64T:rabbit
4.514.534.55T:lexv2
8.718.748.77T:aes128estream
13.6913.7313.77T:aes256estream
13.01?14.93?15.20?T:ocelot1
14.9015.3115.69T:ocelot2
27.6228.2229.00T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.280.280.29aes256ctr
0.290.290.29chacha8
0.390.390.40chacha12
0.400.400.41T:aes128ctr
0.570.580.58T:speck6496ctr
0.590.590.59chacha20
0.590.600.60salsa208
0.610.610.62T:speck64128ctr
0.700.710.71T:speck128128ctr
0.710.710.71salsa2012
0.730.730.73T:speck128192ctr
0.750.750.75T:speck128256ctr
0.770.780.79tango642
0.780.790.80T:aes192ctr
0.900.910.91salsa20
1.001.011.01xsalsa20
1.151.161.18T:simon6496ctr
1.361.361.39T:simon64128ctr
1.611.621.62T:trivium
1.661.671.67T:simon128128ctr
1.901.901.91T:simon128256ctr
1.941.951.95T:nlsv2
2.242.252.26T:sosemanuk
2.272.282.30T:snow20
2.482.512.57T:tpy6
2.632.652.68T:rabbit
2.872.882.90T:cryptmtv3
3.003.013.03T:panama
3.033.083.13T:tpy
3.743.833.89T:tpypy
4.044.054.05T:hc128
4.644.654.66T:lexv2
8.788.798.81T:aes128estream
9.139.149.16T:hc256
13.8013.8213.85T:aes256estream
14.7815.9316.07T:ocelot1
15.9416.1416.34T:ocelot2
29.2829.6530.08T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.360.360.37aes256ctr
0.370.380.39chacha8
0.460.460.47T:aes128ctr
0.510.510.52chacha12
0.56?0.57?0.71?salsa208
0.620.620.63T:speck6496ctr
0.650.650.66T:speck64128ctr
0.680.690.70salsa2012
0.760.770.78T:speck128128ctr
0.770.780.78chacha20
0.780.790.80T:speck128192ctr
0.810.820.83T:speck128256ctr
0.920.930.95salsa20
0.980.981.02tango642
1.181.191.20xsalsa20
1.231.271.31T:aes192ctr
1.461.491.52T:simon6496ctr
1.771.781.80T:trivium
1.921.951.99T:simon64128ctr
2.042.052.07T:simon128128ctr
2.292.302.31T:nlsv2
2.412.442.48T:snow20
2.53?2.58?3.75?T:simon128256ctr
2.792.822.86T:rabbit
3.063.073.11T:sosemanuk
3.653.723.83T:tpy6
4.114.134.16T:panama
4.184.204.23T:cryptmtv3
4.844.854.86T:lexv2
5.635.775.88T:tpy
6.186.356.52T:tpypy
8.398.418.43T:hc128
8.848.858.87T:aes128estream
13.9413.9614.01T:aes256estream
16.6816.8716.98T:ocelot1
17.3117.4817.70T:ocelot2
21.1221.1421.17T:hc256
32.6032.7332.97T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.480.480.52chacha8
0.600.620.64salsa208
0.660.660.70T:aes128ctr
0.680.710.72chacha12
0.740.750.76aes256ctr
0.820.830.86T:speck6496ctr
0.820.830.84T:speck64128ctr
0.860.880.91salsa2012
1.011.031.05chacha20
1.021.031.06T:speck128128ctr
1.051.061.09T:speck128192ctr
1.091.101.14T:speck128256ctr
1.301.321.36salsa20
1.531.551.65tango642
1.972.002.03xsalsa20
2.232.252.28T:trivium
2.512.562.63T:aes192ctr
2.802.842.90T:snow20
2.792.842.90T:simon64128ctr
2.852.882.96T:simon6496ctr
3.053.093.18T:simon128128ctr
3.073.123.22T:rabbit
3.083.123.18T:nlsv2
3.323.373.44T:simon128256ctr
4.494.504.52T:cryptmtv3
5.275.315.38T:sosemanuk
5.355.365.40T:lexv2
6.636.816.93T:tpy6
7.007.057.14T:panama
9.049.079.12T:aes128estream
11.6411.8612.10T:tpy
12.0612.2512.46T:tpypy
14.3414.3714.43T:aes256estream
20.0920.1520.22T:hc128
20.8721.1821.68T:ocelot2
24.3024.9325.59T:ocelot1
37.6937.9838.29T:amastrid
53.0853.1553.31T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.652.742.80T:speck64128ctr
2.812.842.87salsa208
2.71?3.10?4.31?T:speck6496ctr
3.07?3.14?3.42?T:aes128ctr
3.543.613.69T:speck128128ctr
3.633.673.71salsa2012
3.69?3.77?4.11?T:speck128192ctr
3.803.854.09T:speck128256ctr
4.264.324.42chacha8
4.794.855.00aes256ctr
5.275.325.37salsa20
5.715.765.84T:simon6496ctr
5.805.916.11chacha12
6.756.826.96T:simon64128ctr
6.97?7.16?7.80?T:rabbit
7.847.918.05T:cryptmtv3
7.26?7.92?8.48?T:snow20
7.938.058.15T:trivium
8.488.639.42tango642
8.969.039.15T:simon128128ctr
9.129.239.35chacha20
10.0310.1710.31T:simon128256ctr
10.8210.9911.29xsalsa20
11.6411.7311.93T:lexv2
11.7611.8412.04T:aes128estream
15.3915.5615.88T:nlsv2
18.8019.2019.74T:aes192ctr
19.6619.8019.98T:aes256estream
30.6530.8231.47T:sosemanuk
43.1144.7545.95T:tpy6
44.6045.0846.00T:panama
66.8669.7371.72T:ocelot2
89.5992.4396.71T:tpypy
101.22103.65108.13T:tpy
104.24105.88109.43T:ocelot1
108.82109.83111.23T:amastrid
169.83170.39171.17T:hc128
462.65463.34464.12T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
14.17?15.56?18.36?T:speck6496ctr
15.40?16.05?17.51?T:speck64128ctr
17.60?18.30?20.92?T:speck128192ctr
18.28?18.70?21.25?T:speck128256ctr
19.29?22.23?23.16?T:speck128128ctr
25.2026.0727.31T:aes128ctr
28.2128.7229.18chacha8
38.2838.8639.82aes256ctr
38.1839.2241.08chacha12
39.1639.8240.41salsa2012
41.6042.1443.17T:simon6496ctr
42.1042.7643.18salsa208
41.93?42.85?47.66?T:rabbit
43.7844.5845.36T:cryptmtv3
44.3145.1446.02T:aes128estream
49.2949.8950.84T:simon64128ctr
52.5853.2753.90chacha20
53.0153.7654.49T:trivium
56.10?61.49?65.67?T:snow20
64.26?66.65?73.81?tango642
65.9467.0868.29salsa20
66.6467.4268.45T:lexv2
77.2378.1178.91T:simon128128ctr
77.8178.6979.55T:aes256estream
80.7882.3884.99T:nlsv2
86.2987.3288.76T:simon128256ctr
109.51110.84114.20xsalsa20
145.92147.96152.12T:aes192ctr
245.28246.80253.06T:sosemanuk
336.67345.44354.28T:tpy6
348.99354.83362.19T:panama
433.52450.24465.64T:ocelot2
699.36707.24751.91T:tpypy
715.98727.61741.85T:amastrid
758.93788.28810.46T:tpy
752.23792.51820.32T:ocelot1
1360.441363.811369.73T:hc128
3699.563705.893713.74T:hc256