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; Gracemont (906a4-20); 2022 Intel Core i3-1215U, E cores; 4 x 1600MHz; alder2,little, supercop-20251222

[Page version: 20260203 05:35:47]

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.460.460.47T:aes128ctr
0.540.570.60T:aes192ctr
0.580.580.58aes256ctr
0.710.710.73tango642
0.930.940.95chacha8
1.07?1.09?1.38?T:hc128
1.131.141.17salsa208
1.291.301.31chacha12
1.631.641.65salsa2012
1.28?1.72?2.14?T:tpy
0.58?1.82?2.83?T:hc256
1.971.981.98T:speck6496ctr
1.992.012.03T:nlsv2
2.012.022.04chacha20
2.032.052.06T:cryptmtv3
2.03?2.05?2.46?T:panama
1.89?2.07?2.14?T:tpy6
2.062.072.10T:speck64128ctr
2.042.132.21T:snow20
2.382.402.41T:sosemanuk
2.422.432.44T:speck128128ctr
2.502.502.51T:speck128192ctr
2.502.512.51T:trivium
2.572.572.58T:speck128256ctr
2.582.602.63salsa20
2.582.612.63xsalsa20
2.64?2.70?2.95?T:rabbit
2.892.902.91T:simon6496ctr
3.013.023.03T:simon64128ctr
2.46?3.06?3.15?T:tpypy
3.663.683.70T:lexv2
4.364.374.39T:simon128128ctr
4.584.594.61T:simon128256ctr
7.477.497.50T:aes128estream
11.2711.3711.53T:aes256estream
15.9516.0416.50T:ocelot1
16.7616.9017.62T:ocelot2
27.3327.4828.24T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.470.480.48T:aes128ctr
0.600.600.60aes256ctr
0.840.850.86T:aes192ctr
0.870.870.88tango642
0.940.940.95chacha8
1.141.151.17salsa208
1.301.311.31chacha12
1.641.651.65salsa2012
2.012.012.02T:speck6496ctr
2.032.032.04chacha20
2.102.112.11T:nlsv2
2.102.112.12T:speck64128ctr
2.142.202.24T:snow20
2.462.472.48T:speck128128ctr
2.542.552.55T:speck128192ctr
2.602.602.60T:trivium
2.602.612.63salsa20
2.622.622.62T:speck128256ctr
2.532.622.66T:tpy6
2.632.642.64T:cryptmtv3
2.632.642.65T:sosemanuk
2.692.712.72xsalsa20
2.772.782.96T:rabbit
2.842.853.07T:panama
3.033.033.04T:simon6496ctr
2.87?3.13?3.19?T:tpy
3.203.213.22T:simon64128ctr
3.663.663.78T:hc128
3.783.783.79T:lexv2
3.874.094.14T:tpypy
4.564.564.58T:simon128128ctr
4.904.914.92T:simon128256ctr
7.537.537.54T:aes128estream
8.27?9.20?9.20?T:hc256
11.3611.4211.52T:aes256estream
16.9617.0017.26T:ocelot1
17.7617.8318.29T:ocelot2
28.8628.9429.31T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.500.500.51T:aes128ctr
0.650.650.65aes256ctr
0.950.950.96chacha8
1.111.121.15tango642
1.161.181.18salsa208
1.281.311.33T:aes192ctr
1.321.321.32chacha12
1.641.651.67salsa2012
2.042.052.05chacha20
2.072.072.10T:speck6496ctr
2.152.162.16T:speck64128ctr
2.262.272.33T:snow20
2.282.292.30T:nlsv2
2.542.542.55T:speck128128ctr
2.602.632.64salsa20
2.622.632.63T:speck128192ctr
2.692.692.70T:speck128256ctr
2.772.782.78T:trivium
2.882.902.91xsalsa20
2.892.903.08T:rabbit
3.093.103.11T:sosemanuk
3.253.263.27T:simon6496ctr
3.513.533.54T:simon64128ctr
3.563.603.66T:tpy6
3.953.963.98T:lexv2
3.963.984.28T:panama
3.994.004.01T:cryptmtv3
4.884.894.91T:simon128128ctr
4.85?4.90?5.58?T:tpy
5.425.455.47T:simon128256ctr
5.725.856.29T:tpypy
7.627.627.63T:aes128estream
7.997.998.01T:hc128
11.4811.6011.61T:aes256estream
18.2118.4618.52T:ocelot1
18.88?19.17?21.61?T:hc256
19.4319.6020.20T:ocelot2
31.5631.8932.44T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.610.620.64T:aes128ctr
0.890.890.89aes256ctr
1.081.091.10chacha8
1.321.331.37salsa208
1.501.521.52chacha12
1.841.851.87tango642
1.871.901.92salsa2012
2.262.272.28T:speck6496ctr
2.362.362.38T:speck64128ctr
2.362.392.41chacha20
2.492.532.55T:aes192ctr
2.522.632.65T:snow20
2.772.792.80T:speck128128ctr
2.862.872.88T:speck128192ctr
2.912.922.94T:nlsv2
2.952.962.98T:speck128256ctr
2.962.983.01salsa20
3.183.193.19T:trivium
3.233.253.40T:rabbit
3.633.653.68xsalsa20
4.324.344.35T:sosemanuk
4.354.374.39T:simon6496ctr
4.364.374.42T:lexv2
4.774.804.81T:cryptmtv3
4.944.964.98T:simon64128ctr
5.745.805.88T:tpy6
6.686.736.78T:simon128128ctr
6.956.987.49T:panama
7.837.857.89T:aes128estream
9.239.259.29T:simon128256ctr
10.4710.5310.67T:tpypy
9.70?11.39?12.26?T:tpy
11.6111.7111.78T:aes256estream
18.5718.6519.36T:hc128
22.9623.1424.08T:ocelot1
23.1823.5523.79T:ocelot2
34.7835.5936.31T:amastrid
47.83?48.52?54.85?T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.84?1.91?2.36?T:aes128ctr
2.362.382.41chacha8
2.89?3.03?3.25?salsa208
3.283.303.34chacha12
3.313.333.41aes256ctr
4.094.164.30T:speck64128ctr
3.69?4.34?4.58?salsa2012
4.524.584.62T:speck6496ctr
5.125.165.25chacha20
5.665.675.72T:speck128128ctr
5.885.925.95T:speck128192ctr
5.75?6.09?6.70?salsa20
6.126.206.27T:speck128256ctr
6.336.386.45T:snow20
7.057.177.42T:rabbit
7.867.928.03T:simon6496ctr
8.668.678.72T:trivium
8.708.808.88T:simon64128ctr
9.709.739.84T:lexv2
10.6910.7210.88T:aes128estream
11.3611.4211.52tango642
11.8811.9812.88xsalsa20
12.2012.2212.30T:cryptmtv3
12.8612.9413.06T:nlsv2
13.4113.5313.73T:simon128128ctr
13.6913.9514.34T:aes256estream
14.9115.0215.17T:simon128256ctr
18.0318.2018.58T:aes192ctr
18.1718.2518.42T:sosemanuk
35.6438.2738.97T:tpy6
44.8345.1945.78T:panama
72.8973.3173.72T:tpypy
74.0376.1976.80T:tpy
75.2577.9883.47T:ocelot2
80.0681.2783.31T:ocelot1
102.30107.19108.06T:amastrid
157.83158.61164.62T:hc128
402.58405.12409.70T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
15.75?16.00?20.00?T:aes128ctr
17.25?17.75?24.12?T:speck64128ctr
18.75?19.12?26.38?T:speck6496ctr
21.0021.2521.50chacha8
22.2522.6223.38T:speck128192ctr
22.75?23.38?28.38?T:speck128256ctr
23.0023.5024.12T:speck128128ctr
28.5028.8829.62chacha12
32.2533.5034.75aes256ctr
35.3836.0038.75salsa208
35.8836.2537.50T:simon6496ctr
41.6242.2546.00T:aes256estream
42.2542.7543.62T:simon64128ctr
41.88?43.25?50.25?T:rabbit
43.0043.5044.12chacha20
44.8845.0045.25T:aes128estream
45.2545.6248.38salsa2012
49.8850.2553.62T:snow20
51.2551.3851.50T:trivium
53.7554.2555.00T:lexv2
62.7563.0063.88salsa20
66.0066.5067.25T:nlsv2
73.6277.1280.75T:simon128128ctr
77.2577.7578.00T:cryptmtv3
77.25?84.75?89.62?T:simon128256ctr
86.3886.8888.00tango642
109.75111.62112.88xsalsa20
143.00143.38143.75T:sosemanuk
143.50145.12147.62T:aes192ctr
254.00?283.00?285.12?T:tpy6
350.25352.62359.12T:panama
499.62506.88512.88T:ocelot1
521.50529.75539.62T:ocelot2
564.75570.50577.00T:tpypy
579.25613.12619.12T:tpy
679.38691.38703.75T:amastrid
1262.881267.881318.12T:hc128
3238.75?3245.25?3723.25?T:hc256