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

[Page version: 20260707 03:12:51]

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.27?aes256ctr
0.310.310.32chacha8
0.340.360.36T:aes128ctr
0.40?0.43?0.48?T:aes192ctr
0.430.440.44chacha12
0.560.570.58salsa208
0.610.610.61tango642
0.680.690.70chacha20
0.680.690.70T:speck6496ctr
0.680.690.70salsa2012
0.700.710.72T:speck64128ctr
0.760.770.80T:speck128128ctr
0.790.800.82T:speck128192ctr
0.810.830.84T:speck128256ctr
0.930.940.95salsa20
0.930.941.01xsalsa20
0.940.971.02T:simon6496ctr
0.88?0.98?1.12?T:simon64128ctr
1.16?1.21?1.38?T:hc128
1.341.351.36T:simon128128ctr
1.26?1.40?1.48?T:tpy
1.361.431.45T:simon128256ctr
1.541.591.62T:nlsv2
1.591.621.67T:trivium
1.591.671.71T:tpy6
1.661.681.69T:sosemanuk
1.671.701.73T:hc256
1.821.841.85T:cryptmtv3
2.022.032.05T:panama
2.162.242.32T:tpypy
2.402.412.43T:snow20
3.053.123.18T:rabbit
3.994.024.05T:lexv2
8.128.168.18T:aes128estream
12.0512.0712.11T:aes256estream
12.7112.8313.02T:ocelot1
13.9714.0714.17T:ocelot2
25.42?27.74?28.56?T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.260.270.28aes256ctr
0.320.320.33chacha8
0.360.370.38T:aes128ctr
0.440.440.45chacha12
0.590.590.59salsa208
0.640.650.67T:aes192ctr
0.690.690.70chacha20
0.710.710.72salsa2012
0.710.720.73T:speck6496ctr
0.740.740.74tango642
0.740.740.75T:speck64128ctr
0.810.810.84T:speck128128ctr
0.830.840.86T:speck128192ctr
0.860.870.88T:speck128256ctr
0.950.960.96salsa20
1.041.041.09xsalsa20
1.101.121.14T:simon6496ctr
1.271.341.36T:simon64128ctr
1.501.501.51T:simon128128ctr
1.721.751.77T:nlsv2
1.741.791.80T:simon128256ctr
1.781.801.82T:trivium
2.042.042.04T:sosemanuk
2.222.252.27T:tpy6
2.422.432.43T:cryptmtv3
2.482.492.49T:snow20
2.522.572.61T:tpy
2.632.632.64T:panama
3.203.243.28T:rabbit
3.383.423.46T:tpypy
3.853.873.99T:hc128
4.144.154.17T:lexv2
8.188.218.22T:aes128estream
9.089.099.11T:hc256
12.1312.1412.16T:aes256estream
13.6813.7313.84T:ocelot1
14.8514.9014.95T:ocelot2
27.3328.9129.17T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.290.290.30aes256ctr
0.390.400.41T:aes128ctr
0.410.420.42chacha8
0.530.540.54salsa208
0.580.580.59chacha12
0.670.680.68salsa2012
0.760.770.77T:speck6496ctr
0.800.810.83T:speck64128ctr
0.870.880.89T:speck128128ctr
0.900.910.92chacha20
0.910.920.92T:speck128192ctr
0.930.940.95T:speck128256ctr
0.940.950.95salsa20
0.960.960.97tango642
0.930.971.01T:aes192ctr
1.161.171.18xsalsa20
1.341.351.38T:simon6496ctr
1.741.741.76T:simon128128ctr
1.73?1.91?1.96?T:simon64128ctr
2.052.092.10T:trivium
2.102.122.15T:nlsv2
2.232.372.41T:simon128256ctr
2.602.612.62T:snow20
2.692.702.71T:sosemanuk
3.073.203.26T:tpy6
3.413.433.47T:rabbit
3.593.603.61T:cryptmtv3
3.623.633.65T:panama
4.364.364.37T:lexv2
4.384.464.51T:tpy
5.125.445.53T:tpypy
8.308.328.37T:aes128estream
8.268.328.41T:hc128
12.2912.3212.34T:aes256estream
15.0515.1815.31T:ocelot1
16.1916.2716.39T:ocelot2
21.4021.4521.47T:hc256
30.0930.4330.75T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.510.510.53T:aes128ctr
0.540.540.55salsa208
0.550.550.56aes256ctr
0.550.560.57chacha8
0.760.780.79chacha12
0.780.780.79salsa2012
1.051.061.06T:speck6496ctr
1.091.101.11T:speck64128ctr
1.211.221.24chacha20
1.251.261.27T:speck128128ctr
1.261.261.28salsa20
1.311.311.32T:speck128192ctr
1.321.341.36T:speck128256ctr
1.541.541.56tango642
1.711.761.84T:aes192ctr
1.881.901.91xsalsa20
2.242.252.27T:simon64128ctr
2.40?2.66?2.95?T:simon6496ctr
2.642.662.68T:simon128128ctr
2.722.772.81T:trivium
2.922.922.92T:simon128256ctr
2.912.932.95T:snow20
2.953.003.03T:nlsv2
3.943.963.98T:rabbit
4.424.434.47T:sosemanuk
4.394.434.48T:cryptmtv3
4.894.954.97T:lexv2
5.735.815.89T:tpy6
6.246.276.30T:panama
8.548.568.59T:aes128estream
9.879.9810.11T:tpy
10.6210.7810.91T:tpypy
12.5212.5512.59T:aes256estream
19.0419.2219.47T:ocelot1
19.5219.6719.85T:ocelot2
20.0520.1120.21T:hc128
35.1636.2636.99T:amastrid
54.3654.4254.43T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.50?1.55?1.82?T:aes128ctr
2.802.822.85salsa208
3.003.143.27aes256ctr
3.733.753.77salsa2012
3.703.773.82T:speck6496ctr
3.913.984.10T:speck64128ctr
4.614.644.78T:speck128128ctr
4.684.754.83chacha8
4.914.975.06T:speck128192ctr
4.884.985.29T:simon6496ctr
5.085.135.42T:speck128256ctr
5.535.565.58salsa20
5.976.046.18T:simon64128ctr
6.626.726.83chacha12
7.137.187.34T:snow20
8.238.268.31T:simon128128ctr
8.959.149.28T:cryptmtv3
9.139.169.28tango642
9.569.629.62T:simon128256ctr
10.5210.5410.58xsalsa20
10.5610.5910.60T:rabbit
10.4310.6810.83chacha20
11.0911.1711.22T:trivium
11.5311.6312.01T:lexv2
11.6511.8412.10T:aes128estream
12.4212.8713.71T:aes192ctr
16.6616.8017.01T:nlsv2
16.8716.9817.11T:aes256estream
23.9523.9924.51T:sosemanuk
38.2138.3438.52T:tpy6
40.1140.2040.29T:panama
63.7364.7166.01T:ocelot2
67.8669.2170.75T:ocelot1
75.9777.4877.66T:tpy
76.9077.5478.15T:tpypy
98.6499.65100.50T:amastrid
170.97171.27171.61T:hc128
474.50474.87475.89T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
14.09?14.51?16.10?T:aes128ctr
14.7514.7514.75T:speck6496ctr
16.8816.8816.88T:speck64128ctr
18.5018.5018.93T:speck128128ctr
18.6218.6218.62T:speck128256ctr
19.7519.7520.25T:speck128192ctr
24.4925.2126.86aes256ctr
27.0927.4727.99salsa208
28.0328.3828.38chacha8
35.6436.2737.07salsa2012
38.1238.1638.89T:simon6496ctr
37.9738.2438.49chacha12
48.8848.8848.91T:simon64128ctr
49.4849.5049.57T:aes128estream
53.0053.3353.51salsa20
56.4656.9957.72T:snow20
55.6458.1758.44T:cryptmtv3
61.7462.4763.25chacha20
63.1263.3963.77T:aes256estream
66.6266.8567.07T:rabbit
69.4069.5169.62tango642
69.1970.0170.49T:lexv2
77.0077.0077.01T:simon128128ctr
77.2577.2777.38T:trivium
87.6287.6287.62T:simon128256ctr
86.9688.4390.03T:nlsv2
96.4296.6496.88xsalsa20
102.89108.73114.03T:aes192ctr
190.44191.34196.23T:sosemanuk
292.26296.90297.95T:tpy6
314.15314.88317.38T:panama
412.55418.33428.77T:ocelot2
446.83?458.65?498.46?T:ocelot1
592.56597.89602.99T:tpy
613.05615.97622.06T:tpypy
648.86664.48676.79T:amastrid
1367.351371.381374.79T:hc128
3795.293797.923804.65T:hc256