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; Zen 4 (a60f12); 2023 AMD Ryzen 7 7700; 8 x 3800MHz; hertz, supercop-20250307

[Page version: 20250326 01:56:40]

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.23?0.25?0.30?aes256ctr
0.320.320.32chacha8
0.350.360.38T:aes128ctr
0.40?0.44?0.47?T:aes192ctr
0.440.440.45chacha12
0.450.450.46tango642
0.570.570.58salsa208
0.640.650.66T:speck6496ctr
0.640.660.66T:speck64128ctr
0.680.690.70chacha20
0.690.690.70salsa2012
0.770.790.80T:speck128128ctr
0.770.800.82T:speck128192ctr
0.810.810.84T:speck128256ctr
0.880.890.90T:simon6496ctr
0.83?0.92?0.93?T:simon64128ctr
0.940.940.96salsa20
0.940.950.95xsalsa20
1.251.291.30T:hc128
1.351.361.44T:simon128128ctr
1.29?1.38?1.44?T:tpy
1.351.421.50T:simon128256ctr
1.491.501.54T:trivium
1.481.521.54T:nlsv2
1.641.661.69T:sosemanuk
1.811.821.84T:cryptmtv3
1.831.841.91T:hc256
1.721.851.89T:tpy6
2.102.122.13T:panama
2.152.232.29T:tpypy
2.402.422.42T:snow20
2.952.983.00T:rabbit
4.004.014.04T:lexv2
8.118.158.19T:aes128estream
12.6412.6512.69T:aes256estream
13.4413.5513.64T:ocelot1
14.5414.6914.79T:ocelot2
27.1627.6528.09T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.26?0.27?0.31?aes256ctr
0.330.330.33chacha8
0.370.370.39T:aes128ctr
0.450.450.45chacha12
0.580.580.58tango642
0.590.590.59salsa208
0.660.670.67T:aes192ctr
0.670.680.69T:speck6496ctr
0.690.690.70chacha20
0.690.700.70T:speck64128ctr
0.710.710.72salsa2012
0.820.840.84T:speck128128ctr
0.840.860.87T:speck128192ctr
0.860.870.89T:speck128256ctr
0.960.960.97salsa20
1.011.011.02T:simon6496ctr
1.041.051.05xsalsa20
1.101.111.11T:simon64128ctr
1.501.501.56T:simon128128ctr
1.611.621.64T:trivium
1.651.681.70T:nlsv2
1.751.791.80T:simon128256ctr
2.052.062.07T:sosemanuk
2.392.402.41T:cryptmtv3
2.352.422.44T:tpy6
2.482.492.49T:snow20
2.522.552.58T:tpy
2.742.742.75T:panama
3.093.113.12T:rabbit
3.373.393.42T:tpypy
3.753.773.78T:hc128
4.144.144.15T:lexv2
8.198.228.23T:aes128estream
8.278.288.28T:hc256
12.7412.7512.77T:aes256estream
14.3614.4214.46T:ocelot1
15.4415.5115.56T:ocelot2
28.3228.6628.93T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.29?0.30?0.33?aes256ctr
0.400.400.41T:aes128ctr
0.420.430.43chacha8
0.540.540.54salsa208
0.580.590.59chacha12
0.670.680.68salsa2012
0.720.720.73T:speck6496ctr
0.760.760.76T:speck64128ctr
0.800.800.81tango642
0.890.910.92chacha20
0.920.920.92T:speck128128ctr
0.930.950.96T:speck128192ctr
0.950.950.96salsa20
0.970.970.98T:speck128256ctr
1.001.011.04T:aes192ctr
1.171.181.18xsalsa20
1.211.221.22T:simon6496ctr
1.401.411.42T:simon64128ctr
1.731.741.78T:simon128128ctr
1.801.841.85T:trivium
2.032.062.08T:nlsv2
2.282.402.44T:simon128256ctr
2.612.622.63T:snow20
2.752.782.80T:sosemanuk
3.313.333.35T:rabbit
3.333.473.51T:tpy6
3.573.583.59T:cryptmtv3
3.793.803.82T:panama
4.354.364.38T:lexv2
4.484.584.61T:tpy
5.405.435.46T:tpypy
7.917.917.93T:hc128
8.328.338.34T:aes128estream
12.8812.9012.91T:aes256estream
15.8415.8416.05T:ocelot1
16.4916.5816.93T:ocelot2
18.9919.0019.03T:hc256
29.2930.4630.67T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.500.500.51T:aes128ctr
0.540.540.55salsa208
0.550.570.60aes256ctr
0.560.570.58chacha8
0.770.780.79salsa2012
0.770.790.80chacha12
1.021.041.05T:speck6496ctr
1.101.101.11T:speck64128ctr
1.201.231.25chacha20
1.261.271.29salsa20
1.331.331.35T:speck128128ctr
1.351.361.38T:speck128192ctr
1.411.411.42tango642
1.401.421.43T:speck128256ctr
1.911.921.94xsalsa20
1.982.052.10T:aes192ctr
2.172.192.22T:simon6496ctr
2.312.322.32T:trivium
2.492.502.51T:simon64128ctr
2.652.662.67T:simon128128ctr
2.892.922.94T:simon128256ctr
2.892.942.97T:nlsv2
2.932.952.96T:snow20
3.823.893.92T:rabbit
4.344.354.36T:cryptmtv3
4.464.484.69T:sosemanuk
4.904.924.94T:lexv2
5.665.745.83T:tpy6
6.556.576.62T:panama
8.488.548.59T:aes128estream
9.779.9110.09T:tpy
10.5810.6910.82T:tpypy
13.2413.2913.30T:aes256estream
18.7618.7718.88T:hc128
19.4419.5519.71T:ocelot1
20.6120.8621.15T:ocelot2
35.4035.7035.98T:amastrid
47.7347.7647.77T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.52?1.67?1.78?T:aes128ctr
2.812.842.88salsa208
3.033.123.20aes256ctr
3.693.693.72salsa2012
3.944.084.20T:speck6496ctr
4.064.164.17T:speck64128ctr
4.804.844.91chacha8
4.985.035.23T:speck128128ctr
5.055.115.22T:simon6496ctr
5.115.145.27T:speck128192ctr
5.365.475.52T:speck128256ctr
5.525.535.56salsa20
6.276.286.34T:simon64128ctr
6.726.816.92chacha12
7.097.147.20T:snow20
8.238.238.28T:simon128128ctr
8.348.458.56T:trivium
8.708.788.91T:cryptmtv3
9.099.279.45tango642
9.569.619.62T:simon128256ctr
10.4110.6710.92chacha20
10.5910.8911.19T:rabbit
10.9110.9110.94xsalsa20
11.5511.5911.66T:lexv2
11.7211.7711.86T:aes128estream
14.3914.7715.83T:aes192ctr
16.7016.8617.03T:nlsv2
17.8817.9518.05T:aes256estream
24.3324.4225.84T:sosemanuk
37.8137.9238.45T:tpy6
42.3142.5643.09T:panama
66.8969.4570.33T:ocelot1
67.7569.9871.23T:ocelot2
77.8178.4178.59T:tpypy
77.8678.5279.11T:tpy
100.39101.66102.98T:amastrid
160.38160.41160.75T:hc128
414.05415.22415.52T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
12.50?12.75?14.50?T:aes128ctr
14.7514.7515.12T:speck64128ctr
18.0018.2518.25T:speck128192ctr
19.0019.0019.88T:speck128256ctr
20.2520.2520.25T:speck128128ctr
24.5025.3825.88aes256ctr
25.7526.0027.75T:speck6496ctr
29.7531.0031.75salsa208
31.5031.5032.12chacha8
38.1238.2538.62T:simon6496ctr
39.3839.3840.75chacha12
39.0039.8840.88salsa2012
48.0048.0048.00T:simon64128ctr
48.6248.8849.38T:aes128estream
55.0055.2556.00T:snow20
55.5055.7558.62T:cryptmtv3
56.5057.2558.12T:trivium
60.1260.6261.00chacha20
62.5062.5062.88salsa20
66.7567.0067.50tango642
66.8867.2568.88T:aes256estream
66.8868.7570.12T:rabbit
68.0069.1270.00T:lexv2
76.6276.6276.62T:simon128128ctr
87.7587.7587.75T:simon128256ctr
87.8890.6292.88T:nlsv2
106.12106.62106.88xsalsa20
116.75120.00125.75T:aes192ctr
206.62207.25207.50T:sosemanuk
294.62298.25303.50T:tpy6
334.12335.38339.12T:panama
444.12457.25467.38T:ocelot2
444.88459.50462.75T:ocelot1
611.62614.50625.62T:tpy
611.75616.88619.75T:tpypy
653.50682.00698.50T:amastrid
1281.121282.251284.38T:hc128
3316.883318.623319.25T:hc256