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; Gracemont (906a4-20); 2022 Intel Core i3-1215U, E cores; 4 x 1600MHz; alder2,little, supercop-20260330

[Page version: 20260415 05:37:17]

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.450.460.46T:aes128ctr
0.48?0.54?0.59?T:aes192ctr
0.580.590.59aes256ctr
0.720.720.73tango642
0.930.940.95chacha8
1.131.141.16salsa208
1.09?1.22?1.80?T:hc128
1.281.301.31chacha12
1.41?1.59?2.02?T:tpy
1.611.631.64salsa2012
1.911.931.94T:nlsv2
1.971.982.00T:speck6496ctr
2.002.022.03chacha20
2.042.052.07T:cryptmtv3
2.052.062.07T:speck64128ctr
2.032.072.11T:snow20
1.90?2.08?2.24?T:tpy6
2.352.362.37T:sosemanuk
2.422.432.45T:speck128128ctr
2.502.512.51T:trivium
2.502.512.52T:speck128192ctr
2.572.582.60T:speck128256ctr
2.572.592.61xsalsa20
2.582.602.62salsa20
2.63?2.70?2.93?T:rabbit
2.722.782.83T:tpypy
2.842.882.90T:panama
0.90?2.91?3.13?T:hc256
2.892.912.94T:simon6496ctr
3.013.023.04T:simon64128ctr
3.663.693.76T:lexv2
5.925.955.97T:simon128128ctr
6.236.266.30T:simon128256ctr
7.477.497.50T:aes128estream
11.3611.3911.42T:aes256estream
22.1422.5422.90T:ocelot1
23.2223.5224.42T:ocelot2
36.8838.6540.89T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.470.470.48T:aes128ctr
0.600.600.61aes256ctr
0.880.880.88tango642
0.940.940.95chacha8
1.141.151.15salsa208
1.181.191.22T:aes192ctr
1.301.301.32chacha12
1.621.631.64salsa2012
2.012.012.03T:speck6496ctr
2.022.032.04T:nlsv2
2.022.032.04chacha20
2.092.092.10T:speck64128ctr
2.122.152.16T:snow20
2.462.472.48T:speck128128ctr
2.552.552.56T:speck128192ctr
2.602.602.60T:trivium
2.602.612.61T:sosemanuk
2.602.612.62salsa20
2.622.622.63T:speck128256ctr
2.642.642.65T:cryptmtv3
2.582.652.76T:tpy6
2.682.692.70xsalsa20
2.772.782.94T:rabbit
2.942.973.12T:tpy
3.043.053.07T:simon6496ctr
3.213.213.22T:simon64128ctr
3.69?3.77?4.20?T:hc128
3.763.793.80T:panama
3.783.793.84T:lexv2
4.064.094.12T:tpypy
6.476.486.49T:simon128128ctr
7.117.127.14T:simon128256ctr
7.537.547.55T:aes128estream
8.258.979.02T:hc256
11.4111.4211.44T:aes256estream
23.7323.8424.06T:ocelot1
24.9225.0825.56T:ocelot2
38.7240.0241.63T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.490.500.50T:aes128ctr
0.630.630.63aes256ctr
0.950.950.96chacha8
1.111.121.14tango642
1.151.161.17salsa208
1.311.321.32chacha12
1.631.641.65salsa2012
2.032.042.06chacha20
2.062.062.07T:speck6496ctr
2.152.152.16T:speck64128ctr
2.242.262.29T:nlsv2
2.252.272.34T:aes192ctr
2.252.292.30T:snow20
2.542.542.55T:speck128128ctr
2.612.622.63T:speck128192ctr
2.612.632.65salsa20
2.692.692.70T:speck128256ctr
2.772.782.78T:trivium
2.852.872.89xsalsa20
2.902.913.08T:rabbit
3.073.073.08T:sosemanuk
3.263.273.29T:simon6496ctr
3.523.533.54T:simon64128ctr
3.493.553.62T:tpy6
3.953.974.00T:lexv2
4.004.014.02T:cryptmtv3
5.305.315.32T:panama
4.91?5.36?5.56?T:tpy
6.216.256.30T:tpypy
7.357.377.38T:simon128128ctr
7.617.627.63T:aes128estream
8.01?8.07?9.06?T:hc128
8.538.558.59T:simon128256ctr
11.4811.4911.51T:aes256estream
18.4418.5618.67T:hc256
26.1226.2626.43T:ocelot1
27.0227.4227.73T:ocelot2
42.1742.7643.08T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.590.600.65T:aes128ctr
0.880.880.91aes256ctr
1.071.081.10chacha8
1.331.341.37salsa208
1.501.501.53chacha12
1.851.881.91tango642
1.881.901.91salsa2012
2.252.262.28T:speck6496ctr
2.332.352.37T:speck64128ctr
2.342.362.37chacha20
2.532.562.61T:snow20
2.782.792.81T:speck128128ctr
2.852.862.88T:speck128192ctr
2.852.882.90T:nlsv2
2.952.962.98T:speck128256ctr
2.962.993.03salsa20
3.183.193.25T:trivium
3.233.253.40T:rabbit
3.603.653.69xsalsa20
4.304.314.32T:sosemanuk
4.354.384.43T:simon6496ctr
4.364.404.46T:lexv2
4.784.804.84T:cryptmtv3
4.934.965.00T:simon64128ctr
5.065.145.36T:aes192ctr
5.956.196.26T:tpy6
7.817.837.86T:aes128estream
9.309.349.41T:panama
10.21?11.02?11.67?T:tpy
11.6511.6711.70T:aes256estream
11.7311.7711.84T:simon128128ctr
12.2312.2812.41T:tpypy
12.7512.8112.88T:simon128256ctr
19.35?19.41?22.15?T:hc128
31.6531.9232.40T:ocelot1
32.5032.6132.90T:ocelot2
45.66?46.21?51.81?T:hc256
48.0648.3749.27T:amastrid
Cycles/byte for 64 bytes
25%50%75%stream
1.77?1.85?2.09?T:aes128ctr
2.322.372.41chacha8
3.193.193.20salsa208
3.313.313.56aes256ctr
3.293.343.40chacha12
4.304.334.33salsa2012
4.404.484.68T:speck6496ctr
4.534.564.69T:speck64128ctr
5.055.105.16chacha20
5.645.775.92T:speck128128ctr
5.775.795.87T:speck128192ctr
6.066.126.21T:speck128256ctr
5.70?6.31?6.82?salsa20
6.366.446.83T:snow20
7.057.147.45T:rabbit
7.787.878.19T:simon6496ctr
8.638.658.79T:trivium
8.698.768.90T:simon64128ctr
9.719.9510.44T:lexv2
10.5810.6410.74T:aes128estream
11.3711.4411.83tango642
11.6711.7912.12xsalsa20
12.1412.2012.26T:cryptmtv3
12.7812.8412.90T:nlsv2
13.6213.6914.04T:aes256estream
18.1318.2018.60T:sosemanuk
19.7620.0520.44T:simon128128ctr
23.4023.6624.25T:simon128256ctr
38.6738.9239.48T:tpy6
41.6742.6944.56T:aes192ctr
60.1860.4160.84T:panama
71.6571.9972.28T:tpy
86.5386.8587.24T:tpypy
105.61106.15107.77T:ocelot2
107.78109.40114.52T:ocelot1
137.72139.26140.85T:amastrid
158.27159.42164.75T:hc128
400.70?406.45?457.73?T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
14.57?16.42?20.19?T:aes128ctr
18.51?18.92?21.35?T:speck64128ctr
18.45?18.98?24.09?T:speck6496ctr
20.8621.1821.95chacha8
21.86?22.40?26.29?T:speck128192ctr
22.24?22.99?27.60?T:speck128256ctr
22.96?23.32?28.43?T:speck128128ctr
26.7326.9129.62aes256ctr
28.2928.6629.74chacha12
35.5536.1237.78T:simon6496ctr
39.9640.5341.54salsa208
41.0641.3841.74T:aes256estream
41.6742.2143.21T:simon64128ctr
42.27?42.97?47.06?T:rabbit
42.7643.3144.35chacha20
44.1644.4444.84T:aes128estream
50.1150.7654.28T:snow20
50.9551.1851.48T:trivium
50.6251.6153.14salsa2012
53.6754.0156.26T:lexv2
54.1055.0856.30salsa20
65.7066.1666.95T:nlsv2
77.3677.6479.58T:cryptmtv3
86.5187.2894.30tango642
100.33101.19103.05xsalsa20
107.35109.76114.40T:simon128128ctr
110.49112.91119.61T:simon128256ctr
142.46143.06144.46T:sosemanuk
298.22300.51303.64T:tpy6
330.42334.69350.98T:aes192ctr
469.01470.98477.24T:panama
556.42559.19564.54T:tpy
560.74?570.86?670.11?T:tpypy
664.97676.75698.77T:ocelot2
706.43715.24726.31T:ocelot1
913.70929.36943.66T:amastrid
1265.021273.611296.05T:hc128
3219.033225.563246.38T:hc256