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; Coffee Lake (806ea); 2018 Intel Core i3-8109U; 2 x 3000MHz; like, supercop-20260217

[Page version: 20260328 06:51:31]

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 (or StQ1 starting with supercop-20260214), the median of many speed measurements (or StQ2 starting with supercop-20260214), the third quartile of many speed measurements (or StQ3 starting with supercop-20260214), and the name of the primitive. Measurements with large interquartile range (or stabilized interquartile range) 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.38?0.53?1.07?chacha8
0.600.610.62salsa208
0.620.630.63T:aes128ctr
0.690.700.71tango642
-0.20?0.72?0.75?T:aes192ctr
0.720.730.74chacha12
0.860.870.87salsa2012
0.880.880.88aes256ctr
1.001.001.01T:speck6496ctr
1.041.041.05T:speck64128ctr
1.131.141.16chacha20
1.201.211.23T:speck128128ctr
1.251.251.26T:speck128192ctr
1.281.291.30T:speck128256ctr
1.361.381.40salsa20
1.351.381.40xsalsa20
1.481.491.50T:simon6496ctr
1.541.551.56T:simon64128ctr
1.671.721.76T:tpy
1.801.821.85T:hc128
1.821.831.85T:sosemanuk
1.941.951.95T:trivium
1.971.981.99T:nlsv2
1.942.052.13T:tpy6
2.192.202.22T:simon128128ctr
2.202.232.27T:hc256
2.322.332.35T:simon128256ctr
2.542.562.57T:cryptmtv3
2.652.702.74T:tpypy
2.742.772.79T:snow20
2.772.792.80T:rabbit
2.842.862.89T:panama
4.074.094.10T:lexv2
8.338.358.37T:aes128estream
12.6912.7312.75T:aes256estream
16.8816.9416.99T:ocelot1
18.0918.1518.20T:ocelot2
31.2131.5132.51T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.54?0.55?0.96?chacha8
0.630.630.64salsa208
0.680.680.68T:aes128ctr
0.750.750.76chacha12
0.850.860.86tango642
0.880.890.89salsa2012
0.940.940.94aes256ctr
1.041.041.05T:speck6496ctr
1.071.081.09T:speck64128ctr
1.091.091.10T:aes192ctr
1.161.161.17chacha20
1.261.271.27T:speck128128ctr
1.291.291.30T:speck128192ctr
1.341.341.35T:speck128256ctr
1.391.401.41salsa20
1.481.501.51xsalsa20
1.721.721.72T:simon6496ctr
1.911.921.92T:simon64128ctr
2.032.032.03T:trivium
2.112.122.13T:nlsv2
2.322.332.34T:sosemanuk
2.462.462.47T:simon128128ctr
2.542.602.64T:tpy6
2.772.772.78T:simon128256ctr
2.862.872.88T:snow20
2.872.882.89T:rabbit
3.033.043.04T:cryptmtv3
3.063.083.09T:tpy
3.773.783.79T:panama
4.004.034.05T:tpypy
4.214.224.23T:lexv2
4.684.694.70T:hc128
8.418.428.43T:aes128estream
9.689.699.71T:hc256
12.8612.8712.88T:aes256estream
17.8617.8917.91T:ocelot1
19.0819.1019.12T:ocelot2
32.9933.1533.74T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.58?0.59?0.99?chacha8
0.660.670.68salsa208
0.760.760.77T:aes128ctr
0.780.790.80chacha12
0.910.920.93salsa2012
1.041.041.05aes256ctr
1.101.101.11T:speck6496ctr
1.111.121.14tango642
1.141.141.14T:speck64128ctr
1.191.201.21chacha20
1.321.331.34T:speck128128ctr
1.361.371.37T:speck128192ctr
1.401.401.42T:speck128256ctr
1.421.441.45salsa20
1.611.641.69T:aes192ctr
1.671.681.70xsalsa20
2.102.102.11T:simon6496ctr
2.162.162.17T:trivium
2.412.422.43T:nlsv2
2.512.522.53T:simon64128ctr
2.872.882.89T:simon128128ctr
3.003.023.04T:rabbit
3.023.043.07T:snow20
3.193.203.22T:sosemanuk
3.483.493.52T:simon128256ctr
3.473.533.58T:tpy6
4.444.444.45T:cryptmtv3
4.434.454.47T:lexv2
5.295.305.33T:panama
5.295.305.32T:tpy
6.026.086.23T:tpypy
8.518.538.54T:aes128estream
9.419.439.45T:hc128
13.0613.1013.12T:aes256estream
19.4619.5419.62T:ocelot1
20.6520.7020.76T:ocelot2
21.9822.1322.17T:hc256
36.1036.2236.34T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.81?0.85?1.25?chacha8
0.930.950.96salsa208
1.061.061.07T:aes128ctr
1.091.101.12chacha12
1.261.271.29salsa2012
1.351.361.38T:speck6496ctr
1.391.401.41T:speck64128ctr
1.421.421.42aes256ctr
1.601.611.64T:speck128128ctr
1.651.661.66T:speck128192ctr
1.651.671.70chacha20
1.691.701.73T:speck128256ctr
1.811.831.86tango642
1.941.961.98salsa20
2.582.592.62T:trivium
2.652.672.69xsalsa20
3.003.023.06T:aes192ctr
3.163.183.21T:nlsv2
3.283.303.32T:simon64128ctr
3.413.443.48T:rabbit
3.433.443.49T:snow20
3.703.713.73T:simon6496ctr
4.814.854.86T:cryptmtv3
4.934.944.96T:simon128128ctr
5.065.095.12T:lexv2
5.345.375.41T:simon128256ctr
5.535.565.58T:sosemanuk
6.126.226.31T:tpy6
8.838.858.89T:aes128estream
9.339.369.41T:panama
11.4111.4611.53T:tpy
12.1112.2112.30T:tpypy
13.6613.7013.76T:aes256estream
22.1622.2422.33T:hc128
23.6523.7223.79T:ocelot1
24.8424.9025.00T:ocelot2
40.4041.2742.11T:amastrid
54.6654.8155.27T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.213.243.27chacha8
3.743.773.80salsa208
3.994.034.14T:speck64128ctr
3.944.064.08T:speck6496ctr
4.134.174.19chacha12
4.484.504.59T:speck128128ctr
4.534.564.58T:aes128ctr
4.584.634.71T:speck128192ctr
4.674.744.94T:speck128256ctr
4.794.824.87salsa2012
5.765.775.81aes256ctr
5.955.986.01chacha20
6.997.057.09salsa20
7.467.497.57T:simon6496ctr
8.038.128.22T:trivium
8.268.318.49T:rabbit
8.768.889.01T:snow20
8.838.919.02T:simon64128ctr
10.7110.8211.04tango642
11.1711.4311.53T:cryptmtv3
12.5112.5812.69T:aes128estream
12.7812.8913.00T:lexv2
12.9013.0413.16T:simon128128ctr
13.1113.2013.34xsalsa20
14.7914.9715.18T:simon128256ctr
14.9014.9815.07T:nlsv2
19.6019.9120.32T:aes256estream
20.9821.1321.47T:aes192ctr
32.0732.2032.46T:sosemanuk
38.8239.0939.57T:tpy6
60.6860.9161.44T:panama
76.1476.8277.71T:ocelot1
78.4879.1480.05T:ocelot2
83.7988.1088.38T:tpypy
87.6489.0990.84T:tpy
116.15117.48118.84T:amastrid
185.47186.09186.51T:hc128
473.90478.54479.47T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
21.77?22.26?24.79?T:speck6496ctr
22.0822.4722.88T:speck64128ctr
24.9325.2526.62T:speck128192ctr
26.03?26.70?29.27?T:speck128128ctr
25.78?27.96?29.58?T:speck128256ctr
35.3335.4735.82T:aes128ctr
36.1836.3236.62chacha8
40.0240.3640.72salsa208
44.6744.7845.25aes256ctr
46.0646.3146.45chacha12
50.2650.4151.66T:rabbit
50.1150.4351.05T:simon6496ctr
51.0451.5452.22T:trivium
58.4759.0159.46T:aes128estream
59.2459.7760.11salsa2012
61.3161.6962.30T:simon64128ctr
63.6064.4565.42salsa20
65.8166.1866.64chacha20
68.7769.9571.42T:snow20
67.6170.5271.02T:cryptmtv3
76.6477.4578.32T:lexv2
78.09?78.86?90.25?T:simon128128ctr
80.9281.8083.24T:nlsv2
81.7883.0387.86T:aes256estream
81.9783.0686.23tango642
90.0090.9791.54T:simon128256ctr
112.54113.81114.84xsalsa20
167.15167.83170.14T:aes192ctr
256.02257.03258.92T:sosemanuk
300.30304.29307.60T:tpy6
476.18477.66482.05T:panama
492.09498.82505.41T:ocelot2
506.15512.02518.01T:ocelot1
650.45675.30691.53T:tpypy
687.11?693.71?818.88?T:tpy
774.67781.58788.33T:amastrid
1485.421489.281494.74T:hc128
3798.703811.483820.26T:hc256