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

[Page version: 20260221 06:45:09]

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.25aes256ctr
0.310.310.32chacha8
0.350.360.36T:aes128ctr
0.430.440.45chacha12
0.42?0.45?0.50?T:aes192ctr
0.570.570.58salsa208
0.600.610.61tango642
0.670.680.69chacha20
0.680.690.70T:speck6496ctr
0.680.690.70salsa2012
0.710.720.74T:speck64128ctr
0.770.790.80T:speck128128ctr
0.810.820.83T:speck128192ctr
0.810.830.84T:speck128256ctr
0.930.940.96xsalsa20
0.940.940.95salsa20
0.83?0.97?1.09?T:simon6496ctr
0.88?0.98?1.12?T:simon64128ctr
1.231.271.31T:hc128
0.79?1.35?1.42?T:tpy
1.331.351.37T:simon128128ctr
1.341.411.48T:simon128256ctr
1.601.621.63T:nlsv2
1.561.651.73T:tpy6
1.671.681.68T:sosemanuk
1.771.831.90T:hc256
1.821.831.85T:cryptmtv3
1.821.841.85T:trivium
2.032.052.07T:panama
2.092.212.31T:tpypy
2.402.412.43T:snow20
3.023.083.12T:rabbit
4.024.064.07T:lexv2
7.94?8.21?9.11?T:aes128estream
12.2212.2812.38T:aes256estream
12.9113.0113.13T:ocelot1
13.7614.0014.21T:ocelot2
26.5026.9827.36T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.260.260.27aes256ctr
0.320.320.33chacha8
0.370.370.38T:aes128ctr
0.440.450.45chacha12
0.580.590.59salsa208
0.640.650.66T:aes192ctr
0.680.690.69chacha20
0.700.710.71salsa2012
0.710.720.72T:speck6496ctr
0.740.740.74tango642
0.740.750.76T:speck64128ctr
0.810.830.83T:speck128128ctr
0.860.860.86T:speck128192ctr
0.860.870.88T:speck128256ctr
0.950.960.97salsa20
1.041.041.05xsalsa20
1.111.141.20T:simon6496ctr
1.281.341.36T:simon64128ctr
1.501.501.51T:simon128128ctr
1.781.791.79T:nlsv2
1.741.791.80T:simon128256ctr
1.971.981.98T:trivium
2.042.042.04T:sosemanuk
2.232.272.31T:tpy6
2.412.412.42T:cryptmtv3
2.482.492.49T:snow20
2.502.542.56T:tpy
2.632.642.65T:panama
3.173.213.23T:rabbit
3.333.393.44T:tpypy
3.753.763.79T:hc128
4.144.174.17T:lexv2
8.198.258.91T:aes128estream
9.179.199.24T:hc256
12.3712.4112.46T:aes256estream
13.8313.8813.93T:ocelot1
14.7214.8414.94T:ocelot2
27.8127.9228.05T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.290.300.31aes256ctr
0.400.400.41T:aes128ctr
0.410.420.42chacha8
0.530.540.54salsa208
0.580.580.59chacha12
0.670.680.69salsa2012
0.760.770.78T:speck6496ctr
0.790.800.80T:speck64128ctr
0.880.890.89T:speck128128ctr
0.900.910.92chacha20
0.910.920.93T:speck128192ctr
0.930.940.95T:speck128256ctr
0.910.950.98T:aes192ctr
0.940.950.95salsa20
0.960.960.97tango642
1.171.171.18xsalsa20
1.35?1.43?1.62?T:simon6496ctr
1.741.741.76T:simon128128ctr
1.69?1.92?1.97?T:simon64128ctr
2.162.172.18T:nlsv2
2.162.182.22T:trivium
2.282.422.44T:simon128256ctr
2.602.612.62T:snow20
2.692.692.70T:sosemanuk
3.213.293.35T:tpy6
3.413.433.46T:rabbit
3.613.623.63T:panama
3.613.633.65T:cryptmtv3
4.354.364.36T:lexv2
4.364.414.56T:tpy
5.295.325.35T:tpypy
7.887.897.95T:hc128
8.308.339.14T:aes128estream
12.5412.6212.66T:aes256estream
15.1315.2515.41T:ocelot1
16.0416.1716.33T:ocelot2
21.4321.4521.55T:hc256
29.1029.3129.52T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.500.510.52T:aes128ctr
0.530.540.55salsa208
0.550.560.56chacha8
0.550.560.58aes256ctr
0.760.780.79chacha12
0.780.790.79salsa2012
1.051.071.08T:speck6496ctr
1.091.111.12T:speck64128ctr
1.201.221.24chacha20
1.251.261.29T:speck128128ctr
1.261.281.29salsa20
1.311.311.33T:speck128192ctr
1.331.351.36T:speck128256ctr
1.541.551.57tango642
1.731.821.89T:aes192ctr
1.901.901.92xsalsa20
2.252.262.28T:simon64128ctr
2.652.652.67T:simon128128ctr
2.822.832.86T:trivium
2.902.912.93T:simon128256ctr
2.922.942.94T:snow20
2.63?2.97?3.12?T:simon6496ctr
3.043.063.07T:nlsv2
3.943.943.95T:rabbit
4.394.424.45T:cryptmtv3
4.424.424.44T:sosemanuk
4.864.884.90T:lexv2
5.696.026.11T:tpy6
6.266.276.30T:panama
8.548.569.18T:aes128estream
9.579.629.68T:tpy
10.7210.8311.00T:tpypy
12.8212.8712.98T:aes256estream
18.8518.9519.04T:hc128
18.9219.1819.37T:ocelot1
19.6919.9420.25T:ocelot2
33.5933.8034.27T:amastrid
54.1354.2054.39T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.50?1.53?1.80?T:aes128ctr
2.812.832.83salsa208
3.043.153.25aes256ctr
3.733.753.76salsa2012
3.683.803.86T:speck6496ctr
3.933.964.10T:speck64128ctr
4.624.684.69T:speck128128ctr
4.684.764.89chacha8
4.975.065.32T:speck128192ctr
4.875.065.14T:simon6496ctr
5.075.115.19T:speck128256ctr
5.525.525.55salsa20
6.006.046.18T:simon64128ctr
6.626.746.86chacha12
7.097.127.19T:snow20
8.228.278.31T:simon128128ctr
8.839.019.18T:cryptmtv3
9.169.169.28tango642
9.519.569.57T:simon128256ctr
10.5910.5910.60T:rabbit
10.6510.6610.69xsalsa20
10.4510.6910.91chacha20
11.2111.2611.33T:trivium
11.3711.4411.60T:lexv2
11.7111.8312.36T:aes128estream
12.27?12.67?13.66?T:aes192ctr
16.8116.9317.19T:nlsv2
17.2717.4417.84T:aes256estream
23.9524.0024.06T:sosemanuk
37.9438.6439.15T:tpy6
40.0240.1040.16T:panama
66.3466.8368.48T:ocelot1
67.5872.3173.69T:ocelot2
74.8675.9076.85T:tpy
77.1177.3578.73T:tpypy
98.5199.55101.81T:amastrid
159.80160.29162.00T:hc128
472.23474.48474.63T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
13.83?14.50?15.97?T:aes128ctr
16.8816.8816.88T:speck64128ctr
17.3817.3817.38T:speck6496ctr
18.6218.6218.62T:speck128256ctr
19.3819.5420.14T:speck128128ctr
19.9120.1720.60T:speck128192ctr
24.0625.5626.55aes256ctr
33.3233.6034.01chacha8
35.4436.1537.21salsa208
36.0836.3036.73chacha12
38.2238.9239.94T:simon6496ctr
45.2046.3146.80salsa2012
48.7948.8848.98T:simon64128ctr
48.6949.4049.98T:aes128estream
52.5852.7352.92chacha20
56.4457.0157.46T:snow20
57.2659.7363.24T:cryptmtv3
62.6563.2364.56T:aes256estream
62.7763.7164.17salsa20
66.5766.8067.21T:rabbit
68.1668.3169.41T:lexv2
69.3469.5069.50tango642
76.6276.6277.11T:simon128128ctr
78.6278.8179.05T:trivium
87.7587.7588.31T:simon128256ctr
93.0693.8694.81T:nlsv2
105.44105.89106.50xsalsa20
102.97106.41112.96T:aes192ctr
192.00192.09192.59T:sosemanuk
293.79297.94300.94T:tpy6
313.79314.22315.50T:panama
446.82455.24467.26T:ocelot1
453.19464.44472.15T:ocelot2
592.27594.07601.71T:tpy
596.89604.67609.80T:tpypy
658.68669.22678.40T:amastrid
1276.151282.981291.74T:hc128
3785.183788.703794.85T:hc256