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 (906ea); 2018 Intel Xeon E-2124; 4 x 3300MHz; r24000, supercop-20260330

[Page version: 20260402 15:37:59]

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.520.520.53chacha8
0.590.600.62salsa208
0.630.630.63T:aes128ctr
0.690.690.70tango642
0.730.730.74chacha12
0.770.790.80T:aes192ctr
0.850.860.87salsa2012
0.880.880.88aes256ctr
1.001.001.01T:speck6496ctr
1.031.041.05T:speck64128ctr
1.131.141.15chacha20
1.231.231.25T:speck128128ctr
1.251.261.27T:speck128192ctr
1.291.291.30T:speck128256ctr
1.341.351.37salsa20
1.351.371.40xsalsa20
1.471.481.49T:simon6496ctr
1.531.541.54T:simon64128ctr
1.711.751.79T:tpy
1.761.811.84T:hc128
1.821.841.87T:sosemanuk
1.911.921.93T:trivium
1.921.982.04T:tpy6
1.992.002.02T:nlsv2
2.112.172.23T:simon128128ctr
2.302.332.35T:simon128256ctr
2.472.482.49T:cryptmtv3
2.412.502.58T:hc256
2.662.712.78T:tpypy
2.762.782.79T:rabbit
2.752.782.79T:snow20
2.842.862.88T:panama
4.084.104.13T:lexv2
8.328.348.37T:aes128estream
12.9713.0213.07T:aes256estream
15.9115.9916.08T:ocelot1
17.4117.5117.74T:ocelot2
28.5331.0831.40T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.540.540.54chacha8
0.620.630.64salsa208
0.680.680.68T:aes128ctr
0.750.750.76chacha12
0.850.850.85tango642
0.870.880.89salsa2012
0.940.950.95aes256ctr
1.041.041.05T:speck6496ctr
1.071.081.08T:speck64128ctr
1.131.151.15T:aes192ctr
1.161.161.17chacha20
1.271.281.28T:speck128128ctr
1.301.311.31T:speck128192ctr
1.341.341.34T:speck128256ctr
1.371.371.38salsa20
1.481.491.51xsalsa20
1.701.711.71T:simon6496ctr
1.891.891.90T:simon64128ctr
2.012.012.02T:trivium
2.132.142.14T:nlsv2
2.352.362.37T:sosemanuk
2.462.492.50T:simon128128ctr
2.552.582.60T:tpy6
2.752.762.77T:simon128256ctr
2.852.862.87T:snow20
2.872.872.88T:rabbit
2.962.962.97T:cryptmtv3
3.083.103.11T:tpy
3.793.803.81T:panama
4.024.054.09T:tpypy
4.234.244.25T:lexv2
4.584.594.61T:hc128
8.418.428.43T:aes128estream
9.709.739.76T:hc256
13.1013.1313.16T:aes256estream
17.3817.4317.47T:ocelot1
18.8318.8618.95T:ocelot2
30.6232.4332.48T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.570.570.58chacha8
0.660.670.67salsa208
0.770.780.78T:aes128ctr
0.790.800.80chacha12
0.910.920.93salsa2012
1.051.051.06aes256ctr
1.101.101.11T:speck6496ctr
1.101.101.12tango642
1.141.141.15T:speck64128ctr
1.201.201.21chacha20
1.351.351.36T:speck128128ctr
1.381.381.40T:speck128192ctr
1.411.421.42T:speck128256ctr
1.411.421.43salsa20
1.681.701.71xsalsa20
1.721.741.79T:aes192ctr
2.082.082.09T:simon6496ctr
2.182.182.19T:trivium
2.412.422.43T:nlsv2
2.492.492.50T:simon64128ctr
2.912.993.02T:simon128128ctr
2.993.013.03T:snow20
3.033.043.06T:rabbit
3.263.273.29T:sosemanuk
3.413.453.51T:tpy6
3.453.473.50T:simon128256ctr
4.274.284.29T:cryptmtv3
4.474.484.50T:lexv2
5.265.305.33T:tpy
5.345.355.37T:panama
6.216.266.32T:tpypy
8.528.548.56T:aes128estream
9.199.239.27T:hc128
13.2613.3013.33T:aes256estream
19.6719.7219.79T:ocelot1
21.0321.1821.29T:ocelot2
21.7121.8121.87T:hc256
32.9133.8234.56T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.800.810.81chacha8
0.930.950.97salsa208
1.061.061.08T:aes128ctr
1.101.101.12chacha12
1.281.291.31salsa2012
1.341.341.36T:speck6496ctr
1.381.391.41T:speck64128ctr
1.411.421.46aes256ctr
1.621.631.64T:speck128128ctr
1.671.691.72T:speck128192ctr
1.681.691.70chacha20
1.721.721.73T:speck128256ctr
1.781.791.81tango642
1.941.961.98salsa20
2.592.602.62T:trivium
2.692.712.72xsalsa20
3.143.153.16T:nlsv2
3.343.353.38T:aes192ctr
3.363.363.38T:simon64128ctr
3.403.433.48T:snow20
3.453.463.48T:rabbit
3.713.723.74T:simon6496ctr
4.704.734.74T:cryptmtv3
4.934.944.97T:simon128128ctr
5.075.105.13T:lexv2
5.335.345.37T:simon128256ctr
5.675.695.72T:sosemanuk
6.096.156.23T:tpy6
8.868.888.91T:aes128estream
9.479.509.53T:panama
11.2711.3111.40T:tpy
11.6611.9112.26T:tpypy
13.7613.8113.87T:aes256estream
21.6121.6921.85T:hc128
25.8425.9926.12T:ocelot1
27.2727.3627.45T:ocelot2
39.9740.4840.62T:amastrid
53.8153.9154.24T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.233.243.27chacha8
3.733.773.79salsa208
3.763.803.91T:speck6496ctr
3.863.904.03T:speck64128ctr
4.144.174.36chacha12
4.484.564.60T:speck128128ctr
4.574.604.65T:aes128ctr
4.664.734.85T:speck128192ctr
4.824.874.93salsa2012
4.824.925.03T:speck128256ctr
5.795.906.03aes256ctr
6.016.046.08chacha20
6.946.987.06salsa20
7.988.068.30T:simon6496ctr
8.088.148.19T:trivium
8.468.558.75T:rabbit
8.478.558.66T:snow20
9.289.389.52T:simon64128ctr
10.1110.1710.27T:cryptmtv3
10.4810.5411.03tango642
12.5512.6212.94T:aes128estream
12.6112.7412.93T:lexv2
12.9113.0213.24T:simon128128ctr
13.6013.7113.81xsalsa20
14.3214.4414.57T:nlsv2
14.9615.0315.03T:simon128256ctr
18.3918.5218.66T:aes256estream
24.0824.1824.35T:aes192ctr
33.5633.6833.94T:sosemanuk
38.3038.4838.82T:tpy6
61.9862.2362.80T:panama
88.2888.5788.73T:tpypy
88.8589.9990.40T:tpy
101.08102.12102.80T:ocelot1
104.45105.11106.08T:ocelot2
112.56113.76115.30T:amastrid
180.40180.56181.89T:hc128
464.74465.51467.73T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
20.6921.0022.89T:speck6496ctr
20.8021.1021.84T:speck64128ctr
23.08?23.23?26.41?T:speck128128ctr
24.9125.2926.41T:speck128192ctr
25.0225.5926.59T:speck128256ctr
33.6933.8434.02chacha8
35.5335.8836.22T:aes128ctr
44.6445.3946.73salsa208
45.6646.0947.23aes256ctr
49.1749.9151.09chacha12
50.9751.4152.66T:simon6496ctr
51.5751.8252.80T:rabbit
51.5851.8252.12T:trivium
53.6154.0254.49salsa2012
58.5359.0059.77T:aes128estream
59.1759.6260.79T:cryptmtv3
61.3961.7461.96T:simon64128ctr
67.5168.3069.34T:snow20
69.1769.7470.51chacha20
69.4970.2170.94T:aes256estream
71.8572.2272.68salsa20
76.0976.5577.72T:lexv2
77.0077.4979.02T:simon128128ctr
79.0679.8581.25T:nlsv2
79.6980.1184.03tango642
90.3291.0191.45T:simon128256ctr
124.44125.20125.81xsalsa20
193.32194.46195.86T:aes192ctr
268.34270.10272.17T:sosemanuk
297.29299.26304.64T:tpy6
487.73489.83494.60T:panama
689.56691.16695.07T:tpypy
689.55695.30702.35T:tpy
704.17711.02714.56T:ocelot2
717.79733.01744.76T:ocelot1
744.59748.52754.96T:amastrid
1443.601449.411454.77T:hc128
3721.303726.893748.07T:hc256