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; Crestmont (a06a4-20); 2023 Intel Core Ultra 5 125H, E cores; 8 x 700MHz; meteor,little, supercop-20261004

[Page version: 20261017 17:06:16]

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.470.480.49T:aes128ctr
0.540.560.58T:aes192ctr
0.560.570.57aes256ctr
0.710.720.74tango642
0.900.920.93chacha8
1.111.121.13salsa208
1.12?1.22?1.26?T:hc128
1.261.281.30chacha12
1.311.351.40T:tpy
1.591.611.62salsa2012
1.56?1.68?1.79?T:tpy6
1.54?1.73?1.84?T:hc256
1.711.821.89T:nlsv2
1.971.971.98T:speck6496ctr
1.971.992.01chacha20
1.982.032.09T:tpypy
2.042.042.05T:speck64128ctr
2.042.062.14T:snow20
2.022.152.22T:panama
2.162.172.18T:cryptmtv3
2.292.302.32T:sosemanuk
2.402.412.42T:speck128128ctr
2.472.472.48T:speck128192ctr
2.532.552.57xsalsa20
2.542.552.55T:speck128256ctr
2.542.562.58salsa20
2.742.752.77T:simon6496ctr
2.832.852.88T:rabbit
2.872.882.89T:simon64128ctr
3.583.593.61T:lexv2
4.204.224.23T:simon128128ctr
4.424.454.62T:simon128256ctr
7.237.377.40T:aes128estream
10.8210.8810.91T:aes256estream
12.5813.3613.84T:ocelot1
14.1214.5714.85T:ocelot2
24.6024.8024.92T:trivium
24.6824.8825.96T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.500.500.51T:aes128ctr
0.590.590.59aes256ctr
0.790.790.80T:aes192ctr
0.860.860.87tango642
0.920.930.93chacha8
1.131.131.13salsa208
1.281.291.30chacha12
1.611.621.63salsa2012
1.871.941.96T:nlsv2
1.981.992.01chacha20
2.002.002.01T:speck6496ctr
2.072.072.08T:speck64128ctr
2.112.112.17T:snow20
2.142.192.24T:tpy6
2.452.452.46T:speck128128ctr
2.502.502.51T:sosemanuk
2.522.522.52T:speck128192ctr
2.552.572.58salsa20
2.592.592.60T:speck128256ctr
2.642.652.66xsalsa20
2.672.682.68T:cryptmtv3
2.672.682.70T:tpy
2.722.782.82T:panama
2.892.902.90T:simon6496ctr
2.892.902.91T:rabbit
3.063.063.07T:simon64128ctr
3.053.073.10T:tpypy
3.513.533.55T:hc128
3.703.703.71T:lexv2
4.384.404.40T:simon128128ctr
4.714.734.86T:simon128256ctr
7.347.447.45T:aes128estream
7.827.927.94T:hc256
10.9510.9710.98T:aes256estream
14.1214.6814.95T:ocelot1
15.5015.8115.97T:ocelot2
25.5625.6725.74T:trivium
25.9526.0826.75T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.530.530.54T:aes128ctr
0.610.610.62aes256ctr
0.930.940.95chacha8
1.071.081.12tango642
1.131.141.16salsa208
1.151.161.18T:aes192ctr
1.291.301.31chacha12
1.611.631.64salsa2012
2.002.022.03chacha20
2.052.052.05T:speck6496ctr
2.132.132.13T:speck64128ctr
2.102.212.24T:nlsv2
2.182.262.29T:snow20
2.522.522.53T:speck128128ctr
2.562.582.60salsa20
2.592.602.60T:speck128192ctr
2.672.682.68T:speck128256ctr
2.822.832.84xsalsa20
2.882.922.93T:sosemanuk
2.923.013.03T:rabbit
3.063.113.14T:tpy6
3.123.133.14T:simon6496ctr
3.383.393.40T:simon64128ctr
3.763.823.92T:panama
3.883.893.91T:lexv2
3.943.953.96T:cryptmtv3
4.684.694.70T:simon128128ctr
4.754.784.85T:tpypy
4.844.884.94T:tpy
5.195.205.21T:simon128256ctr
7.40?7.51?8.28?T:hc128
7.577.597.61T:aes128estream
11.0911.1311.20T:aes256estream
16.8116.8716.97T:ocelot1
17.5717.8218.06T:ocelot2
17.9418.3818.41T:hc256
27.0627.1727.24T:trivium
27.7827.9428.31T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.61?0.63?0.69?T:aes128ctr
0.870.880.91aes256ctr
1.051.061.07chacha8
1.321.351.38salsa208
1.471.491.50chacha12
1.761.771.78tango642
1.891.911.92salsa2012
2.182.192.20T:aes192ctr
2.232.242.25T:speck6496ctr
2.312.322.33T:speck64128ctr
2.312.342.35chacha20
2.412.442.47T:snow20
2.772.782.80T:speck128128ctr
2.852.852.86T:speck128192ctr
2.812.932.96T:nlsv2
2.902.942.97salsa20
2.952.962.97T:speck128256ctr
3.253.293.35T:rabbit
3.583.623.66xsalsa20
3.943.994.01T:sosemanuk
4.234.254.29T:simon6496ctr
4.384.394.42T:lexv2
4.574.604.62T:cryptmtv3
4.824.854.87T:simon64128ctr
5.105.395.48T:tpy6
6.436.456.50T:simon128128ctr
6.576.656.82T:panama
7.767.787.83T:aes128estream
9.199.219.27T:simon128256ctr
9.199.309.76T:tpypy
10.6610.7910.86T:tpy
11.5411.6111.79T:aes256estream
17.8217.9218.06T:hc128
21.7722.4523.20T:ocelot1
22.5622.8223.27T:ocelot2
30.8730.9131.23T:trivium
32.9933.1833.65T:amastrid
45.1245.7845.95T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.69?1.80?2.14?T:aes128ctr
2.352.372.40chacha8
3.033.043.30salsa208
3.303.303.40aes256ctr
3.283.323.36chacha12
3.733.864.09T:speck6496ctr
4.024.064.08salsa2012
3.884.064.20T:speck64128ctr
5.075.145.21chacha20
5.735.815.90T:speck128128ctr
5.805.865.95T:snow20
6.046.096.16T:speck128192ctr
6.186.206.22salsa20
6.316.366.41T:speck128256ctr
7.047.157.27T:rabbit
8.008.138.29T:simon6496ctr
9.059.149.34T:simon64128ctr
10.3910.4710.58tango642
10.5010.5910.77T:lexv2
10.4810.6210.76T:aes128estream
11.5911.7211.76T:cryptmtv3
11.9612.1112.24xsalsa20
13.2513.3613.65T:simon128128ctr
14.1414.2215.36T:nlsv2
14.9315.0315.18T:simon128256ctr
15.3315.3515.36T:aes192ctr
15.8715.9716.07T:sosemanuk
17.3717.5517.68T:aes256estream
34.3634.7135.20T:tpy6
42.4342.7143.11T:panama
67.0267.9868.64T:tpypy
76.3877.1577.50T:tpy
81.0381.2481.63T:trivium
91.7293.5295.15T:ocelot2
91.1294.4297.88T:ocelot1
95.6198.57101.45T:amastrid
148.67?149.33?167.63?T:hc128
386.15390.41391.17T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
13.47?13.71?15.46?T:aes128ctr
16.0516.5416.93T:speck6496ctr
16.6817.1918.14T:speck64128ctr
20.5520.9221.23chacha8
22.3122.8023.60T:speck128192ctr
23.0123.5524.88T:speck128256ctr
23.90?25.94?33.26?T:speck128128ctr
25.9226.2326.86aes256ctr
28.5329.1130.09chacha12
35.4736.0337.14salsa2012
37.3338.0839.55T:simon6496ctr
42.1542.6543.41T:rabbit
42.6743.0143.51chacha20
43.8044.1144.39T:aes128estream
44.6445.1046.09T:simon64128ctr
45.4546.1946.66salsa208
45.8646.3846.75T:snow20
62.4962.8463.39T:lexv2
65.6765.9766.47T:simon128128ctr
73.0773.4273.82T:cryptmtv3
74.7575.4075.98T:simon128256ctr
75.6676.8478.07T:aes256estream
77.3378.4579.82T:nlsv2
78.2478.9579.68tango642
78.4479.0680.11salsa20
121.91122.35123.24T:aes192ctr
122.88123.78125.38xsalsa20
126.72127.75128.56T:sosemanuk
263.40264.66267.72T:tpy6
327.00331.27335.07T:panama
477.23481.44483.64T:trivium
513.80525.12534.21T:tpypy
599.41601.43616.56T:tpy
612.95648.67670.78T:ocelot1
643.19653.35682.30T:ocelot2
660.68665.29672.31T:amastrid
1189.70?1197.28?1382.11?T:hc128
3079.623086.263138.05T:hc256