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; Silvermont (406c4); 2016 Intel Atom x5-Z8350; 4 x 1440MHz; cherry, supercop-20240909

[Page version: 20241006 02:11:59]

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, the median of many speed measurements, the third quartile of many speed measurements, and the name of the primitive. Measurements with large variance 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
2.022.032.05tango642
2.322.362.39chacha8
3.093.103.11salsa208
3.333.333.34chacha12
3.543.553.55T:aes128ctr
3.813.813.82T:cryptmtv3
4.184.194.19T:aes192ctr
4.424.434.43salsa2012
4.744.764.78T:hc128
4.834.844.87T:aes256ctr
5.255.265.37chacha20
5.365.375.39T:nlsv2
5.605.615.63T:sosemanuk
6.036.216.34T:tpy
6.246.306.40T:trivium
6.316.486.56T:tpy6
6.646.666.68T:panama
6.706.706.72aes256ctr
6.846.856.85xsalsa20
6.846.856.86salsa20
6.636.886.92T:hc256
6.936.946.96T:rabbit
7.207.227.23T:snow20
8.538.568.57T:lexv2
9.459.509.61T:tpypy
10.0610.0710.07T:speck6496ctr
10.4310.4310.44T:speck64128ctr
14.8314.9614.98T:aes128estream
15.2315.4515.49T:simon64128ctr
16.2616.2616.26T:speck128128ctr
16.7516.7516.75T:speck128192ctr
17.2417.2417.24T:speck128256ctr
17.9617.9817.99T:simon6496ctr
24.1024.1324.17T:simon128128ctr
24.3724.5424.78T:aes256estream
25.3625.5125.83T:simon128256ctr
42.9042.9243.00T:ocelot1
46.5147.0247.20T:ocelot2
83.1985.6086.82T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
2.412.422.43tango642
2.422.432.45chacha8
3.133.143.14salsa208
3.383.383.39chacha12
3.893.893.90T:aes128ctr
4.404.404.40T:cryptmtv3
4.464.474.47salsa2012
4.544.554.55T:aes192ctr
5.195.195.22T:aes256ctr
5.325.335.41chacha20
5.715.715.72T:nlsv2
6.066.066.07T:sosemanuk
6.526.576.63T:trivium
6.766.766.78aes256ctr
6.876.886.88salsa20
7.107.107.10xsalsa20
7.167.177.18T:rabbit
7.377.387.39T:snow20
7.607.717.74T:tpy6
8.598.608.61T:panama
8.788.808.80T:lexv2
8.788.808.89T:tpy
10.1410.1410.15T:speck6496ctr
10.5110.5110.52T:speck64128ctr
12.0012.0212.04T:tpypy
13.1413.1413.15T:hc128
14.9715.0615.07T:aes128estream
16.4016.4016.40T:speck128128ctr
16.4516.4716.48T:simon64128ctr
16.8916.8916.89T:speck128192ctr
17.3917.3917.39T:speck128256ctr
18.5718.5718.58T:simon6496ctr
24.6624.7824.94T:aes256estream
25.1225.1225.14T:simon128128ctr
27.4527.5127.72T:simon128256ctr
29.4129.5729.59T:hc256
45.4745.4745.52T:ocelot1
49.0149.3449.45T:ocelot2
87.1988.8489.60T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
2.492.502.54chacha8
3.043.063.07tango642
3.193.203.20salsa208
3.473.473.48chacha12
4.464.464.47T:aes128ctr
4.534.534.54salsa2012
5.135.145.14T:aes192ctr
5.445.445.45chacha20
5.785.795.81T:aes256ctr
6.216.216.22T:cryptmtv3
6.426.426.43T:nlsv2
6.886.896.89aes256ctr
6.916.916.91salsa20
6.946.957.04T:trivium
6.916.956.97T:sosemanuk
7.507.507.51xsalsa20
7.527.547.55T:rabbit
7.607.607.63T:snow20
9.219.229.22T:lexv2
9.649.819.84T:tpy6
10.2710.2710.27T:speck6496ctr
10.6410.6410.65T:speck64128ctr
11.8111.8711.90T:panama
13.0913.1113.39T:tpy
15.2015.2215.23T:aes128estream
16.0716.2116.23T:tpypy
16.6416.6416.64T:speck128128ctr
17.1417.1417.14T:speck128192ctr
17.6317.6317.63T:speck128256ctr
18.0518.1118.34T:simon64128ctr
19.5019.5519.57T:simon6496ctr
25.2325.2525.31T:aes256estream
26.7326.7426.79T:simon128128ctr
27.1127.1127.12T:hc128
30.8230.9231.03T:simon128256ctr
49.6849.7649.81T:ocelot1
53.0153.0353.05T:ocelot2
67.2767.3067.35T:hc256
90.0092.1896.05T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
2.682.692.73chacha8
3.493.503.50salsa208
3.743.783.92chacha12
4.744.794.82tango642
4.814.814.82salsa2012
5.835.835.86chacha20
5.985.996.04T:aes128ctr
6.706.736.79T:aes192ctr
6.826.836.85T:cryptmtv3
7.057.067.07salsa20
7.347.367.49T:aes256ctr
7.907.937.95aes256ctr
8.118.158.15T:trivium
8.218.228.24T:nlsv2
8.408.448.54T:snow20
8.558.558.55T:rabbit
8.628.638.65xsalsa20
9.149.149.15T:sosemanuk
10.2610.2810.30T:lexv2
10.4110.4110.45T:speck6496ctr
10.8010.8010.82T:speck64128ctr
15.1515.2415.33T:tpy6
15.6815.7015.72T:aes128estream
17.3717.3717.38T:speck128128ctr
17.8817.8817.90T:speck128192ctr
18.3718.3718.37T:speck128256ctr
20.3520.4420.51T:panama
23.1923.2523.86T:simon6496ctr
24.6024.6725.48T:tpy
25.9025.9525.98T:aes256estream
26.9927.3827.48T:tpypy
30.3730.6031.77T:simon64128ctr
39.7940.1940.65T:simon128128ctr
60.6660.6660.79T:ocelot1
64.0364.1264.22T:ocelot2
64.3864.4564.47T:hc128
65.1265.9466.79T:simon128256ctr
101.41102.87105.64T:amastrid
168.35168.38168.59T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.913.944.05chacha8
5.195.285.38chacha12
6.196.206.25salsa208
7.447.447.52salsa2012
7.667.667.70chacha20
8.488.508.53salsa20
12.2012.2012.22T:speck6496ctr
12.6912.6912.75T:speck64128ctr
17.0917.1617.44aes256ctr
18.4418.6118.73T:cryptmtv3
18.6618.6718.80T:snow20
21.3821.3821.38T:rabbit
21.5321.5921.66T:aes128estream
22.1222.1222.12T:trivium
22.6622.7022.75xsalsa20
23.9123.9523.97T:lexv2
25.4225.4525.56T:aes128ctr
25.8025.8025.81T:speck128128ctr
26.3826.3826.42T:speck128192ctr
26.6426.7527.00T:aes192ctr
26.4226.9127.11tango642
26.9426.9426.94T:speck128256ctr
27.2827.4527.58T:aes256ctr
27.9527.9528.00T:simon6496ctr
33.0833.1133.11T:simon64128ctr
33.9134.0834.33T:aes256estream
34.1634.2534.34T:nlsv2
34.3034.3034.39T:sosemanuk
52.6152.6152.62T:simon128128ctr
55.5355.5355.53T:simon128256ctr
85.6486.0286.80T:tpy6
129.34129.62130.11T:panama
168.45170.44170.95T:tpypy
171.84172.23179.22T:tpy
202.00202.19203.34T:ocelot1
205.23205.25205.34T:ocelot2
261.89268.48269.59T:amastrid
541.12542.12542.77T:hc128
1462.081462.751465.19T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
40.5040.5040.62T:speck6496ctr
41.5041.5041.50T:speck64128ctr
41.3841.7542.25chacha8
49.7549.7550.62chacha12
49.6249.8850.38T:speck128256ctr
52.2552.2555.00T:speck128128ctr
51.7553.5053.50T:speck128192ctr
71.0071.2572.12salsa208
72.8873.2573.38chacha20
83.1283.2583.75salsa20
94.6294.6295.38salsa2012
96.1296.6297.25T:aes128estream
102.38102.75102.75T:simon6496ctr
102.88103.50103.50T:simon64128ctr
123.38123.62125.25T:aes256estream
124.12125.00126.50T:cryptmtv3
131.00131.00131.38T:trivium
131.50131.50131.50T:rabbit
137.50137.50137.50T:lexv2
140.50140.88141.25aes256ctr
144.62145.62149.75T:simon128128ctr
144.25147.12149.62T:snow20
147.62149.12155.62T:simon128256ctr
182.00182.38183.12T:aes128ctr
185.25186.38186.88T:nlsv2
188.75189.38190.00T:aes192ctr
193.25195.50196.88T:aes256ctr
195.50195.62196.38xsalsa20
195.88199.88202.25tango642
267.38267.50268.75T:sosemanuk
641.62645.88651.00T:tpy6
1016.251034.881042.12T:panama
1277.121299.001300.88T:tpypy
1312.621314.751316.25T:ocelot2
1319.001320.751323.38T:ocelot1
1339.621347.751402.75T:tpy
1727.251729.751737.12T:amastrid
4326.004333.124334.88T:hc128
11694.0011700.0011724.38T:hc256