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; Comet Lake (806ec); 2019 Intel Core i3-10110U; 2 x 2100MHz; cubi10, 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.530.540.55chacha8
0.590.600.61salsa208
0.620.630.63T:aes128ctr
0.720.740.76tango642
0.740.750.76chacha12
0.770.780.80T:aes192ctr
0.840.840.86salsa2012
0.880.880.88aes256ctr
1.001.001.02T:speck6496ctr
1.041.051.06T:speck64128ctr
1.161.181.20chacha20
1.231.241.25T:speck128128ctr
1.251.261.27T:speck128192ctr
1.291.291.30T:speck128256ctr
1.321.341.35xsalsa20
1.331.341.35salsa20
1.481.491.49T:simon6496ctr
1.511.541.55T:simon64128ctr
1.721.751.76T:hc128
1.831.851.87T:sosemanuk
1.941.941.95T:trivium
2.092.152.20T:tpy
2.262.282.30T:simon128128ctr
2.262.292.32T:hc256
2.372.392.40T:simon128256ctr
2.322.422.57T:tpy6
2.432.472.50T:nlsv2
2.502.522.57T:cryptmtv3
2.732.742.74T:rabbit
2.812.832.85T:snow20
2.902.922.94T:panama
2.933.013.09T:tpypy
4.054.074.10T:lexv2
8.358.378.39T:aes128estream
13.2513.2813.30T:aes256estream
16.9717.0517.12T:ocelot1
18.1118.1718.22T:ocelot2
30.6130.8731.07T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.560.560.57chacha8
0.620.620.62salsa208
0.680.680.68T:aes128ctr
0.770.770.78chacha12
0.860.860.88salsa2012
0.900.900.91tango642
0.940.940.94aes256ctr
1.041.041.05T:speck6496ctr
1.091.091.10T:aes192ctr
1.091.091.10T:speck64128ctr
1.191.201.22chacha20
1.281.281.29T:speck128128ctr
1.311.311.32T:speck128192ctr
1.341.341.34T:speck128256ctr
1.351.361.36salsa20
1.451.461.47xsalsa20
1.711.711.71T:simon6496ctr
1.891.901.91T:simon64128ctr
2.042.042.04T:trivium
2.362.362.37T:sosemanuk
2.552.552.56T:simon128128ctr
2.602.622.63T:nlsv2
2.832.832.84T:rabbit
2.862.862.87T:simon128256ctr
2.922.932.94T:snow20
3.013.013.04T:cryptmtv3
2.983.033.12T:tpy6
3.453.473.49T:tpy
3.853.863.86T:panama
4.214.224.23T:lexv2
4.464.504.55T:tpypy
4.554.554.56T:hc128
8.418.428.43T:aes128estream
9.409.419.42T:hc256
13.3813.3913.40T:aes256estream
18.4118.4518.48T:ocelot1
19.5719.6019.62T:ocelot2
32.2532.3832.45T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.590.600.60chacha8
0.650.660.66salsa208
0.770.770.77T:aes128ctr
0.800.810.81chacha12
0.900.900.91salsa2012
1.051.051.05aes256ctr
1.101.101.11T:speck6496ctr
1.151.151.17T:speck64128ctr
1.161.171.20tango642
1.231.241.25chacha20
1.351.351.36T:speck128128ctr
1.371.381.38T:speck128192ctr
1.381.391.40salsa20
1.411.421.42T:speck128256ctr
1.571.601.63T:aes192ctr
1.651.661.67xsalsa20
2.062.082.09T:simon6496ctr
2.212.212.22T:trivium
2.502.502.52T:simon64128ctr
2.902.922.95T:nlsv2
2.982.993.01T:rabbit
2.983.003.01T:simon128128ctr
3.083.103.12T:snow20
3.263.273.29T:sosemanuk
3.623.633.65T:simon128256ctr
3.933.974.03T:tpy6
4.364.384.42T:cryptmtv3
4.464.484.49T:lexv2
5.415.415.43T:panama
5.595.645.71T:tpy
6.977.037.08T:tpypy
8.508.528.53T:aes128estream
9.209.229.25T:hc128
13.5313.5713.58T:aes256estream
20.8120.8620.90T:ocelot1
21.2521.2721.31T:hc256
21.9021.9421.97T:ocelot2
34.4934.8635.02T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.830.840.85chacha8
0.930.940.96salsa208
1.061.071.08T:aes128ctr
1.111.111.12chacha12
1.251.261.27salsa2012
1.331.341.35T:speck6496ctr
1.401.411.43T:speck64128ctr
1.421.431.43aes256ctr
1.631.631.64T:speck128128ctr
1.671.681.70T:speck128192ctr
1.691.701.72chacha20
1.731.741.74T:speck128256ctr
1.921.931.94salsa20
1.89?1.94?2.85?tango642
2.632.642.65T:trivium
2.632.652.68xsalsa20
2.942.973.01T:aes192ctr
3.353.373.39T:simon64128ctr
3.373.403.43T:rabbit
3.493.523.57T:snow20
3.643.673.80T:nlsv2
3.723.733.76T:simon6496ctr
4.794.814.94T:cryptmtv3
4.864.894.92T:simon128128ctr
5.055.085.12T:lexv2
5.245.265.30T:simon128256ctr
5.685.715.75T:sosemanuk
6.566.696.90T:tpy6
8.838.878.91T:aes128estream
9.519.569.73T:panama
11.5811.6511.84T:tpy
13.7713.8913.99T:tpypy
13.9814.0214.05T:aes256estream
21.6321.7021.78T:hc128
27.0427.1427.33T:ocelot1
27.8527.9528.10T:ocelot2
40.3541.0541.45T:amastrid
52.7952.8652.95T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.263.303.34chacha8
3.673.723.76T:speck6496ctr
3.753.803.86salsa208
4.154.174.22chacha12
4.164.264.37T:speck64128ctr
4.414.524.67T:speck128128ctr
4.594.624.70T:aes128ctr
4.734.825.01T:speck128192ctr
4.804.844.92salsa2012
4.854.894.99T:speck128256ctr
5.835.885.89aes256ctr
6.016.056.09chacha20
6.927.007.09salsa20
7.958.068.25T:simon6496ctr
8.168.208.28T:trivium
8.268.328.69T:rabbit
9.139.309.48T:snow20
9.389.469.61T:simon64128ctr
10.59?10.67?12.01?T:cryptmtv3
10.8811.1011.43tango642
12.4312.5512.81T:simon128128ctr
12.5712.7012.80T:aes128estream
12.9913.3713.61T:lexv2
13.2713.4013.50xsalsa20
14.0014.1214.31T:simon128256ctr
15.3215.4015.50T:nlsv2
19.6419.7019.82T:aes256estream
20.4020.5921.07T:aes192ctr
33.4533.5633.79T:sosemanuk
40.4841.0341.36T:tpy6
61.6361.8462.34T:panama
88.6689.4690.54T:tpy
99.89100.25100.79T:tpypy
104.93106.17107.05T:ocelot1
107.37108.56109.55T:ocelot2
115.94116.54117.17T:amastrid
179.93180.29180.71T:hc128
455.58456.21456.90T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
20.21?20.54?23.95?T:speck6496ctr
26.5426.9928.42T:speck128256ctr
26.7227.5528.44T:speck128128ctr
25.67?28.15?30.66?T:speck64128ctr
26.58?28.68?31.35?T:speck128192ctr
35.2035.5336.15T:aes128ctr
39.8540.3541.05chacha8
40.4440.7941.55salsa208
45.5245.9547.19aes256ctr
46.8547.1847.79chacha12
49.7550.3353.23salsa2012
50.5751.0852.17T:rabbit
50.9351.5052.02T:simon6496ctr
52.1852.3352.60T:trivium
58.2458.8359.19T:aes128estream
61.4061.9062.42T:simon64128ctr
63.85?65.48?75.32?T:cryptmtv3
65.9466.2066.75chacha20
72.0273.7275.78T:snow20
77.8678.6879.49T:simon128128ctr
79.3679.8980.50T:aes256estream
80.1781.6483.05T:lexv2
82.4283.2184.85salsa20
82.3083.9288.04tango642
83.7584.6285.95T:nlsv2
89.0490.0392.03T:simon128256ctr
132.74133.59134.57xsalsa20
163.03164.51166.44T:aes192ctr
266.67268.09269.96T:sosemanuk
308.73313.26317.59T:tpy6
482.62483.82487.07T:panama
691.98696.65703.09T:tpy
717.09728.11744.27T:ocelot1
724.09749.99758.43T:ocelot2
780.85782.46784.46T:tpypy
773.01784.64804.17T:amastrid
1439.761442.191444.24T:hc128
3643.063648.063651.95T:hc256