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 Xeon E3-1220 v5; 4 x 3000MHz; samba, supercop-20250307

[Page version: 20250412 06:19:16]

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.520.530.54chacha8
0.590.600.61salsa208
0.630.630.63T:aes128ctr
0.740.740.75chacha12
0.740.760.78T:aes192ctr
0.780.790.80tango642
0.840.850.85salsa2012
0.870.870.88aes256ctr
0.991.001.00T:speck6496ctr
1.031.041.05T:speck64128ctr
1.14?1.19?1.34?chacha20
1.231.241.25T:speck128128ctr
1.251.261.27T:speck128192ctr
1.301.301.30T:speck128256ctr
1.321.331.34salsa20
1.321.331.34xsalsa20
1.441.451.45T:simon6496ctr
1.491.501.50T:simon64128ctr
1.611.621.65T:hc128
1.851.861.87T:sosemanuk
1.921.931.93T:trivium
1.942.002.09T:tpy
2.232.252.28T:simon128128ctr
2.402.422.43T:simon128256ctr
2.362.422.48T:tpy6
2.422.462.51T:hc256
2.502.502.51T:cryptmtv3
2.542.562.58T:nlsv2
2.722.722.73T:rabbit
2.762.782.81T:snow20
2.882.902.91T:panama
3.353.403.45T:tpypy
4.104.114.13T:lexv2
8.338.358.38T:aes128estream
12.8712.9212.95T:aes256estream
18.2118.2818.32T:ocelot1
18.4818.6218.68T:ocelot2
32.0732.8033.43T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.550.560.56chacha8
0.620.620.63salsa208
0.680.680.68T:aes128ctr
0.760.770.77chacha12
0.870.870.87salsa2012
0.940.940.94aes256ctr
0.940.940.95tango642
1.041.041.04T:speck6496ctr
1.071.081.08T:speck64128ctr
1.121.131.13T:aes192ctr
1.201.211.32chacha20
1.281.281.29T:speck128128ctr
1.311.311.31T:speck128192ctr
1.351.351.35T:speck128256ctr
1.351.351.36salsa20
1.451.451.45xsalsa20
1.651.651.65T:simon6496ctr
1.831.831.83T:simon64128ctr
2.022.032.03T:trivium
2.342.342.35T:sosemanuk
2.512.522.54T:simon128128ctr
2.692.702.71T:nlsv2
2.822.822.83T:rabbit
2.852.862.86T:simon128256ctr
2.882.892.91T:snow20
2.973.003.02T:tpy6
3.013.023.02T:cryptmtv3
3.383.413.44T:tpy
3.833.843.84T:panama
4.244.254.26T:lexv2
4.644.644.65T:hc128
4.724.744.77T:tpypy
8.418.428.44T:aes128estream
10.1810.1810.21T:hc256
12.9813.0113.02T:aes256estream
19.2919.3219.34T:ocelot1
19.5919.6819.71T:ocelot2
33.7634.2634.65T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.590.590.61chacha8
0.660.670.68salsa208
0.770.770.77T:aes128ctr
0.800.800.81chacha12
0.910.920.93salsa2012
1.051.051.06aes256ctr
1.101.101.11T:speck6496ctr
1.131.141.15T:speck64128ctr
1.201.201.22tango642
1.23?1.24?1.38?chacha20
1.351.351.35T:speck128128ctr
1.381.381.39T:speck128192ctr
1.391.391.40salsa20
1.421.421.43T:speck128256ctr
1.641.651.66xsalsa20
1.701.741.76T:aes192ctr
1.981.981.99T:simon6496ctr
2.192.202.20T:trivium
2.372.382.38T:simon64128ctr
2.942.952.97T:nlsv2
2.952.972.98T:simon128128ctr
2.972.982.99T:rabbit
3.063.083.09T:snow20
3.193.203.21T:sosemanuk
3.583.583.59T:simon128256ctr
3.873.923.98T:tpy6
4.374.384.39T:cryptmtv3
4.504.514.53T:lexv2
5.385.405.43T:panama
5.585.625.66T:tpy
6.937.117.14T:tpypy
8.518.538.54T:aes128estream
9.729.739.74T:hc128
13.1313.1513.16T:aes256estream
21.0121.0521.12T:ocelot1
21.2821.3221.36T:ocelot2
23.0423.0723.12T:hc256
36.1836.5736.69T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.820.830.86chacha8
0.940.950.98salsa208
1.081.081.09T:aes128ctr
1.111.121.13chacha12
1.271.281.29salsa2012
1.351.351.36T:speck6496ctr
1.391.391.40T:speck64128ctr
1.441.441.44aes256ctr
1.631.641.64T:speck128128ctr
1.671.681.69T:speck128192ctr
1.721.721.84chacha20
1.731.741.75T:speck128256ctr
1.901.911.92tango642
1.941.961.97salsa20
2.622.632.64T:trivium
2.622.642.65xsalsa20
3.333.353.36T:simon64128ctr
3.313.403.47T:aes192ctr
3.393.413.42T:rabbit
3.483.513.53T:snow20
3.543.553.58T:simon6496ctr
3.663.693.72T:nlsv2
4.844.854.85T:cryptmtv3
4.864.874.89T:simon128128ctr
5.085.125.14T:lexv2
5.245.255.27T:simon128256ctr
5.465.485.50T:sosemanuk
6.496.606.64T:tpy6
8.808.838.87T:aes128estream
9.529.639.77T:panama
11.6811.8511.96T:tpy
13.1213.1913.26T:tpypy
13.5213.5513.59T:aes256estream
22.9123.0223.04T:hc128
25.6625.7825.94T:ocelot1
25.8425.9726.11T:ocelot2
42.7643.3543.43T:amastrid
57.3557.4357.58T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.303.333.34chacha8
3.803.803.81T:speck6496ctr
3.813.843.89salsa208
3.883.924.00T:speck64128ctr
4.224.224.23chacha12
4.564.594.78T:speck128128ctr
4.724.754.77T:aes128ctr
4.704.814.95T:speck128192ctr
4.864.894.92salsa2012
4.924.975.03T:speck128256ctr
5.976.006.00aes256ctr
6.066.126.16chacha20
6.987.057.08salsa20
8.208.278.33T:trivium
8.288.348.39T:rabbit
8.288.488.72T:simon6496ctr
9.029.169.39T:snow20
9.429.539.73T:simon64128ctr
10.2810.3110.38T:cryptmtv3
10.7710.8911.02tango642
12.4512.4512.64T:simon128128ctr
12.7512.8312.92T:aes128estream
12.8412.9713.20T:lexv2
13.2813.3113.36xsalsa20
13.9113.9714.14T:simon128256ctr
14.5214.7014.88T:nlsv2
18.6918.7318.81T:aes256estream
22.6722.8122.97T:aes192ctr
31.1931.3431.50T:sosemanuk
39.8140.1140.64T:tpy6
62.0062.2262.75T:panama
82.8684.0584.77T:ocelot1
84.9485.6287.00T:ocelot2
88.4289.0890.00T:tpy
90.4190.8991.34T:tpypy
117.84118.83119.58T:amastrid
191.80191.94192.02T:hc128
494.69495.08495.42T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
20.7521.0021.50T:speck6496ctr
21.2521.6222.25T:speck64128ctr
24.8825.1225.62T:speck128128ctr
26.3826.6227.25T:speck128192ctr
26.6226.8827.25T:speck128256ctr
36.7537.0037.12T:aes128ctr
38.00?38.50?43.25?chacha8
42.6243.1243.50salsa208
46.2546.5046.75aes256ctr
47.1247.3848.38salsa2012
47.6247.6247.75chacha12
51.1251.3852.00T:rabbit
52.7553.0053.88T:trivium
53.1253.3854.12T:simon6496ctr
58.8859.3859.62T:aes128estream
59.2559.8860.38T:cryptmtv3
62.2562.7563.25T:simon64128ctr
67.8868.5068.75salsa20
69.7570.5071.12chacha20
73.2573.8874.50T:aes256estream
72.1274.3875.00T:snow20
77.8877.8878.12T:simon128128ctr
77.8878.6279.75T:lexv2
80.0081.5083.00T:nlsv2
81.8882.5083.50tango642
88.8889.3889.88T:simon128256ctr
118.50119.12120.00xsalsa20
181.88182.75184.50T:aes192ctr
248.75251.62252.88T:sosemanuk
307.25311.00313.12T:tpy6
488.38489.38491.75T:panama
545.62555.38575.38T:ocelot1
543.50556.25564.88T:ocelot2
698.75701.25704.25T:tpypy
697.25702.62706.88T:tpy
788.00794.00797.75T:amastrid
1535.501536.621538.25T:hc128
3961.753965.623972.00T:hc256