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; Ivy Bridge+AES (306a9); 2012 Intel Core i5-3427U; 2 x 1800MHz; hunsnivy, supercop-20260217

[Page version: 20260330 23:44:12]

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.910.920.93T:aes128ctr
0.920.930.94tango642
1.041.061.07chacha8
1.171.191.22aes256ctr
1.201.211.21salsa208
1.461.471.48chacha12
1.471.511.55T:aes192ctr
1.691.701.71T:trivium
1.721.731.74salsa2012
2.072.072.08T:speck6496ctr
2.112.142.16T:hc128
2.142.152.16T:speck64128ctr
2.282.292.31T:sosemanuk
2.192.312.39T:tpy
2.312.332.35chacha20
2.622.632.65T:cryptmtv3
2.642.652.65T:speck128128ctr
2.702.722.73T:speck128192ctr
2.772.772.79salsa20
2.772.782.79xsalsa20
2.792.812.81T:speck128256ctr
2.762.882.99T:tpy6
2.982.993.05T:simon6496ctr
3.023.043.06T:nlsv2
3.093.103.11T:simon64128ctr
3.133.163.18T:hc256
3.503.523.54T:panama
3.523.533.54T:rabbit
3.573.593.60T:snow20
3.623.683.73T:tpypy
4.544.554.56T:simon128128ctr
4.914.924.93T:lexv2
5.115.145.44T:simon128256ctr
9.739.769.77T:aes128estream
16.2316.2616.31T:aes256estream
19.5119.6319.87T:ocelot1
20.8920.9921.08T:ocelot2
37.8738.3940.03T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.960.960.96T:aes128ctr
1.071.081.09chacha8
1.111.121.12tango642
1.231.231.24salsa208
1.231.241.27aes256ctr
1.481.491.50chacha12
1.751.761.76salsa2012
1.801.811.81T:trivium
1.901.911.93T:aes192ctr
2.112.112.12T:speck6496ctr
2.192.192.20T:speck64128ctr
2.342.362.37chacha20
2.692.692.69T:speck128128ctr
2.762.772.77T:speck128192ctr
2.802.802.81salsa20
2.842.852.85T:speck128256ctr
2.852.862.87T:sosemanuk
2.922.922.92xsalsa20
3.103.103.11T:cryptmtv3
3.193.203.22T:nlsv2
3.203.203.24T:simon6496ctr
3.443.453.45T:simon64128ctr
3.633.633.64T:rabbit
3.603.653.67T:tpy6
3.683.693.69T:snow20
3.994.064.09T:tpy
4.594.604.61T:panama
4.854.864.86T:simon128128ctr
5.075.075.08T:lexv2
5.385.415.43T:tpypy
5.505.515.52T:hc128
5.655.675.89T:simon128256ctr
9.819.829.83T:aes128estream
12.5912.6012.61T:hc256
16.3716.3916.41T:aes256estream
20.8320.8921.05T:ocelot1
22.2422.2822.33T:ocelot2
39.9540.2441.41T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.011.021.03T:aes128ctr
1.111.111.12chacha8
1.271.271.28salsa208
1.311.331.35aes256ctr
1.421.421.44tango642
1.511.521.53chacha12
1.801.811.82salsa2012
1.961.971.98T:trivium
2.182.182.20T:speck6496ctr
2.262.272.28T:speck64128ctr
2.362.382.40chacha20
2.492.522.66T:aes192ctr
2.752.762.77T:speck128128ctr
2.832.832.85T:speck128192ctr
2.832.842.85salsa20
2.912.912.93T:speck128256ctr
3.153.163.20xsalsa20
3.533.543.57T:nlsv2
3.563.573.58T:simon6496ctr
3.793.803.82T:rabbit
3.843.853.86T:snow20
3.863.873.89T:sosemanuk
4.024.034.09T:simon64128ctr
4.374.374.38T:cryptmtv3
4.894.955.07T:tpy6
5.355.365.37T:lexv2
5.375.385.38T:simon128128ctr
6.376.386.41T:panama
6.516.566.68T:simon128256ctr
6.896.927.20T:tpy
8.308.348.37T:tpypy
9.919.939.96T:aes128estream
11.1311.1411.17T:hc128
16.5516.5816.61T:aes256estream
22.9923.0723.22T:ocelot1
24.3124.4124.53T:ocelot2
28.3028.3328.37T:hc256
42.1143.0943.61T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.291.311.34T:aes128ctr
1.301.311.32chacha8
1.511.521.52salsa208
1.661.691.73aes256ctr
1.771.791.80chacha12
2.082.092.11salsa2012
2.272.282.32tango642
2.35?2.38?2.90?T:trivium
2.402.412.42T:speck6496ctr
2.482.492.49T:speck64128ctr
2.752.782.81chacha20
2.972.993.04T:speck128128ctr
3.043.073.12T:speck128192ctr
3.153.163.19T:speck128256ctr
3.25?3.28?4.01?salsa20
4.084.104.11xsalsa20
4.144.214.26T:aes192ctr
4.234.254.28T:rabbit
4.304.324.35T:snow20
4.374.384.40T:nlsv2
4.914.924.95T:cryptmtv3
5.195.215.23T:simon6496ctr
6.056.086.12T:lexv2
6.566.596.62T:sosemanuk
6.917.067.40T:simon64128ctr
8.418.478.60T:tpy6
9.359.609.84T:simon128128ctr
9.959.969.98T:simon128256ctr
10.2110.2310.25T:aes128estream
11.1311.1511.20T:panama
14.5514.6314.70T:tpy
16.2516.3316.54T:tpypy
17.0417.1117.17T:aes256estream
26.1126.1526.19T:hc128
28.4428.5728.83T:ocelot1
29.6029.9230.27T:ocelot2
49.5450.0650.95T:amastrid
70.1970.2770.33T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.183.213.27chacha8
3.843.863.90salsa208
4.174.214.28chacha12
4.464.614.88T:aes128ctr
4.985.015.14T:speck6496ctr
4.965.025.46salsa2012
5.045.075.14T:speck64128ctr
5.465.595.88aes256ctr
5.715.725.79T:speck128128ctr
5.855.926.14T:speck128192ctr
6.006.066.30T:speck128256ctr
6.246.276.33chacha20
7.007.097.14salsa20
7.497.547.68T:trivium
10.0210.0810.18T:simon6496ctr
9.8510.1410.43T:rabbit
10.1910.2610.35T:snow20
11.5511.6411.69T:simon64128ctr
12.3412.5212.75T:cryptmtv3
13.1713.2313.36tango642
14.1514.2714.33T:aes128estream
14.5114.5914.70xsalsa20
15.1515.4715.73T:lexv2
16.1116.1416.22T:simon128256ctr
16.0816.2216.26T:simon128128ctr
17.1717.3217.49T:nlsv2
23.0923.1623.35T:aes256estream
25.3925.7426.41T:aes192ctr
37.6337.8838.18T:sosemanuk
49.8151.9452.57T:tpy6
71.7572.2272.90T:panama
99.67102.11105.14T:ocelot2
100.16102.21104.32T:ocelot1
111.05112.09118.04T:tpy
113.12114.33115.74T:tpypy
137.40138.77140.80T:amastrid
217.78218.12218.88T:hc128
606.16606.81607.64T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
21.3321.8223.36T:speck6496ctr
22.1522.4622.74T:speck64128ctr
25.5725.8927.16T:speck128256ctr
25.77?26.07?28.89?T:speck128128ctr
25.7526.6128.45T:speck128192ctr
26.8627.2828.07chacha8
35.1435.5136.77chacha12
35.4836.2937.36T:aes128ctr
40.1540.8342.16salsa208
43.9845.0947.29aes256ctr
47.9448.3149.08T:trivium
51.2351.5252.52chacha20
53.3454.0054.80T:simon6496ctr
54.8357.2258.54salsa2012
57.8359.3561.82T:rabbit
64.0964.4764.79T:aes128estream
63.7364.4965.52T:simon64128ctr
72.7773.1073.86salsa20
79.0880.7183.32T:cryptmtv3
80.7281.5082.74T:snow20
86.6286.6286.62T:simon128128ctr
86.5887.3587.73T:aes256estream
91.2591.6792.44T:nlsv2
90.3493.8995.98T:lexv2
99.6299.77100.53T:simon128256ctr
100.40100.97103.18tango642
133.05133.65134.71xsalsa20
204.21207.40209.45T:aes192ctr
300.04301.40303.40T:sosemanuk
377.48386.32414.46T:tpy6
565.64569.38572.90T:panama
659.80670.46681.93T:ocelot2
661.68672.09685.54T:ocelot1
881.12886.25892.88T:tpypy
885.53896.73920.92T:tpy
901.98917.44936.91T:amastrid
1738.901742.921751.55T:hc128
4850.484854.224860.80T:hc256