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; Core 2 65nm (6fb); 2007 Intel Core 2 Duo T7300; 2 x 2000MHz; trident, supercop-20240909

[Page version: 20240912 11:46: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, 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: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
1.231.241.24tango642
1.701.701.70chacha8
1.971.971.98salsa208
2.272.272.27chacha12
2.472.512.55T:hc128
2.632.652.70salsa2012
2.802.802.80T:trivium
3.303.363.51T:tpy
3.363.363.36chacha20
3.313.413.59T:tpy6
3.413.423.42T:speck6496ctr
3.543.553.55T:speck64128ctr
3.60?3.69?4.01?T:sosemanuk
3.673.713.76T:hc256
3.713.733.74T:cryptmtv3
3.923.953.97T:snow20
3.893.964.02T:nlsv2
4.004.004.05salsa20
3.984.044.08xsalsa20
4.214.274.30T:panama
4.504.504.52T:rabbit
4.724.734.74T:speck128128ctr
4.864.864.86T:speck128192ctr
5.005.005.00T:speck128256ctr
5.055.235.54T:tpypy
5.805.805.81T:lexv2
6.216.236.24T:simon6496ctr
6.386.426.44T:simon64128ctr
9.719.729.73T:simon128128ctr
10.2110.2110.23T:simon128256ctr
10.6110.6110.62T:aes128estream
17.1817.1917.20T:aes256estream
22.4522.5822.80T:aes128ctr
24.8824.9825.08T:aes192ctr
26.4027.2427.72T:ocelot1
27.6427.8428.11T:aes256ctr
30.2431.4132.67T:ocelot2
43.54?48.15?50.96?T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.511.521.52tango642
1.731.731.73chacha8
2.002.002.00salsa208
2.302.302.30chacha12
2.672.692.71salsa2012
2.932.942.94T:trivium
3.393.393.39chacha20
3.463.463.46T:speck6496ctr
3.603.603.60T:speck64128ctr
4.044.054.07salsa20
4.034.064.29T:sosemanuk
4.084.104.11T:snow20
4.134.174.20xsalsa20
4.244.264.27T:nlsv2
4.254.304.38T:tpy6
4.334.354.35T:cryptmtv3
4.674.674.68T:rabbit
4.794.804.80T:speck128128ctr
4.924.924.92T:speck128192ctr
4.894.925.00T:tpy
5.065.075.07T:speck128256ctr
5.605.625.63T:panama
5.995.995.99T:lexv2
6.526.526.53T:simon6496ctr
6.806.897.12T:tpypy
6.876.896.89T:simon64128ctr
7.217.237.26T:hc128
10.0910.0910.10T:simon128128ctr
10.6810.6810.68T:aes128estream
11.7211.7211.73T:simon128256ctr
15.6715.6915.72T:hc256
17.3017.3117.31T:aes256estream
23.0223.1023.23T:aes128ctr
25.5025.5625.61T:aes192ctr
28.2228.3228.50T:aes256ctr
28.3528.7428.97T:ocelot1
32.4032.9233.79T:ocelot2
45.57?48.84?50.65?T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.781.781.78chacha8
1.971.971.98tango642
2.042.042.04salsa208
2.352.352.35chacha12
2.722.742.74salsa2012
3.173.183.18T:trivium
3.443.443.44chacha20
3.523.543.55T:speck6496ctr
3.683.683.68T:speck64128ctr
4.094.124.12salsa20
4.334.334.37T:snow20
4.374.394.45xsalsa20
4.714.744.97T:sosemanuk
4.904.904.91T:speck128128ctr
4.944.964.99T:rabbit
4.854.965.04T:nlsv2
5.015.015.02T:speck128192ctr
5.175.175.17T:speck128256ctr
5.675.685.72T:tpy6
5.695.725.74T:cryptmtv3
6.306.306.32T:lexv2
7.007.017.04T:simon6496ctr
7.517.557.60T:tpy
7.647.687.69T:simon64128ctr
7.837.917.92T:panama
9.359.659.79T:tpypy
10.7110.7210.73T:simon128128ctr
10.7910.8110.82T:aes128estream
14.2314.2314.24T:simon128256ctr
15.0715.0915.12T:hc128
17.5017.5317.54T:aes256estream
23.9724.0124.12T:aes128ctr
26.3626.4526.52T:aes192ctr
29.0429.1429.26T:aes256ctr
30.9631.8032.33T:ocelot1
35.6035.6335.66T:hc256
36.5336.8637.45T:ocelot2
48.7649.1350.23T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
2.042.042.04chacha8
2.272.272.29salsa208
2.682.682.68chacha12
2.993.003.04salsa2012
3.213.233.24tango642
3.773.783.78T:trivium
3.833.833.84T:speck6496ctr
3.963.963.98T:speck64128ctr
3.973.973.97chacha20
4.504.504.50salsa20
4.954.985.04T:snow20
5.255.255.25T:speck128128ctr
5.255.265.29xsalsa20
5.345.345.34T:speck128192ctr
5.525.525.52T:speck128256ctr
5.685.685.69T:rabbit
6.286.296.64T:nlsv2
6.606.686.74T:sosemanuk
6.796.796.79T:cryptmtv3
7.177.207.20T:lexv2
8.919.109.34T:tpy6
9.279.319.35T:simon6496ctr
11.1211.1311.14T:aes128estream
13.6313.8513.95T:panama
14.1214.2914.61T:tpy
16.3816.4516.70T:tpypy
18.0418.1018.11T:aes256estream
18.5618.5618.61T:simon64128ctr
20.5620.5820.61T:simon128128ctr
26.1126.2126.32T:aes128ctr
27.8027.8027.80T:simon128256ctr
28.6828.9028.92T:aes192ctr
31.2831.4131.63T:aes256ctr
36.0536.0836.11T:hc128
37.1339.2840.18T:ocelot1
40.9741.6544.86T:ocelot2
57.4557.6859.65T:amastrid
88.7288.7988.95T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
4.314.314.34chacha8
4.334.334.47salsa208
5.535.535.53salsa2012
5.695.695.69chacha12
7.257.257.25T:speck6496ctr
7.237.317.31T:speck64128ctr
7.847.847.84salsa20
8.318.318.31chacha20
9.069.069.06T:speck128192ctr
9.259.259.25T:speck128128ctr
9.599.599.59T:speck128256ctr
11.4111.4411.52T:trivium
13.3613.6714.14T:snow20
14.9715.0515.33xsalsa20
15.1915.1915.19T:rabbit
15.6115.7215.75T:aes128estream
16.0316.0316.03T:simon6496ctr
17.0517.1417.56T:cryptmtv3
17.0917.2217.23T:lexv2
17.5917.5917.59T:simon64128ctr
18.9219.0819.11tango642
24.1924.1924.73T:simon128128ctr
24.7824.7824.78T:simon128256ctr
25.0625.0925.23T:aes256estream
27.2227.3127.47T:sosemanuk
29.8929.8930.06T:nlsv2
54.8355.1757.58T:aes128ctr
57.6758.3458.98T:aes192ctr
55.3459.2560.25T:tpy6
60.2560.6461.00T:aes256ctr
88.7789.0991.16T:panama
103.06103.88104.28T:tpy
108.61?109.12?123.11?T:tpypy
126.45127.91129.75T:ocelot1
130.64135.09140.52T:ocelot2
161.81163.30165.12T:amastrid
303.81304.02304.27T:hc128
768.31769.36770.34T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
27.6227.6227.62T:speck6496ctr
28.0028.0028.00T:speck64128ctr
32.1232.1232.12T:speck128192ctr
32.1232.1232.12T:speck128256ctr
32.3834.5034.50T:speck128128ctr
37.7537.7538.25chacha8
48.6248.6248.62chacha12
53.6253.6253.62salsa208
63.3863.3863.38salsa2012
69.3870.0070.75chacha20
72.0072.3872.62T:trivium
80.1280.1280.12T:simon6496ctr
81.5081.6282.12T:aes128estream
81.8881.8881.88salsa20
87.8887.8887.88T:simon64128ctr
98.0099.00100.00T:aes256estream
101.50101.50101.50T:lexv2
101.75101.75105.50T:cryptmtv3
102.50103.75110.25T:snow20
108.50109.00109.00T:rabbit
128.88128.88133.25T:simon128128ctr
135.00135.00135.00T:simon128256ctr
140.75141.38141.50xsalsa20
142.62143.75144.88tango642
147.38147.38147.88T:nlsv2
217.75218.50220.12T:sosemanuk
304.75308.12322.75T:aes128ctr
308.25319.50322.50T:aes192ctr
326.00327.12333.88T:aes256ctr
409.88417.88419.75T:tpy6
697.12699.12704.00T:panama
793.62805.50814.62T:tpy
834.38845.25855.00T:ocelot1
823.00848.00913.25T:ocelot2
834.88?901.25?949.88?T:tpypy
1078.381082.121091.25T:amastrid
2429.382432.002433.50T:hc128
6146.626152.006153.75T:hc256