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

[Page version: 20260113 16:30:36]

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.24?0.26?aes256ctr
0.300.320.33chacha8
0.340.340.36T:aes128ctr
0.430.440.47chacha12
0.41?0.44?0.46?T:aes192ctr
0.560.570.57salsa208
0.600.610.61tango642
0.670.670.69chacha20
0.680.690.70salsa2012
0.680.700.71T:speck6496ctr
0.710.740.76T:speck64128ctr
0.760.770.79T:speck128128ctr
0.790.800.82T:speck128192ctr
0.810.840.85T:speck128256ctr
0.930.940.95salsa20
0.940.950.95xsalsa20
0.950.960.97T:simon6496ctr
0.83?1.00?1.16?T:simon64128ctr
1.271.291.30T:hc128
1.341.351.36T:simon128128ctr
1.321.361.40T:tpy
1.34?1.42?1.51?T:simon128256ctr
1.591.601.61T:nlsv2
1.611.671.72T:tpy6
1.671.671.68T:sosemanuk
1.751.761.79T:hc256
1.741.801.84T:trivium
1.851.861.88T:cryptmtv3
2.032.052.07T:panama
2.15?2.25?2.43?T:tpypy
2.402.402.41T:snow20
3.043.163.16T:rabbit
4.014.034.04T:lexv2
8.068.148.17T:aes128estream
12.0112.0312.06T:aes256estream
12.9113.0613.16T:ocelot1
13.8013.9514.22T:ocelot2
26.4027.7728.05T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.260.260.28aes256ctr
0.310.320.33chacha8
0.360.370.38T:aes128ctr
0.450.450.47chacha12
0.580.590.59salsa208
0.620.620.63T:aes192ctr
0.680.690.69chacha20
0.700.710.71salsa2012
0.720.730.73T:speck6496ctr
0.740.740.74tango642
0.740.760.78T:speck64128ctr
0.810.810.82T:speck128128ctr
0.840.840.85T:speck128192ctr
0.860.880.88T:speck128256ctr
0.950.960.96salsa20
1.041.051.05xsalsa20
1.101.101.11T:simon6496ctr
1.231.351.35T:simon64128ctr
1.491.501.50T:simon128128ctr
1.761.761.76T:nlsv2
1.741.801.81T:simon128256ctr
1.911.961.98T:trivium
2.032.042.04T:sosemanuk
2.222.252.29T:tpy6
2.412.422.43T:cryptmtv3
2.482.482.49T:snow20
2.512.522.54T:tpy
2.632.642.65T:panama
3.193.283.28T:rabbit
3.353.423.53T:tpypy
3.763.773.78T:hc128
4.154.164.17T:lexv2
8.168.218.21T:aes128estream
9.179.189.19T:hc256
12.0912.1112.13T:aes256estream
13.8213.8913.94T:ocelot1
14.7214.7814.94T:ocelot2
27.4028.3128.41T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.300.300.33aes256ctr
0.400.410.41T:aes128ctr
0.410.420.42chacha8
0.530.540.54salsa208
0.580.580.59chacha12
0.670.670.69salsa2012
0.770.770.77T:speck6496ctr
0.790.790.79T:speck64128ctr
0.870.880.89T:speck128128ctr
0.900.910.92chacha20
0.910.910.92T:speck128192ctr
0.910.910.95T:aes192ctr
0.930.940.95T:speck128256ctr
0.940.950.95salsa20
0.960.960.97tango642
1.171.181.19xsalsa20
1.341.341.35T:simon6496ctr
1.731.751.76T:simon128128ctr
1.70?1.94?1.96?T:simon64128ctr
2.132.132.14T:nlsv2
2.162.182.23T:trivium
2.272.422.44T:simon128256ctr
2.602.612.62T:snow20
2.682.692.70T:sosemanuk
3.093.133.17T:tpy6
3.383.463.47T:rabbit
3.623.643.64T:panama
3.613.653.66T:cryptmtv3
4.354.384.39T:lexv2
4.514.534.65T:tpy
5.335.395.45T:tpypy
7.917.917.93T:hc128
8.288.308.32T:aes128estream
12.2412.2612.28T:aes256estream
15.1615.2415.41T:ocelot1
16.0816.1816.29T:ocelot2
21.4021.4921.54T:hc256
29.0829.2929.54T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.520.520.52T:aes128ctr
0.540.540.55salsa208
0.550.570.58chacha8
0.56?0.57?0.63?aes256ctr
0.770.780.79chacha12
0.79?0.80?0.94?salsa2012
1.061.061.08T:speck6496ctr
1.091.091.10T:speck64128ctr
1.201.221.24chacha20
1.261.271.27T:speck128128ctr
1.261.271.29salsa20
1.301.321.32T:speck128192ctr
1.321.331.34T:speck128256ctr
1.561.561.56tango642
1.731.801.89T:aes192ctr
1.901.911.92xsalsa20
2.282.282.28T:simon64128ctr
2.642.662.67T:simon128128ctr
2.842.842.87T:trivium
2.892.902.90T:simon128256ctr
2.42?2.92?2.96?T:simon6496ctr
2.932.962.97T:snow20
3.003.013.02T:nlsv2
3.973.983.98T:rabbit
4.334.374.39T:cryptmtv3
4.404.434.44T:sosemanuk
4.905.015.03T:lexv2
5.725.826.00T:tpy6
6.246.286.32T:panama
8.538.568.60T:aes128estream
9.729.809.81T:tpy
10.5010.5610.71T:tpypy
12.5612.6112.62T:aes256estream
18.9718.9819.00T:hc128
18.9119.2319.41T:ocelot1
19.6919.8520.11T:ocelot2
32.6934.9735.13T:amastrid
54.4954.5354.55T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.53?1.61?1.84?T:aes128ctr
2.772.802.83salsa208
3.033.203.36aes256ctr
3.703.723.72salsa2012
3.773.803.81T:speck6496ctr
3.923.954.20T:speck64128ctr
4.624.694.80T:speck128128ctr
4.774.834.88chacha8
4.914.915.08T:simon6496ctr
5.055.055.14T:speck128192ctr
5.145.225.31T:speck128256ctr
5.535.535.53salsa20
6.196.206.33T:simon64128ctr
6.726.816.89chacha12
7.147.207.28T:snow20
8.178.238.28T:simon128128ctr
8.739.089.34T:cryptmtv3
9.199.199.19tango642
9.559.619.64T:simon128256ctr
10.7210.7210.72T:rabbit
10.7010.8110.94chacha20
10.7810.8310.86xsalsa20
11.2711.2711.38T:trivium
11.5811.6112.69T:lexv2
11.7711.8611.88T:aes128estream
12.3012.4513.39T:aes192ctr
16.7816.8817.03T:nlsv2
17.0017.0817.17T:aes256estream
23.8623.9124.00T:sosemanuk
37.0637.2537.77T:tpy6
39.9740.3040.48T:panama
66.8467.7771.02T:ocelot2
68.6669.8471.17T:ocelot1
75.3176.6776.81T:tpy
76.5977.4779.83T:tpypy
98.8199.58101.53T:amastrid
159.80160.45160.59T:hc128
474.47474.91476.52T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
12.75?13.00?15.25?T:aes128ctr
14.6214.6214.62T:speck64128ctr
15.0015.0015.00T:speck6496ctr
18.8818.8818.88T:speck128128ctr
20.1220.1220.25T:speck128192ctr
20.7520.7520.75T:speck128256ctr
24.8825.6227.50aes256ctr
31.1231.5032.12salsa208
33.1233.5033.88chacha8
40.0040.0040.25T:simon6496ctr
40.3841.1241.75salsa2012
44.8845.2545.50chacha12
48.7548.7549.25T:simon64128ctr
49.5049.8850.00T:aes128estream
56.5056.8857.50T:snow20
57.5058.0058.62salsa20
55.88?58.88?65.75?T:cryptmtv3
63.5064.2564.25T:aes256estream
68.0068.0068.12T:rabbit
68.3868.5069.12chacha20
69.3869.3869.38tango642
69.7569.7576.88T:lexv2
76.8876.8876.88T:simon128128ctr
79.3879.3879.50T:trivium
88.5088.5088.50T:simon128256ctr
88.2589.2590.50T:nlsv2
97.8898.6299.12xsalsa20
99.50101.12108.12T:aes192ctr
190.12190.62191.50T:sosemanuk
294.50299.00304.38T:tpy6
314.88315.50319.00T:panama
437.38452.12466.12T:ocelot1
459.25481.88490.62T:ocelot2
598.38603.25604.12T:tpy
595.12608.50618.00T:tpypy
667.75685.50696.38T:amastrid
1278.751281.501282.50T:hc128
3802.883810.383812.75T:hc256