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; Airmont (406c3); 2015 Intel Pentium N3700; 4 x 1600MHz; nucnuc, 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.012.022.03tango642
2.332.342.37chacha8
3.093.093.10salsa208
3.333.333.33chacha12
3.543.543.55T:aes128ctr
4.184.184.20T:aes192ctr
4.324.324.32T:cryptmtv3
4.424.434.43salsa2012
4.744.754.76T:hc128
4.834.834.84T:aes256ctr
5.255.255.25chacha20
5.365.375.38T:nlsv2
5.615.625.63T:sosemanuk
5.966.136.30T:tpy
6.386.386.38T:trivium
6.496.506.53T:tpy6
6.636.646.65T:hc256
6.646.656.68T:panama
6.696.726.72aes256ctr
6.836.836.83xsalsa20
6.836.846.84salsa20
6.866.916.91T:rabbit
7.107.127.14T:snow20
8.548.548.55T:lexv2
9.439.479.60T:tpypy
10.0610.0710.07T:speck6496ctr
10.4310.4310.44T:speck64128ctr
14.8514.8514.86T:aes128estream
15.1115.3915.48T:simon64128ctr
16.2616.2616.26T:speck128128ctr
16.7516.7516.77T:speck128192ctr
17.2417.2417.24T:speck128256ctr
17.9517.9517.99T:simon6496ctr
24.1124.1324.16T:simon128128ctr
24.1224.1724.49T:aes256estream
25.3525.5125.63T:simon128256ctr
42.9743.0243.04T:ocelot1
46.4246.4446.51T:ocelot2
84.2686.2989.35T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
2.412.422.42tango642
2.422.422.43chacha8
3.133.133.14salsa208
3.383.383.38chacha12
3.893.893.89T:aes128ctr
4.464.464.46salsa2012
4.534.534.54T:aes192ctr
4.664.664.67T:cryptmtv3
5.205.205.20T:aes256ctr
5.325.325.32chacha20
5.715.715.71T:nlsv2
6.066.066.06T:sosemanuk
6.636.636.63T:trivium
6.766.776.77aes256ctr
6.866.866.86salsa20
7.087.087.08xsalsa20
7.117.147.14T:rabbit
7.297.317.31T:snow20
7.747.747.76T:tpy6
8.578.578.69T:tpy
8.598.608.61T:panama
8.808.818.81T:lexv2
10.1410.1410.14T:speck6496ctr
10.5110.5110.52T:speck64128ctr
11.9712.0012.04T:tpypy
13.1413.1413.15T:hc128
14.9514.9514.96T:aes128estream
16.4016.4016.40T:speck128128ctr
16.4116.4416.47T:simon64128ctr
16.8916.8916.91T:speck128192ctr
17.3917.3917.39T:speck128256ctr
18.5518.5518.58T:simon6496ctr
24.4524.4824.61T:aes256estream
25.1025.1125.13T:simon128128ctr
27.4527.5027.56T:simon128256ctr
29.3729.3829.38T:hc256
45.4745.4845.49T:ocelot1
48.9048.9048.94T:ocelot2
87.7388.8590.89T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
2.502.502.50chacha8
3.043.063.07tango642
3.193.193.19salsa208
3.473.473.47chacha12
4.454.454.46T:aes128ctr
4.524.524.53salsa2012
5.105.115.12T:aes192ctr
5.435.435.44chacha20
5.795.795.79T:aes256ctr
6.106.106.11T:cryptmtv3
6.406.416.43T:nlsv2
6.866.866.88aes256ctr
6.906.906.90T:sosemanuk
6.916.916.92salsa20
7.047.047.04T:trivium
7.507.507.50xsalsa20
7.517.527.52T:rabbit
7.607.617.61T:snow20
9.239.249.24T:lexv2
9.819.829.84T:tpy6
10.2710.2710.27T:speck6496ctr
10.6410.6410.64T:speck64128ctr
11.8211.8611.89T:panama
12.6112.6412.94T:tpy
15.1615.1715.17T:aes128estream
16.0816.2316.24T:tpypy
16.6416.6416.64T:speck128128ctr
17.1417.1417.14T:speck128192ctr
17.6317.6317.63T:speck128256ctr
18.0418.0518.07T:simon64128ctr
19.5419.5419.56T:simon6496ctr
25.1825.2325.26T:aes256estream
26.7526.7626.80T:simon128128ctr
27.1227.1227.12T:hc128
30.7330.8431.10T:simon128256ctr
49.6049.6249.62T:ocelot1
52.9452.9553.07T:ocelot2
67.2767.2767.28T:hc256
88.6692.4192.68T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
2.702.722.73chacha8
3.493.493.49salsa208
3.743.743.92chacha12
4.744.804.80tango642
4.834.844.84salsa2012
5.835.835.83chacha20
5.975.975.98T:aes128ctr
6.446.446.44T:cryptmtv3
6.626.626.63T:aes192ctr
7.057.067.08salsa20
7.397.407.43T:aes256ctr
7.897.917.91aes256ctr
8.158.158.15T:trivium
8.188.188.20T:nlsv2
8.398.418.41T:snow20
8.528.528.52T:rabbit
8.618.618.61xsalsa20
9.149.149.14T:sosemanuk
10.3510.3610.37T:lexv2
10.4110.4110.41T:speck6496ctr
10.8010.8010.80T:speck64128ctr
15.3115.3515.41T:tpy6
15.5815.5815.73T:aes128estream
17.3717.3717.47T:speck128128ctr
17.8817.8817.88T:speck128192ctr
18.3718.3718.47T:speck128256ctr
20.3720.4120.45T:panama
23.0923.1223.49T:simon6496ctr
23.4824.3825.65T:tpy
25.8225.8825.89T:aes256estream
27.0227.4027.44T:tpypy
30.2130.5731.15T:simon64128ctr
39.9040.2641.71T:simon128128ctr
60.5060.6960.72T:ocelot1
63.8763.9864.01T:ocelot2
64.4864.4964.51T:hc128
64.7565.4666.22T:simon128256ctr
100.82104.19104.50T:amastrid
168.34168.35168.38T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.974.064.16chacha8
5.195.195.22chacha12
6.196.236.23salsa208
7.597.597.64salsa2012
7.697.697.69chacha20
8.488.508.61salsa20
12.2012.2012.20T:speck6496ctr
12.6912.6912.69T:speck64128ctr
17.0517.0817.08aes256ctr
18.6218.6218.66T:snow20
19.4519.4519.45T:cryptmtv3
21.1621.1621.16T:rabbit
21.4121.4121.56T:aes128estream
22.1222.1222.12T:trivium
22.5922.5922.59xsalsa20
24.1724.4224.91T:lexv2
25.2825.3325.38T:aes128ctr
25.8025.8025.80T:speck128128ctr
26.0226.0226.06T:aes192ctr
26.3826.3826.38T:speck128192ctr
26.9426.9426.95T:speck128256ctr
26.5527.1127.11tango642
27.5027.5527.77T:aes256ctr
27.9527.9527.97T:simon6496ctr
33.0833.1133.11T:simon64128ctr
33.5233.7834.27T:nlsv2
33.9133.9534.02T:aes256estream
34.3034.3034.30T:sosemanuk
52.6152.6152.61T:simon128128ctr
55.5355.5355.53T:simon128256ctr
85.6985.9786.64T:tpy6
129.64129.73130.17T:panama
162.12162.28170.22T:tpy
166.77170.78171.22T:tpypy
200.73202.08202.09T:ocelot1
204.20205.22205.67T:ocelot2
260.95267.70268.98T:amastrid
542.59542.59542.61T:hc128
1461.831462.081462.12T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
40.5040.5040.50T:speck6496ctr
41.5041.5041.50T:speck64128ctr
41.3841.7541.75chacha8
49.6249.6249.75chacha12
49.6249.6250.25T:speck128256ctr
52.2552.2554.50T:speck128128ctr
51.7553.5053.50T:speck128192ctr
70.6270.6270.75chacha20
70.7570.7571.62salsa208
82.6283.0083.00salsa20
92.0092.0092.00salsa2012
96.1296.1297.12T:aes128estream
102.38102.75102.75T:simon6496ctr
103.38103.50103.50T:simon64128ctr
123.00123.38123.38T:aes256estream
129.38129.38129.38T:rabbit
131.00131.00131.00T:trivium
133.75133.75133.75T:cryptmtv3
137.50137.50137.75aes256ctr
140.50140.75141.12T:lexv2
143.88143.88144.12T:snow20
144.88144.88145.12T:simon128128ctr
148.38151.50152.12T:simon128256ctr
180.88181.25182.75T:aes128ctr
182.88182.88184.38T:nlsv2
183.88183.88183.88T:aes192ctr
192.62192.62192.62xsalsa20
193.25193.62194.12T:aes256ctr
197.00201.50201.50tango642
267.38267.38267.38T:sosemanuk
642.00643.00651.00T:tpy6
1016.251018.501023.88T:panama
1263.251264.501331.62T:tpy
1276.251299.881304.50T:tpypy
1312.381313.621317.88T:ocelot2
1309.501314.881315.75T:ocelot1
1686.881732.881745.75T:amastrid
4334.504335.004337.00T:hc128
11688.1211690.2511697.00T:hc256