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 45nm (1067a); 2009 Intel Core 2 Duo E7600; 2 x 3060MHz; wolfdale, supercop-20240425

[Page version: 20240719 07:49:00]

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.


Implementation notes

Graphs: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
1.201.211.22tango642
1.461.461.49chacha8
1.901.911.91chacha12
1.921.941.97salsa208
2.302.342.37T:sosemanuk
2.462.512.56T:hc128
2.612.622.62T:speck6496ctr
2.602.662.69salsa2012
2.722.732.73T:speck64128ctr
2.792.802.80T:trivium
2.812.882.90chacha20
3.173.233.24T:cryptmtv3
3.273.383.50T:tpy
3.293.473.57T:tpy6
3.633.633.64T:speck128128ctr
3.673.733.79T:hc256
3.763.763.76T:speck128192ctr
3.603.793.96T:nlsv2
3.833.843.84T:speck128256ctr
3.943.953.96T:snow20
3.963.984.02salsa20
3.963.994.02xsalsa20
4.124.144.25T:panama
4.484.514.52T:rabbit
4.86?4.97?5.54?T:tpypy
5.545.545.55T:simon6496ctr
5.725.735.73T:simon64128ctr
5.795.815.81T:lexv2
8.638.638.64T:simon128128ctr
9.119.119.11T:simon128256ctr
10.5610.5910.62T:aes128estream
12.0212.0712.11T:aes128ctr
14.6914.7514.78T:aes192ctr
17.1617.1817.21T:aes256estream
17.3717.4117.49T:aes256ctr
24.4125.3725.67T:ocelot1
28.8529.2629.64T:ocelot2
40.97?47.98?49.06?T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.451.461.46tango642
1.481.481.51chacha8
1.931.931.93chacha12
1.971.971.98salsa208
2.662.662.66T:speck6496ctr
2.642.682.69salsa2012
2.772.772.77T:speck64128ctr
2.862.902.91chacha20
2.932.932.93T:trivium
3.113.123.14T:sosemanuk
3.693.693.69T:speck128128ctr
3.673.703.70T:cryptmtv3
3.813.813.81T:speck128192ctr
3.893.893.89T:speck128256ctr
4.004.004.03salsa20
4.044.054.18T:nlsv2
4.084.094.09T:snow20
4.124.134.15xsalsa20
4.214.284.33T:tpy6
4.664.664.67T:rabbit
4.934.965.03T:tpy
5.535.545.57T:panama
5.795.795.79T:simon6496ctr
5.985.985.99T:lexv2
6.066.066.07T:simon64128ctr
6.816.847.09T:tpypy
7.217.257.28T:hc128
9.009.019.01T:simon128128ctr
10.6710.6710.67T:simon128256ctr
10.6810.6810.68T:aes128estream
12.7612.7812.79T:aes128ctr
15.4115.4315.45T:aes192ctr
15.7015.7315.75T:hc256
17.2917.2917.31T:aes256estream
18.1718.1818.21T:aes256ctr
26.8927.1527.32T:ocelot1
31.0931.3531.57T:ocelot2
43.93?49.12?49.79?T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.531.531.54chacha8
1.851.861.87tango642
1.971.971.97chacha12
2.012.022.04salsa208
2.692.722.75salsa2012
2.722.732.73T:speck6496ctr
2.852.852.85T:speck64128ctr
2.892.932.96chacha20
3.163.173.18T:trivium
3.793.793.79T:speck128128ctr
3.903.903.90T:speck128192ctr
3.983.993.99T:speck128256ctr
4.054.054.05salsa20
4.324.334.33T:snow20
4.354.364.37xsalsa20
4.514.534.57T:sosemanuk
4.754.755.06T:nlsv2
4.804.884.89T:cryptmtv3
4.914.954.97T:rabbit
5.575.615.72T:tpy6
6.196.196.20T:simon6496ctr
6.296.296.30T:lexv2
6.626.626.62T:simon64128ctr
7.437.617.73T:tpy
7.727.747.80T:panama
9.359.409.44T:tpypy
9.629.629.63T:simon128128ctr
10.7910.7910.85T:aes128estream
13.2713.2713.27T:simon128256ctr
13.9113.9513.97T:aes128ctr
15.0915.1215.15T:hc128
16.5616.5916.63T:aes192ctr
17.4917.5017.52T:aes256estream
19.3119.3819.43T:aes256ctr
30.3730.6731.28T:ocelot1
34.7935.0335.21T:ocelot2
35.6035.6635.72T:hc256
47.7848.2249.63T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.731.751.77chacha8
2.232.232.23chacha12
2.232.232.27salsa208
2.932.943.03salsa2012
2.962.973.01T:speck6496ctr
2.983.003.01tango642
3.073.083.09T:speck64128ctr
3.293.293.29chacha20
3.703.723.74T:trivium
4.094.094.09T:speck128128ctr
4.164.164.16T:speck128192ctr
4.264.264.28T:speck128256ctr
4.404.424.45salsa20
4.965.025.04T:snow20
5.205.215.25xsalsa20
5.625.635.74T:rabbit
5.595.685.74T:cryptmtv3
6.25?6.25?7.08?T:nlsv2
7.087.147.15T:lexv2
8.038.058.07T:simon6496ctr
8.218.258.34T:sosemanuk
9.609.619.62T:simon64128ctr
9.249.669.78T:tpy6
11.0711.1011.11T:aes128estream
13.6613.8013.89T:panama
14.5314.6114.80T:tpy
16.4816.5316.77T:tpypy
16.9217.0617.31T:aes128ctr
17.9918.0218.04T:aes256estream
19.7019.8120.31T:aes192ctr
19.9520.1020.15T:simon128128ctr
22.3122.3422.49T:aes256ctr
26.6926.6926.71T:simon128256ctr
36.1336.1736.19T:hc128
39.6940.2940.74T:ocelot1
40.1043.2544.11T:ocelot2
54.9055.4657.79T:amastrid
88.6688.8089.03T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.343.343.52chacha8
4.144.144.19salsa208
4.314.314.31chacha12
5.345.345.34salsa2012
5.755.775.94T:speck6496ctr
5.675.785.92T:speck64128ctr
6.536.596.59chacha20
7.397.397.39T:speck128192ctr
7.477.477.55salsa20
7.777.787.80T:speck128128ctr
7.707.807.83T:speck128256ctr
10.9810.9811.05T:trivium
12.6212.7812.92T:simon6496ctr
13.3813.3813.66T:snow20
13.5213.5213.91T:simon64128ctr
14.5514.6614.89xsalsa20
14.8414.9515.02T:rabbit
14.6115.1715.38T:cryptmtv3
15.2315.3315.36T:aes128estream
17.3417.3817.45tango642
17.3917.3917.39T:lexv2
20.6420.7820.97T:simon128128ctr
21.9221.9721.97T:simon128256ctr
24.4424.7525.05T:aes256estream
31.58?31.59?40.25?T:nlsv2
47.8448.0849.34T:sosemanuk
55.8156.9259.56T:aes128ctr
55.7557.8859.41T:tpy6
59.5059.8460.33T:aes192ctr
61.6161.9162.23T:aes256ctr
88.2288.3989.62T:panama
103.42103.61103.92T:tpy
112.28115.83116.17T:tpypy
140.23?145.25?163.30?T:ocelot1
143.70148.39156.62T:ocelot2
159.84160.41162.33T:amastrid
304.81305.03305.22T:hc128
767.47769.02770.95T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
24.7524.7524.75T:speck6496ctr
29.0029.0029.12T:speck128192ctr
32.6232.6232.75T:speck128128ctr
33.0033.5033.75T:speck64128ctr
33.3833.5034.50chacha8
41.0041.6242.12chacha12
42.1243.0043.50T:speck128256ctr
56.5057.1257.62salsa208
57.1257.1257.12chacha20
66.2566.3866.88salsa2012
68.1268.5070.50T:trivium
74.5074.5074.62T:simon6496ctr
76.5076.5081.12T:simon64128ctr
77.1278.0078.12T:aes128estream
78.8878.8879.38salsa20
92.1293.6297.12T:cryptmtv3
93.6295.2595.25T:rabbit
94.6295.2596.25T:aes256estream
98.50102.00103.62T:snow20
104.50105.38105.88T:lexv2
116.75123.00123.00T:simon128128ctr
125.50125.50125.50T:simon128256ctr
130.50131.38132.25tango642
135.62137.12137.62xsalsa20
149.00?149.00?217.88?T:nlsv2
379.50382.38390.00T:sosemanuk
385.75389.38398.62T:aes128ctr
395.00397.75399.62T:aes192ctr
395.38398.25400.25T:aes256ctr
413.88418.25423.75T:tpy6
693.25694.00694.75T:panama
786.88807.62820.38T:tpy
813.00?819.00?934.75?T:tpypy
971.881001.001079.12T:ocelot1
978.25?1026.25?1097.75?T:ocelot2
1088.751092.501098.25T:amastrid
2436.122436.882439.25T:hc128
6149.626158.886171.00T:hc256