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 (b06a2-20); 2024 Intel Core 5 210H, E cores; 4 x 1600MHz; freshwrap,little, supercop-20260627

[Page version: 20260712 20:44: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.43?0.51?0.59?T:aes128ctr
0.580.590.59aes256ctr
0.570.600.62T:aes192ctr
0.690.710.73tango642
0.930.940.95chacha8
1.131.151.15salsa208
1.14?1.28?1.32?T:hc128
1.291.301.31chacha12
1.16?1.30?1.43?T:tpy
1.631.651.67salsa2012
1.641.701.82T:tpy6
1.801.851.89T:hc256
1.771.871.92T:nlsv2
1.981.992.01T:speck6496ctr
1.971.992.12T:snow20
2.002.012.02chacha20
1.972.062.12T:tpypy
2.062.072.09T:speck64128ctr
2.14?2.18?2.41?T:panama
2.212.222.23T:cryptmtv3
2.312.322.34T:sosemanuk
2.402.422.44T:speck128128ctr
2.492.492.51T:speck128192ctr
2.562.572.58T:speck128256ctr
2.602.622.64salsa20
2.632.642.66xsalsa20
2.682.742.78T:rabbit
2.872.892.90T:simon6496ctr
2.983.013.03T:simon64128ctr
3.693.723.75T:lexv2
4.304.314.33T:simon128128ctr
4.534.554.56T:simon128256ctr
7.497.507.51T:aes128estream
11.3711.3911.49T:aes256estream
15.4015.9316.17T:ocelot1
18.2718.7819.46T:ocelot2
22.9523.1823.90T:trivium
26.1027.1028.44T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.47?0.51?0.57?T:aes128ctr
0.600.600.60aes256ctr
0.820.830.85T:aes192ctr
0.850.850.86tango642
0.940.940.95chacha8
1.151.161.16salsa208
1.301.311.31chacha12
1.651.661.67salsa2012
1.891.951.98T:nlsv2
2.022.022.03T:speck6496ctr
2.022.022.03chacha20
2.062.072.17T:snow20
2.102.102.12T:speck64128ctr
2.232.262.32T:tpy6
2.402.432.51T:tpy
2.462.472.48T:speck128128ctr
2.532.542.55T:sosemanuk
2.542.542.55T:speck128192ctr
2.612.622.63T:speck128256ctr
2.632.642.64salsa20
2.742.752.76xsalsa20
2.772.782.78T:cryptmtv3
2.782.822.83T:rabbit
2.832.853.02T:panama
3.023.033.03T:simon6496ctr
3.113.123.14T:tpypy
3.183.203.21T:simon64128ctr
3.663.703.71T:hc128
3.813.823.84T:lexv2
4.504.514.51T:simon128128ctr
4.844.854.86T:simon128256ctr
7.547.547.55T:aes128estream
8.118.138.14T:hc256
11.4711.4811.49T:aes256estream
16.5816.8916.97T:ocelot1
19.6619.9720.43T:ocelot2
23.8423.9924.50T:trivium
27.8628.4829.43T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.49?0.50?0.57?T:aes128ctr
0.620.620.64aes256ctr
0.950.960.96chacha8
1.061.071.08tango642
1.171.171.19salsa208
1.201.211.23T:aes192ctr
1.321.321.33chacha12
1.651.671.68salsa2012
2.032.042.05chacha20
2.072.072.08T:speck6496ctr
2.112.142.19T:nlsv2
2.152.152.16T:speck64128ctr
2.192.202.23T:snow20
2.542.542.55T:speck128128ctr
2.622.622.64T:speck128192ctr
2.652.662.69salsa20
2.702.702.71T:speck128256ctr
2.882.902.93xsalsa20
2.892.912.95T:rabbit
2.942.952.97T:sosemanuk
3.093.153.19T:tpy6
3.233.243.26T:simon6496ctr
3.493.503.52T:simon64128ctr
3.943.963.97T:panama
3.973.994.01T:lexv2
4.184.194.20T:cryptmtv3
4.344.674.71T:tpy
4.804.854.89T:tpypy
4.834.854.86T:simon128128ctr
5.355.365.38T:simon128256ctr
7.617.627.63T:aes128estream
7.647.687.86T:hc128
11.3611.6411.67T:aes256estream
18.5018.6318.91T:ocelot1
18.5518.6518.72T:hc256
21.7021.7721.95T:ocelot2
25.2125.2625.31T:trivium
30.1930.2530.33T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.610.640.65T:aes128ctr
0.880.890.92aes256ctr
1.071.091.10chacha8
1.361.381.40salsa208
1.511.531.55chacha12
1.751.791.83tango642
1.911.931.96salsa2012
2.252.262.27T:speck6496ctr
2.332.352.37chacha20
2.342.352.36T:speck64128ctr
2.342.452.47T:aes192ctr
2.472.512.54T:snow20
2.792.802.83T:speck128128ctr
2.792.842.90T:nlsv2
2.882.892.91T:speck128192ctr
2.972.983.00T:speck128256ctr
3.043.073.09salsa20
3.243.303.32T:rabbit
3.683.713.73xsalsa20
3.994.014.03T:sosemanuk
4.374.384.44T:lexv2
4.364.394.41T:simon6496ctr
4.824.834.85T:cryptmtv3
4.974.995.02T:simon64128ctr
5.535.755.87T:tpy6
6.636.666.73T:simon128128ctr
6.946.966.98T:panama
7.817.837.86T:aes128estream
9.10?9.14?10.14?T:tpy
9.289.339.37T:simon128256ctr
9.579.619.65T:tpypy
11.6911.7512.08T:aes256estream
18.6018.9819.04T:hc128
23.4023.6124.18T:ocelot1
26.8627.0727.88T:ocelot2
28.8629.0429.24T:trivium
35.1036.3036.37T:amastrid
45.3546.1146.43T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.80?1.85?2.24?T:aes128ctr
2.332.372.43chacha8
2.51?3.06?3.62?salsa208
3.273.313.37chacha12
3.333.373.65aes256ctr
3.723.803.86T:speck6496ctr
4.004.094.32T:speck64128ctr
4.084.184.33salsa2012
5.085.115.17chacha20
5.825.946.10T:speck128128ctr
6.016.066.12T:snow20
6.066.146.23T:speck128192ctr
6.296.346.62T:speck128256ctr
6.266.416.71salsa20
7.157.247.48T:rabbit
8.178.248.42T:simon6496ctr
9.159.209.32T:simon64128ctr
9.679.7510.08T:lexv2
10.6110.6810.87T:aes128estream
10.7210.7810.92tango642
12.1112.2212.37xsalsa20
12.1912.2312.30T:cryptmtv3
13.5013.6213.72T:simon128128ctr
14.1815.0115.14T:nlsv2
15.0715.2215.64T:simon128256ctr
15.8515.9516.03T:sosemanuk
16.0016.1916.47T:aes192ctr
16.8116.9817.17T:aes256estream
35.1035.4835.79T:tpy6
45.0945.5846.09T:panama
67.9968.5369.12T:tpypy
70.7071.0671.51T:tpy
75.9576.2376.46T:trivium
90.0093.2695.55T:ocelot1
99.2599.78100.46T:ocelot2
98.98100.07102.05T:amastrid
156.26156.74157.54T:hc128
392.81395.09403.13T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
14.85?15.04?18.00?T:aes128ctr
16.82?17.41?19.38?T:speck64128ctr
16.96?17.45?20.38?T:speck6496ctr
20.7721.1022.93chacha8
23.65?24.15?27.11?T:speck128128ctr
22.98?24.46?27.67?T:speck128256ctr
22.71?26.44?29.39?T:speck128192ctr
26.6626.9728.24aes256ctr
28.2528.3928.78salsa208
28.2828.6429.16chacha12
37.7138.4239.47T:simon6496ctr
42.6743.3346.38T:rabbit
42.9843.3943.90chacha20
44.0244.2044.44T:aes128estream
44.7445.3145.94T:simon64128ctr
47.3047.8648.93T:snow20
49.2949.8150.95salsa2012
53.2753.9557.07T:lexv2
66.4867.0569.93T:simon128128ctr
66.8367.3069.01salsa20
67.5170.4472.47T:aes256estream
75.4176.1576.69T:cryptmtv3
76.0776.6977.66T:simon128256ctr
76.8877.4278.18T:nlsv2
81.3982.0783.98tango642
111.83113.04116.04xsalsa20
127.04127.97129.01T:sosemanuk
127.40128.55133.04T:aes192ctr
271.24273.04277.12T:tpy6
351.44355.22361.09T:panama
446.02448.24453.65T:trivium
524.34530.93534.62T:tpypy
571.77581.60588.03T:tpy
624.71643.62677.99T:ocelot2
643.38650.91687.22T:ocelot1
677.02687.93700.38T:amastrid
1252.511254.751258.49T:hc128
3122.503194.173254.80T:hc256