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; Skylake (506e3); 2015 Intel Core i5-6500T; 4 x 2500MHz; thinksky, supercop-20250415

[Page version: 20250828 09:44:07]

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.520.520.53chacha8
0.600.610.61salsa208
0.620.620.63T:aes128ctr
0.680.700.71tango642
0.720.730.73chacha12
0.730.770.81T:aes192ctr
0.850.860.87salsa2012
0.870.880.88aes256ctr
1.001.001.01T:speck6496ctr
1.041.041.05T:speck64128ctr
1.131.141.15chacha20
1.211.221.22T:speck128128ctr
1.241.251.26T:speck128192ctr
1.281.291.29T:speck128256ctr
1.351.361.36salsa20
1.351.361.37xsalsa20
1.471.481.49T:simon6496ctr
1.521.541.54T:simon64128ctr
1.671.731.78T:tpy
1.741.771.79T:hc128
1.801.811.82T:sosemanuk
1.931.941.94T:trivium
1.881.941.99T:tpy6
1.961.971.98T:nlsv2
2.172.182.19T:simon128128ctr
2.172.212.26T:hc256
2.282.312.39T:simon128256ctr
2.502.522.56T:cryptmtv3
2.602.712.75T:tpypy
2.742.762.79T:snow20
2.752.772.79T:rabbit
2.842.862.88T:panama
4.104.124.14T:lexv2
8.338.368.37T:aes128estream
12.6712.6912.74T:aes256estream
16.0616.1717.15T:ocelot1
18.1318.1818.25T:ocelot2
30.6330.8031.19T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.540.540.55chacha8
0.620.630.63salsa208
0.680.680.68T:aes128ctr
0.750.750.75chacha12
0.850.860.87tango642
0.880.880.89salsa2012
0.940.940.94aes256ctr
1.041.041.05T:speck6496ctr
1.081.081.08T:speck64128ctr
1.091.101.11T:aes192ctr
1.161.161.16chacha20
1.271.271.27T:speck128128ctr
1.301.301.31T:speck128192ctr
1.331.331.33T:speck128256ctr
1.381.381.39salsa20
1.481.481.49xsalsa20
1.711.711.72T:simon6496ctr
1.901.901.91T:simon64128ctr
2.022.022.03T:trivium
2.112.112.12T:nlsv2
2.312.322.32T:sosemanuk
2.452.452.46T:simon128128ctr
2.542.562.58T:tpy6
2.762.782.83T:simon128256ctr
2.852.862.88T:snow20
2.862.872.88T:rabbit
3.013.033.03T:cryptmtv3
3.023.053.08T:tpy
3.773.783.79T:panama
3.923.973.99T:tpypy
4.244.254.26T:lexv2
4.644.654.66T:hc128
8.418.428.43T:aes128estream
9.589.609.62T:hc256
12.8112.8212.86T:aes256estream
17.4017.4618.19T:ocelot1
19.1019.1319.16T:ocelot2
32.0232.1032.36T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.580.580.59chacha8
0.660.660.68salsa208
0.770.780.78T:aes128ctr
0.790.790.80chacha12
0.910.910.92salsa2012
1.051.051.06aes256ctr
1.101.111.11T:speck6496ctr
1.121.131.15tango642
1.141.141.15T:speck64128ctr
1.191.201.21chacha20
1.331.341.34T:speck128128ctr
1.371.371.38T:speck128192ctr
1.411.411.41T:speck128256ctr
1.421.431.43salsa20
1.611.631.67T:aes192ctr
1.681.681.69xsalsa20
2.092.092.10T:simon6496ctr
2.162.162.17T:trivium
2.412.422.43T:nlsv2
2.502.512.53T:simon64128ctr
2.872.882.89T:simon128128ctr
3.013.033.04T:rabbit
3.013.033.05T:snow20
3.183.203.21T:sosemanuk
3.453.493.57T:tpy6
3.503.513.55T:simon128256ctr
4.384.434.46T:cryptmtv3
4.464.474.50T:lexv2
5.255.275.30T:tpy
5.315.325.33T:panama
6.176.226.26T:tpypy
8.518.538.55T:aes128estream
9.439.449.47T:hc128
13.0413.0513.07T:aes256estream
19.7419.8019.85T:ocelot1
20.6420.6720.72T:ocelot2
21.8821.9121.95T:hc256
34.2434.5534.71T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.810.820.84chacha8
0.930.940.96salsa208
1.081.081.08T:aes128ctr
1.111.121.13chacha12
1.271.281.30salsa2012
1.361.361.38T:speck6496ctr
1.401.411.42T:speck64128ctr
1.431.431.44aes256ctr
1.611.621.63T:speck128128ctr
1.651.661.67T:speck128192ctr
1.671.681.69chacha20
1.701.721.72T:speck128256ctr
1.831.851.87tango642
1.971.981.99salsa20
2.582.592.61T:trivium
2.662.672.68xsalsa20
2.973.023.07T:aes192ctr
3.153.183.22T:nlsv2
3.293.313.36T:simon64128ctr
3.403.433.46T:snow20
3.433.453.47T:rabbit
3.723.733.74T:simon6496ctr
4.764.904.91T:cryptmtv3
4.954.975.00T:simon128128ctr
5.095.125.15T:lexv2
5.355.375.39T:simon128256ctr
5.545.565.59T:sosemanuk
5.976.056.17T:tpy6
8.818.868.89T:aes128estream
9.369.409.44T:panama
11.0611.2211.35T:tpy
11.8511.9612.18T:tpypy
13.6513.6713.71T:aes256estream
22.2022.3222.37T:hc128
24.6924.7724.85T:ocelot2
25.8825.9426.06T:ocelot1
39.9140.1940.47T:amastrid
54.7054.7954.88T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.333.343.34chacha8
3.833.843.88salsa208
3.923.924.08T:speck6496ctr
4.054.084.11T:speck64128ctr
4.234.274.30chacha12
4.614.624.92T:speck128192ctr
4.534.665.00T:speck128128ctr
4.674.724.73T:aes128ctr
4.694.734.92T:speck128256ctr
4.864.924.97salsa2012
5.885.885.92aes256ctr
6.066.146.16chacha20
6.896.926.98salsa20
7.347.397.55T:simon6496ctr
8.068.088.12T:trivium
8.308.318.36T:rabbit
8.668.738.89T:snow20
8.868.989.33T:simon64128ctr
10.8810.9711.20tango642
10.36?11.72?11.80?T:cryptmtv3
12.6412.7512.81T:aes128estream
12.8312.9713.16T:lexv2
12.9813.0313.20T:simon128128ctr
13.1913.2513.28xsalsa20
14.7314.8014.97T:nlsv2
14.7314.8015.02T:simon128256ctr
19.5519.6719.80T:aes256estream
20.7520.8321.02T:aes192ctr
32.3132.4732.56T:sosemanuk
39.0639.3439.80T:tpy6
60.9861.3461.80T:panama
77.5377.9878.91T:ocelot2
83.1483.5887.42T:tpypy
86.6687.7590.12T:tpy
102.00102.47103.11T:ocelot1
115.25115.91116.64T:amastrid
185.41185.98186.73T:hc128
472.66473.42474.08T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
21.3822.0022.25T:speck6496ctr
22.8823.1223.62T:speck64128ctr
25.88?26.62?29.12?T:speck128192ctr
26.3826.7527.88T:speck128256ctr
26.5027.3827.88T:speck128128ctr
36.1236.7536.88T:aes128ctr
37.0037.2537.50chacha8
40.5040.6241.00salsa208
46.2546.2546.50aes256ctr
50.5050.7551.12T:rabbit
50.5051.1251.38T:simon6496ctr
50.5051.1251.50chacha12
51.3851.6251.88T:trivium
58.1259.1259.62T:aes128estream
59.3859.6260.00salsa2012
61.5062.3864.25T:simon64128ctr
66.7567.1268.00chacha20
68.2569.0070.50T:snow20
71.2571.7572.25salsa20
60.38?72.00?72.25?T:cryptmtv3
77.3878.0079.00T:simon128128ctr
77.6278.7579.75T:lexv2
80.6281.0081.88T:nlsv2
81.6281.8882.50T:aes256estream
82.2583.7585.88tango642
90.3890.7591.88T:simon128256ctr
119.38120.25120.75xsalsa20
165.38166.25167.25T:aes192ctr
258.00259.25260.75T:sosemanuk
303.00303.88305.12T:tpy6
478.50479.88483.00T:panama
489.38494.25502.00T:ocelot2
681.88683.12684.00T:tpypy
692.88697.25699.75T:tpy
700.00716.38722.00T:ocelot1
746.75758.12762.38T:amastrid
1485.751490.881493.38T:hc128
3781.623786.623792.62T:hc256