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; Haswell+AES (306c3); 2013 Intel Core i7-4770; 4 x 3400MHz; speed2supercop, supercop-20251222

[Page version: 20260114 05:58:15]

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.50?0.54?0.69?chacha8
0.640.650.65salsa208
0.720.730.75tango642
0.750.760.76T:aes128ctr
0.73?0.77?0.89?chacha12
0.890.910.95salsa2012
0.971.001.01T:aes192ctr
1.031.041.04T:speck6496ctr
1.031.041.08aes256ctr
1.071.071.08T:speck64128ctr
1.161.181.18chacha20
1.261.261.27T:speck128128ctr
1.291.301.31T:speck128192ctr
1.321.341.35T:speck128256ctr
1.421.451.52xsalsa20
1.431.461.49salsa20
1.541.541.55T:simon6496ctr
1.601.601.61T:simon64128ctr
1.641.721.77T:tpy
1.881.891.89T:trivium
2.012.032.18T:sosemanuk
2.032.052.08T:hc128
1.96?2.22?2.27?T:tpy6
2.262.262.32T:nlsv2
2.152.282.37T:simon128128ctr
2.302.392.44T:simon128256ctr
2.402.452.49T:cryptmtv3
2.522.542.57T:hc256
2.822.862.92T:tpypy
3.073.093.13T:panama
3.123.133.15T:rabbit
3.293.313.34T:snow20
4.474.484.49T:lexv2
9.069.079.09T:aes128estream
14.1814.2214.24T:aes256estream
17.8718.2719.19T:ocelot1
19.3919.4519.50T:ocelot2
31.22?32.48?35.53?T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.55?0.55?0.66?chacha8
0.660.660.66salsa208
0.77?0.78?0.87?chacha12
0.790.790.79T:aes128ctr
0.890.890.90tango642
0.920.930.95salsa2012
1.061.071.07T:speck6496ctr
1.071.081.11aes256ctr
1.101.101.11T:speck64128ctr
1.181.191.19chacha20
1.291.301.30T:speck128128ctr
1.321.331.33T:aes192ctr
1.331.341.34T:speck128192ctr
1.371.381.38T:speck128256ctr
1.461.471.49salsa20
1.551.561.61xsalsa20
1.761.761.77T:simon6496ctr
1.951.961.96T:simon64128ctr
1.981.981.98T:trivium
2.402.402.44T:nlsv2
2.522.542.60T:simon128128ctr
2.552.562.65T:sosemanuk
2.822.862.87T:simon128256ctr
2.772.902.92T:tpy6
2.973.003.00T:cryptmtv3
3.223.233.24T:rabbit
3.243.283.30T:tpy
3.393.403.41T:snow20
4.064.074.08T:panama
4.364.384.41T:tpypy
4.614.614.62T:lexv2
5.325.335.33T:hc128
9.149.159.16T:aes128estream
10.9710.9810.99T:hc256
14.3114.3314.34T:aes256estream
19.3019.4420.08T:ocelot1
20.5720.6020.63T:ocelot2
33.2033.9535.96T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.57?0.57?0.68?chacha8
0.670.680.68salsa208
0.80?0.80?0.89?chacha12
0.840.840.84T:aes128ctr
0.950.950.98salsa2012
1.111.111.12T:speck6496ctr
1.121.131.16aes256ctr
1.151.151.17tango642
1.151.161.16T:speck64128ctr
1.201.211.21chacha20
1.361.361.36T:speck128128ctr
1.391.401.40T:speck128192ctr
1.431.441.45T:speck128256ctr
1.481.501.52salsa20
1.731.741.80xsalsa20
1.851.861.88T:aes192ctr
2.122.122.13T:simon6496ctr
2.142.142.14T:trivium
2.542.542.55T:simon64128ctr
2.682.692.69T:nlsv2
2.942.963.16T:simon128128ctr
3.383.393.40T:rabbit
3.433.493.54T:sosemanuk
3.523.543.56T:snow20
3.583.593.70T:simon128256ctr
4.004.064.16T:tpy6
4.344.424.42T:cryptmtv3
4.824.834.85T:lexv2
5.705.715.73T:panama
5.845.885.97T:tpy
6.906.966.99T:tpypy
9.229.239.24T:aes128estream
10.7610.7910.81T:hc128
14.4714.4914.50T:aes256estream
21.3421.4422.06T:ocelot1
22.5422.5922.67T:ocelot2
25.0325.0725.09T:hc256
34.9236.2538.28T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.76?0.78?0.90?chacha8
0.940.940.95salsa208
1.061.061.07T:aes128ctr
1.071.091.11chacha12
1.311.311.32T:speck6496ctr
1.311.321.38salsa2012
1.351.361.38T:speck64128ctr
1.411.421.45aes256ctr
1.601.601.62T:speck128128ctr
1.631.651.67T:speck128192ctr
1.681.691.71chacha20
1.691.701.75T:speck128256ctr
1.861.871.90tango642
2.062.062.09salsa20
2.532.532.56T:trivium
2.742.762.79xsalsa20
3.333.353.61T:aes192ctr
3.393.403.43T:nlsv2
3.513.533.54T:simon64128ctr
3.763.763.77T:simon6496ctr
3.793.823.83T:rabbit
3.913.924.01T:snow20
5.005.015.03T:simon128128ctr
4.885.105.12T:cryptmtv3
5.415.425.48T:simon128256ctr
5.445.465.48T:lexv2
5.815.835.93T:sosemanuk
7.097.197.26T:tpy6
9.519.539.54T:aes128estream
9.9410.0310.11T:panama
12.6712.7213.01T:tpy
13.5013.5313.79T:tpypy
14.9214.9714.99T:aes256estream
24.8824.9424.99T:hc128
26.2826.6327.04T:ocelot1
27.4427.5327.61T:ocelot2
42.3842.5243.54T:amastrid
62.4962.5362.67T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.942.942.94chacha8
3.253.313.44T:speck6496ctr
3.383.443.50T:speck64128ctr
3.503.503.56T:aes128ctr
3.503.503.56salsa208
3.883.944.06chacha12
4.004.004.12T:speck128128ctr
4.004.064.12T:speck128192ctr
4.19?4.25?4.69?T:speck128256ctr
4.564.624.62aes256ctr
4.694.694.75salsa2012
5.946.006.12chacha20
7.067.067.12salsa20
7.627.627.75T:simon6496ctr
7.697.697.75T:trivium
8.568.628.88T:rabbit
8.698.819.00T:snow20
8.949.009.12T:simon64128ctr
10.8810.9411.00tango642
10.62?12.69?12.69?T:cryptmtv3
12.6212.7512.81T:simon128128ctr
12.7512.8112.88T:aes128estream
13.2513.4414.00T:lexv2
13.3813.4413.50xsalsa20
13.9414.2514.38T:nlsv2
14.4414.4414.62T:simon128256ctr
20.4420.5620.75T:aes256estream
21.9422.1922.38T:aes192ctr
33.25?33.56?37.19?T:sosemanuk
45.8146.1947.88T:tpy6
64.3164.7568.72T:panama
89.6990.5091.62T:ocelot1
90.5690.8191.38T:ocelot2
97.5098.1999.88T:tpypy
98.69101.06102.38T:tpy
123.25123.69124.31T:amastrid
203.38204.25205.12T:hc128
541.50542.06542.81T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
17.5018.0018.50T:speck6496ctr
18.0018.0018.50T:speck64128ctr
21.0021.0022.00T:speck128192ctr
22.0022.5023.00T:speck128128ctr
21.50?23.00?24.50?T:speck128256ctr
29.0029.5029.50T:aes128ctr
33.5034.0034.00chacha8
34.5035.0036.50salsa208
37.0037.5038.00aes256ctr
44.5045.0045.50T:simon6496ctr
47.0047.5048.00chacha12
48.0048.5049.00salsa2012
48.5049.0049.50T:trivium
52.0052.5055.00T:rabbit
55.0055.5056.00T:aes128estream
55.5056.0056.50T:simon64128ctr
66.5067.0067.50chacha20
68.0068.5068.50salsa20
68.5069.5071.50T:snow20
72.5073.0073.50T:simon128128ctr
76.5077.0077.50T:nlsv2
63.00?79.50?80.00?T:cryptmtv3
78.5079.5080.00T:lexv2
80.0080.5081.50T:aes256estream
83.5084.0084.50tango642
85.5086.5088.00T:simon128256ctr
117.50119.00119.50xsalsa20
176.50178.00179.00T:aes192ctr
265.50267.50280.50T:sosemanuk
350.50353.00361.00T:tpy6
503.00508.00536.50T:panama
593.00599.50603.50T:ocelot1
594.50600.50606.50T:ocelot2
756.00764.50786.00T:tpypy
780.00788.50835.00T:tpy
813.50825.50835.00T:amastrid
1630.501636.501652.50T:hc128
4336.504342.504346.50T:hc256