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

[Page version: 20261107 07:59:14]

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.23?0.24?0.26?aes256ctr
0.310.320.32chacha8
0.350.360.36T:aes128ctr
0.430.440.44chacha12
0.450.470.50T:aes192ctr
0.560.570.58salsa208
0.610.610.61tango642
0.670.680.69chacha20
0.680.690.70salsa2012
0.670.700.73T:speck6496ctr
0.710.720.73T:speck64128ctr
0.760.770.79T:speck128128ctr
0.790.790.82T:speck128192ctr
0.810.830.85T:speck128256ctr
0.930.940.95salsa20
0.940.940.95xsalsa20
0.950.960.98T:simon6496ctr
0.86?0.98?1.10?T:simon64128ctr
1.261.291.31T:hc128
1.331.351.38T:simon128128ctr
1.33?1.40?1.52?T:tpy
1.381.421.47T:simon128256ctr
1.551.561.57T:nlsv2
1.671.691.79T:sosemanuk
1.691.751.83T:tpy6
-1.24?1.79?1.86?T:hc256
1.751.801.84T:trivium
1.831.841.87T:cryptmtv3
2.032.052.08T:panama
2.202.282.37T:tpypy
2.402.412.43T:snow20
3.063.093.16T:rabbit
4.034.044.05T:lexv2
8.128.168.20T:aes128estream
12.0512.0712.08T:aes256estream
12.8413.0613.18T:ocelot1
14.0314.2414.39T:ocelot2
26.3928.2828.97T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.260.260.27aes256ctr
0.320.330.33chacha8
0.370.370.38T:aes128ctr
0.440.450.45chacha12
0.580.590.59salsa208
0.640.640.66T:aes192ctr
0.680.690.69chacha20
0.710.710.71salsa2012
0.720.730.75T:speck6496ctr
0.740.740.74tango642
0.740.750.75T:speck64128ctr
0.810.810.83T:speck128128ctr
0.840.840.86T:speck128192ctr
0.860.870.88T:speck128256ctr
0.950.950.96salsa20
1.041.041.05xsalsa20
1.101.101.11T:simon6496ctr
1.261.341.36T:simon64128ctr
1.501.501.52T:simon128128ctr
1.731.741.74T:nlsv2
1.771.801.80T:simon128256ctr
1.911.941.97T:trivium
2.042.052.13T:sosemanuk
2.272.302.34T:tpy6
2.402.412.42T:cryptmtv3
2.482.492.50T:snow20
2.522.552.62T:tpy
2.642.652.66T:panama
3.203.223.26T:rabbit
3.393.433.47T:tpypy
3.753.773.78T:hc128
4.154.154.16T:lexv2
8.198.218.23T:aes128estream
9.149.169.18T:hc256
12.1312.1312.14T:aes256estream
13.7713.8813.94T:ocelot1
14.9715.0615.14T:ocelot2
27.9329.2929.72T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.290.290.32aes256ctr
0.400.400.41T:aes128ctr
0.410.420.42chacha8
0.530.540.54salsa208
0.580.580.59chacha12
0.660.680.68salsa2012
0.760.770.83T:speck6496ctr
0.790.800.80T:speck64128ctr
0.880.890.89T:speck128128ctr
0.900.910.92chacha20
0.910.910.92T:speck128192ctr
0.940.940.95salsa20
0.90?0.95?1.02?T:aes192ctr
0.930.950.95T:speck128256ctr
0.960.970.98tango642
1.171.171.18xsalsa20
1.331.341.35T:simon6496ctr
1.741.741.77T:simon128128ctr
1.72?1.91?1.97?T:simon64128ctr
2.122.122.15T:nlsv2
2.172.192.21T:trivium
2.332.422.44T:simon128256ctr
2.602.612.63T:snow20
2.702.702.71T:sosemanuk
3.193.263.31T:tpy6
3.393.433.47T:rabbit
3.593.603.61T:cryptmtv3
3.623.633.65T:panama
4.344.354.36T:lexv2
4.424.454.47T:tpy
5.185.275.37T:tpypy
7.867.877.92T:hc128
8.248.288.35T:aes128estream
12.2112.2312.26T:aes256estream
15.1215.2515.36T:ocelot1
16.2116.3216.47T:ocelot2
21.3821.4921.54T:hc256
29.9330.1131.39T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.500.510.53T:aes128ctr
0.530.540.55salsa208
0.550.560.57chacha8
0.550.560.58aes256ctr
0.770.780.79chacha12
0.780.800.83salsa2012
1.081.081.09T:speck6496ctr
1.101.111.12T:speck64128ctr
1.191.211.23chacha20
1.241.251.26T:speck128128ctr
1.271.271.29salsa20
1.321.321.33T:speck128192ctr
1.341.351.36T:speck128256ctr
1.541.561.57tango642
1.72?1.76?1.96?T:aes192ctr
1.921.931.95xsalsa20
2.262.272.28T:simon64128ctr
2.642.652.66T:simon128128ctr
2.852.862.88T:trivium
2.41?2.88?2.96?T:simon6496ctr
2.912.922.94T:simon128256ctr
2.932.962.97T:snow20
3.023.033.04T:nlsv2
3.913.933.97T:rabbit
4.334.374.41T:cryptmtv3
4.434.454.50T:sosemanuk
4.884.894.91T:lexv2
5.635.835.94T:tpy6
6.266.286.31T:panama
8.508.538.56T:aes128estream
9.539.669.88T:tpy
10.3910.5810.75T:tpypy
12.5612.5812.63T:aes256estream
18.9018.9118.95T:hc128
18.9419.1719.48T:ocelot1
19.7720.0720.36T:ocelot2
34.0635.0236.08T:amastrid
54.1054.2054.35T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.51?1.56?1.82?T:aes128ctr
2.772.812.85salsa208
3.043.183.31aes256ctr
3.643.693.79T:speck6496ctr
3.713.733.77salsa2012
3.954.014.12T:speck64128ctr
4.574.674.78T:speck128128ctr
4.684.764.86chacha8
4.844.864.95T:simon6496ctr
5.045.165.27T:speck128192ctr
5.135.185.25T:speck128256ctr
5.535.555.57salsa20
6.006.036.21T:simon64128ctr
6.576.706.81chacha12
7.177.297.34T:snow20
8.218.288.37T:simon128128ctr
8.618.638.66T:cryptmtv3
9.149.169.30tango642
9.529.529.62T:simon128256ctr
10.5510.5610.58T:rabbit
10.6910.7310.76xsalsa20
10.5810.7610.91chacha20
11.1011.1811.20T:trivium
11.4711.5111.58T:lexv2
11.7111.8411.87T:aes128estream
12.2812.6113.09T:aes192ctr
16.8016.8516.93T:aes256estream
16.9917.1817.45T:nlsv2
24.0224.0724.42T:sosemanuk
38.7738.9439.51T:tpy6
40.0040.2140.44T:panama
66.6668.4670.41T:ocelot2
68.1369.4271.11T:ocelot1
75.4275.6676.50T:tpy
76.3077.5778.97T:tpypy
100.29101.15102.26T:amastrid
159.78160.57161.11T:hc128
471.47474.12474.64T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
13.7514.3614.77T:aes128ctr
16.8816.9117.43T:speck64128ctr
17.3817.3817.56T:speck6496ctr
18.2518.2519.03T:speck128192ctr
19.3819.4219.99T:speck128128ctr
20.1220.1220.88T:speck128256ctr
24.4025.4326.27aes256ctr
30.2430.7131.11chacha8
31.0831.7632.53salsa208
35.7235.7736.39chacha12
38.2038.2538.91T:simon6496ctr
40.7041.2542.14salsa2012
48.8848.8848.88T:simon64128ctr
49.1250.1250.25T:aes128estream
52.6453.2053.51chacha20
55.6655.7555.75T:cryptmtv3
56.5356.8557.51T:snow20
59.6760.7261.44salsa20
63.0063.1863.68T:aes256estream
66.7466.9467.71T:rabbit
67.6568.5568.89T:lexv2
69.3169.5069.85tango642
76.8876.9677.00T:simon128128ctr
77.2577.2577.26T:trivium
87.6287.6287.79T:simon128256ctr
93.4194.6496.09T:nlsv2
97.5899.52106.15T:aes192ctr
99.91100.46101.21xsalsa20
192.30193.32197.78T:sosemanuk
296.20298.12300.04T:tpy6
312.85314.66317.77T:panama
438.33450.96470.41T:ocelot2
441.46453.15465.45T:ocelot1
591.72595.15606.02T:tpy
617.18621.12623.99T:tpypy
657.01665.77676.25T:amastrid
1275.121278.501283.06T:hc128
3784.193789.483803.81T:hc256