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-20260627

[Page version: 20260727 21:50:26]

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.600.620.64T:aes128ctr
0.740.770.80T:aes192ctr
0.770.790.79aes256ctr
0.71?0.86?3.57?T:hc256
0.960.970.99tango642
1.241.251.27chacha8
1.511.531.55salsa208
1.52?1.63?1.80?T:hc128
1.711.731.75chacha12
2.032.122.24T:tpy
2.172.192.21salsa2012
2.512.562.71T:nlsv2
2.642.652.67T:speck6496ctr
2.682.702.72chacha20
2.742.762.80T:cryptmtv3
2.752.762.79T:speck64128ctr
2.702.822.92T:tpy6
2.802.852.88T:snow20
2.88?2.91?3.21?T:panama
3.143.153.17T:sosemanuk
3.233.243.26T:speck128128ctr
3.343.363.36T:trivium
3.353.363.38T:speck128192ctr
3.433.453.47T:speck128256ctr
3.443.463.50xsalsa20
3.453.473.50salsa20
3.523.603.91T:rabbit
3.793.843.90T:tpypy
3.873.883.90T:simon6496ctr
4.024.044.06T:simon64128ctr
4.904.924.94T:lexv2
5.825.855.87T:simon128128ctr
6.136.166.19T:simon128256ctr
9.9910.0210.06T:aes128estream
15.1315.1815.48T:aes256estream
22.1222.3923.42T:ocelot1
23.3323.5324.26T:ocelot2
37.8238.1938.78T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.640.640.65T:aes128ctr
0.810.810.81aes256ctr
1.141.151.16T:aes192ctr
1.181.191.19tango642
1.261.261.28chacha8
1.541.551.56salsa208
1.741.741.76chacha12
2.202.202.21salsa2012
2.692.692.71T:speck6496ctr
2.702.712.82T:nlsv2
2.702.722.73chacha20
2.802.812.83T:speck64128ctr
2.902.932.94T:snow20
3.303.303.32T:speck128128ctr
3.413.423.43T:speck128192ctr
3.483.493.50salsa20
3.493.493.49T:trivium
3.483.493.50T:sosemanuk
3.513.513.53T:speck128256ctr
3.533.543.56T:cryptmtv3
3.503.553.59T:tpy6
3.593.603.62xsalsa20
3.703.713.94T:rabbit
3.743.763.81T:tpy
3.803.814.04T:panama
4.064.064.07T:simon6496ctr
4.284.294.30T:simon64128ctr
4.904.915.03T:hc128
5.055.065.07T:lexv2
5.575.595.61T:tpypy
6.106.116.12T:simon128128ctr
6.556.576.58T:simon128256ctr
10.0710.0910.11T:aes128estream
10.7810.8311.91T:hc256
15.3115.3315.53T:aes256estream
23.6723.7824.44T:ocelot1
24.7424.8025.30T:ocelot2
39.6139.7439.95T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.670.680.68T:aes128ctr
0.850.850.86aes256ctr
1.281.291.30chacha8
1.491.501.52tango642
1.571.581.59salsa208
1.761.771.78chacha12
1.761.801.83T:aes192ctr
2.212.222.23salsa2012
2.732.742.76chacha20
2.762.772.78T:speck6496ctr
2.882.892.92T:speck64128ctr
2.993.033.10T:nlsv2
3.013.043.08T:snow20
3.403.403.42T:speck128128ctr
3.493.513.53salsa20
3.513.513.53T:speck128192ctr
3.613.613.63T:speck128256ctr
3.733.743.74T:trivium
3.823.843.86xsalsa20
3.873.894.12T:rabbit
4.114.124.14T:sosemanuk
4.364.374.38T:simon6496ctr
4.714.724.74T:simon64128ctr
4.604.754.87T:tpy6
5.285.305.31T:lexv2
5.315.355.54T:panama
5.365.385.40T:cryptmtv3
6.366.516.56T:tpy
6.536.566.58T:simon128128ctr
7.237.257.27T:simon128256ctr
8.348.438.48T:tpypy
10.1910.2110.24T:aes128estream
10.3010.3310.69T:hc128
15.4415.6215.65T:aes256estream
24.91?25.05?27.84?T:hc256
26.2226.4526.57T:ocelot1
26.9827.1827.26T:ocelot2
41.8942.2043.43T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.830.870.92T:aes128ctr
1.211.221.26aes256ctr
1.441.461.48chacha8
1.851.881.89salsa208
2.012.022.05chacha12
2.532.552.59salsa2012
2.532.552.58tango642
3.023.033.06T:speck6496ctr
3.143.153.18chacha20
3.193.203.23T:speck64128ctr
3.343.363.40T:aes192ctr
3.393.413.44T:snow20
3.723.743.76T:speck128128ctr
3.823.833.86T:speck128192ctr
3.833.883.94T:nlsv2
3.943.973.98T:speck128256ctr
4.004.044.06salsa20
4.314.324.38T:trivium
4.324.364.56T:rabbit
4.884.924.95xsalsa20
5.795.805.83T:sosemanuk
5.845.865.91T:lexv2
5.865.885.93T:simon6496ctr
6.426.456.49T:cryptmtv3
6.646.676.72T:simon64128ctr
7.908.208.35T:tpy6
8.958.999.06T:simon128128ctr
9.349.369.39T:panama
10.4810.5210.56T:aes128estream
12.3412.3812.42T:simon128256ctr
13.5413.6913.88T:tpy
15.8915.9616.20T:aes256estream
15.0616.0216.22T:tpypy
24.8724.9825.89T:hc128
31.7532.4232.65T:ocelot1
32.7433.3033.57T:ocelot2
48.5849.0949.52T:amastrid
61.9862.3362.76T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.67?2.72?3.08?T:aes128ctr
3.223.263.41chacha8
4.02?4.09?4.51?salsa208
4.484.544.75chacha12
4.764.794.92aes256ctr
5.37?5.52?6.21?salsa2012
5.805.846.01T:speck64128ctr
6.146.346.54T:speck6496ctr
6.936.987.10chacha20
7.357.607.84T:speck128128ctr
7.767.858.14T:speck128192ctr
8.108.198.49T:speck128256ctr
8.508.568.64T:snow20
8.928.969.02salsa20
9.569.729.90T:rabbit
10.7010.7710.94T:simon6496ctr
11.9011.9912.12T:simon64128ctr
12.0712.1012.22T:trivium
13.2113.3013.55T:lexv2
14.4514.5414.62T:aes128estream
15.5215.6116.39tango642
16.3916.5316.70T:cryptmtv3
16.5516.7116.84xsalsa20
17.5117.6017.92T:nlsv2
18.3218.4718.63T:simon128128ctr
19.9320.0920.51T:simon128256ctr
20.4820.9821.88T:aes256estream
23.7123.7824.07T:aes192ctr
24.5724.6924.96T:sosemanuk
49.5950.8051.77T:tpy6
60.3560.6261.15T:panama
103.90104.51105.11T:tpy
103.53107.29109.06T:ocelot1
106.93110.48112.09T:ocelot2
101.52?113.27?113.77?T:tpypy
141.08142.74144.56T:amastrid
211.06211.48212.09T:hc128
538.27539.33543.34T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
21.9322.1223.80T:aes128ctr
25.27?25.60?28.19?T:speck64128ctr
26.6126.7927.12T:speck6496ctr
28.5328.8829.20chacha8
31.27?31.76?37.07?T:speck128192ctr
32.2932.6933.80T:speck128256ctr
32.6032.8535.73T:speck128128ctr
38.3438.5838.96chacha12
39.0139.1239.61aes256ctr
48.9149.8951.01T:simon6496ctr
51.6652.1654.07salsa208
57.7558.1459.02chacha20
57.7458.1558.90T:simon64128ctr
57.8858.5559.60T:rabbit
62.1662.4862.66T:aes128estream
62.5762.9664.42salsa2012
68.1468.4469.07T:snow20
72.2172.3272.73T:trivium
73.9474.5277.25T:lexv2
77.0779.4881.85T:aes256estream
90.8991.5792.80T:nlsv2
99.78100.33100.96salsa20
98.05?107.18?113.48?T:simon128128ctr
106.83107.77109.10T:cryptmtv3
107.67110.73115.34T:simon128256ctr
118.26119.17119.70tango642
161.73162.77164.02xsalsa20
188.36189.31191.56T:aes192ctr
193.17194.00194.97T:sosemanuk
383.26388.10400.42T:tpy6
468.70470.72473.44T:panama
680.48686.71694.28T:ocelot1
680.92690.03703.12T:ocelot2
727.65740.68751.09T:tpypy
819.10822.04826.65T:tpy
926.84934.69944.46T:amastrid
1691.961700.781765.93T:hc128
4306.304317.894341.94T:hc256