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-3210M; 2 x 2500MHz; h9ivy, supercop-20250922

[Page version: 20251001 12:36:48]

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
0.870.880.88tango642
0.910.920.92T:aes128ctr
1.041.061.06chacha8
1.181.191.20aes256ctr
1.251.261.27salsa208
1.461.481.50chacha12
1.441.501.52T:aes192ctr
1.631.641.64T:trivium
1.751.761.77salsa2012
1.78?1.98?2.11?T:tpy
2.072.072.09T:hc128
2.082.092.10T:speck6496ctr
2.172.172.17T:speck64128ctr
2.262.282.31T:sosemanuk
2.302.322.35T:nlsv2
2.292.332.36chacha20
2.21?2.34?2.46?T:tpy6
2.642.642.66T:speck128128ctr
2.662.672.68T:cryptmtv3
2.722.732.73T:speck128192ctr
2.802.802.81T:speck128256ctr
2.842.852.86xsalsa20
2.842.852.86salsa20
2.982.993.00T:simon6496ctr
3.003.033.06T:hc256
3.093.113.11T:simon64128ctr
3.123.173.20T:tpypy
3.513.523.53T:snow20
3.493.533.57T:panama
3.613.623.63T:rabbit
4.504.514.53T:simon128128ctr
4.894.914.92T:lexv2
5.225.325.37T:simon128256ctr
9.749.749.76T:aes128estream
15.7315.7615.79T:aes256estream
20.4320.5820.71T:ocelot1
21.5021.6421.82T:ocelot2
34.7935.8236.19T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.950.960.96T:aes128ctr
1.061.061.07tango642
1.071.081.08chacha8
1.241.241.25aes256ctr
1.281.291.29salsa208
1.491.511.51chacha12
1.721.721.73T:trivium
1.781.791.79salsa2012
1.901.921.93T:aes192ctr
2.132.132.14T:speck6496ctr
2.212.212.22T:speck64128ctr
2.322.362.37chacha20
2.482.482.50T:nlsv2
2.692.692.70T:speck128128ctr
2.772.772.77T:speck128192ctr
2.842.842.86T:sosemanuk
2.852.852.85T:speck128256ctr
2.872.882.88salsa20
2.993.003.00xsalsa20
3.043.083.15T:tpy6
3.163.163.17T:cryptmtv3
3.213.213.22T:simon6496ctr
3.453.463.46T:simon64128ctr
3.623.633.63T:snow20
3.503.633.67T:tpy
3.713.713.72T:rabbit
4.584.604.62T:panama
4.674.694.71T:tpypy
4.834.844.85T:simon128128ctr
5.065.075.08T:lexv2
5.445.445.44T:hc128
5.685.755.78T:simon128256ctr
9.819.829.82T:aes128estream
12.1812.1812.20T:hc256
15.8815.8915.90T:aes256estream
21.7121.7721.83T:ocelot1
22.8222.8922.98T:ocelot2
37.0537.4337.63T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.011.021.02T:aes128ctr
1.111.121.12chacha8
1.321.331.35aes256ctr
1.321.331.34salsa208
1.361.371.38tango642
1.511.531.55chacha12
1.831.841.85salsa2012
1.871.881.88T:trivium
2.202.202.22T:speck6496ctr
2.292.292.29T:speck64128ctr
2.362.382.42chacha20
2.612.632.69T:aes192ctr
2.752.762.77T:speck128128ctr
2.822.832.88T:nlsv2
2.832.832.84T:speck128192ctr
2.912.922.93salsa20
2.912.922.93T:speck128256ctr
3.233.233.24xsalsa20
3.583.583.59T:simon6496ctr
3.803.813.82T:snow20
3.813.833.86T:sosemanuk
3.873.883.89T:rabbit
4.044.054.06T:simon64128ctr
4.154.314.39T:tpy6
4.644.654.65T:cryptmtv3
5.345.355.36T:lexv2
5.375.395.40T:simon128128ctr
6.326.346.40T:tpy
6.376.386.42T:panama
6.446.466.49T:simon128256ctr
7.137.187.24T:tpypy
9.929.939.96T:aes128estream
11.0311.0311.05T:hc128
16.0516.0916.11T:aes256estream
23.6123.7423.97T:ocelot1
25.0325.1025.32T:ocelot2
27.4627.4727.50T:hc256
39.8540.0840.62T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.301.311.32T:aes128ctr
1.321.321.34chacha8
1.571.581.60salsa208
1.661.681.69aes256ctr
1.791.811.81chacha12
2.172.182.18salsa2012
2.212.222.24tango642
2.242.242.28T:trivium
2.432.442.45T:speck6496ctr
2.542.552.55T:speck64128ctr
2.782.792.82chacha20
2.993.003.01T:speck128128ctr
3.063.073.08T:speck128192ctr
3.163.173.19T:speck128256ctr
3.383.393.41salsa20
3.623.663.79T:nlsv2
4.214.224.24xsalsa20
4.234.254.26T:snow20
4.314.324.34T:rabbit
4.214.474.54T:aes192ctr
5.055.065.07T:cryptmtv3
5.265.285.30T:simon6496ctr
6.056.066.09T:lexv2
6.446.476.56T:sosemanuk
7.72?7.80?8.93?T:simon64128ctr
7.497.907.95T:tpy6
9.419.429.43T:simon128256ctr
10.2110.2210.26T:aes128estream
10.1010.3210.77T:simon128128ctr
11.1411.1711.27T:panama
13.4613.5113.59T:tpy
14.0614.2014.49T:tpypy
16.6016.6416.67T:aes256estream
25.9225.9625.98T:hc128
28.8029.0829.22T:ocelot1
30.2030.4530.71T:ocelot2
46.4147.0347.39T:amastrid
68.1668.2068.27T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.333.343.39chacha8
4.144.164.17salsa208
4.304.304.34chacha12
4.444.584.83T:aes128ctr
4.955.115.11T:speck6496ctr
5.095.125.17T:speck64128ctr
5.205.205.23salsa2012
5.735.775.84T:speck128128ctr
5.595.805.88aes256ctr
5.805.805.83T:speck128192ctr
5.986.036.22T:speck128256ctr
6.316.346.39chacha20
7.167.227.25T:trivium
7.537.557.61salsa20
9.589.7210.14T:rabbit
10.0810.1910.38T:snow20
10.3310.3310.41T:simon6496ctr
12.0912.1212.16T:simon64128ctr
12.4712.4812.58T:cryptmtv3
12.8412.9113.00tango642
14.2214.3415.06T:aes128estream
14.9415.0315.03xsalsa20
15.2015.3015.55T:lexv2
15.95?16.17?17.89?T:nlsv2
16.5016.5516.72T:simon128256ctr
16.7516.9216.98T:simon128128ctr
22.9223.1423.16T:aes256estream
25.94?28.39?28.88?T:aes192ctr
36.3436.5337.41T:sosemanuk
44.3645.4846.28T:tpy6
71.3971.8672.44T:panama
95.0397.6298.92T:ocelot1
98.03101.05103.39T:ocelot2
100.03101.73101.94T:tpypy
106.78107.81110.77T:tpy
132.20134.91136.91T:amastrid
216.00216.23216.47T:hc128
588.39588.84589.23T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
23.6224.0025.00T:speck6496ctr
24.2524.3824.62T:speck64128ctr
26.3826.7527.88T:speck128256ctr
26.75?26.75?30.88?T:speck128128ctr
26.5028.2528.62T:speck128192ctr
27.7528.7530.38chacha8
35.6235.7535.88chacha12
36.5037.7538.75T:aes128ctr
45.3845.5046.00T:trivium
45.1245.6247.12aes256ctr
43.7545.8846.50salsa208
51.8852.1252.75chacha20
56.1258.1258.75T:rabbit
59.1259.7560.62salsa2012
65.2565.5066.25T:aes128estream
70.8870.8871.00T:simon64128ctr
70.3871.6272.50salsa20
78.3878.7578.88T:cryptmtv3
79.5080.1282.12T:snow20
81.0081.3883.00T:simon6496ctr
85.6285.8893.88T:nlsv2
90.3890.7591.25T:lexv2
90.8890.8891.50T:aes256estream
97.7598.2599.25tango642
101.75103.12103.12T:simon128128ctr
106.62107.00107.88T:simon128256ctr
128.75130.12130.25xsalsa20
196.25?222.38?227.88?T:aes192ctr
292.38?298.25?356.75?T:sosemanuk
366.12376.00382.50T:tpy6
560.25565.38568.25T:panama
612.62625.75644.00T:ocelot1
624.38638.12656.88T:ocelot2
800.62806.38810.38T:tpypy
829.00833.75880.62T:tpy
881.25903.12913.38T:amastrid
1729.001731.121734.00T:hc128
4711.004712.884715.88T:hc256