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

[Page version: 20240726 23:46:00]

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.


Implementation notes

Graphs: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
2.012.032.03tango642
2.332.342.35chacha8
3.103.103.10salsa208
3.333.333.33chacha12
3.543.553.55T:aes128ctr
4.194.194.19T:aes192ctr
4.314.324.32T:cryptmtv3
4.424.434.47salsa2012
4.734.744.75T:hc128
4.834.834.84T:aes256ctr
5.255.255.25chacha20
5.375.385.38T:nlsv2
5.625.625.63T:sosemanuk
5.966.146.21T:tpy
6.386.386.38T:trivium
6.486.506.52T:tpy6
6.636.646.64T:hc256
6.646.676.69T:panama
6.696.726.72aes256ctr
6.836.836.83xsalsa20
6.836.836.84salsa20
6.896.926.92T:rabbit
7.117.137.14T:snow20
8.548.558.56T:lexv2
9.449.509.60T:tpypy
10.0610.0710.07T:speck6496ctr
10.4310.4410.45T:speck64128ctr
14.8114.8514.86T:aes128estream
15.2315.3715.39T:simon64128ctr
16.2616.2616.26T:speck128128ctr
16.7516.7516.75T:speck128192ctr
17.2417.2417.24T:speck128256ctr
17.9617.9717.97T:simon6496ctr
24.1124.1524.15T:simon128128ctr
24.2724.3224.37T:aes256estream
25.3625.4525.55T:simon128256ctr
42.9543.0043.03T:ocelot1
46.3246.3846.46T:ocelot2
79.3384.6286.60T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
2.412.422.42tango642
2.422.422.42chacha8
3.133.133.13salsa208
3.383.393.39chacha12
3.893.893.90T:aes128ctr
4.464.464.50salsa2012
4.534.534.53T:aes192ctr
4.664.664.67T:cryptmtv3
5.195.195.19T:aes256ctr
5.325.325.32chacha20
5.715.715.72T:nlsv2
6.066.066.06T:sosemanuk
6.636.636.63T:trivium
6.766.786.78aes256ctr
6.866.866.86salsa20
7.087.087.08xsalsa20
7.147.157.15T:rabbit
7.307.317.31T:snow20
7.747.747.76T:tpy6
8.578.588.63T:tpy
8.598.608.61T:panama
8.818.818.81T:lexv2
10.1410.1410.14T:speck6496ctr
10.5110.5210.53T:speck64128ctr
11.9812.0212.04T:tpypy
13.1413.1413.15T:hc128
14.9514.9514.96T:aes128estream
16.4016.4016.40T:speck128128ctr
16.4116.4516.45T:simon64128ctr
16.8916.8916.89T:speck128192ctr
17.3917.3917.39T:speck128256ctr
18.5518.5618.56T:simon6496ctr
24.5524.6024.61T:aes256estream
25.1225.1425.14T:simon128128ctr
27.4427.4727.51T:simon128256ctr
29.3729.3829.38T:hc256
45.4845.4945.49T:ocelot1
48.8648.8748.92T:ocelot2
83.9387.7789.09T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
2.492.502.50chacha8
3.053.063.07tango642
3.193.193.19salsa208
3.473.473.48chacha12
4.464.464.46T:aes128ctr
4.524.524.55salsa2012
5.105.105.10T:aes192ctr
5.435.445.44chacha20
5.775.775.80T:aes256ctr
6.116.116.11T:cryptmtv3
6.406.416.42T:nlsv2
6.876.886.89aes256ctr
6.906.906.90T:sosemanuk
6.916.916.92salsa20
7.047.047.04T:trivium
7.507.507.50xsalsa20
7.527.537.55T:rabbit
7.607.607.61T:snow20
9.239.249.24T:lexv2
9.819.829.84T:tpy6
10.2710.2710.27T:speck6496ctr
10.6410.6410.65T:speck64128ctr
11.8511.8811.96T:panama
12.6312.6512.98T:tpy
15.1615.1715.17T:aes128estream
16.0616.2216.24T:tpypy
16.6416.6416.64T:speck128128ctr
17.1417.1417.16T:speck128192ctr
17.6317.6317.63T:speck128256ctr
18.0318.0518.09T:simon64128ctr
19.5019.5119.54T:simon6496ctr
24.8925.0825.23T:aes256estream
26.7326.7426.76T:simon128128ctr
27.1227.1227.13T:hc128
30.8930.9731.45T:simon128256ctr
49.6049.6049.63T:ocelot1
53.0453.0453.14T:ocelot2
67.2567.2767.29T:hc256
91.2592.9893.76T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
2.692.702.72chacha8
3.493.493.49salsa208
3.743.743.92chacha12
4.744.784.80tango642
4.834.844.85salsa2012
5.835.835.86chacha20
5.995.996.05T:aes128ctr
6.446.446.44T:cryptmtv3
6.626.636.63T:aes192ctr
7.047.057.08salsa20
7.387.407.43T:aes256ctr
7.937.937.93aes256ctr
8.158.158.15T:trivium
8.178.198.19T:nlsv2
8.398.398.39T:snow20
8.558.558.55T:rabbit
8.618.618.61xsalsa20
9.149.149.14T:sosemanuk
10.3410.3410.35T:lexv2
10.4110.4110.46T:speck6496ctr
10.8010.8010.88T:speck64128ctr
15.3115.3215.41T:tpy6
15.5815.5815.58T:aes128estream
17.3717.3717.37T:speck128128ctr
17.8817.8817.88T:speck128192ctr
18.3718.3718.37T:speck128256ctr
20.4120.4920.52T:panama
23.1023.1523.43T:simon6496ctr
23.4723.4924.38T:tpy
25.8825.8825.98T:aes256estream
27.0227.4227.46T:tpypy
30.2630.6331.19T:simon64128ctr
39.6439.9140.35T:simon128128ctr
60.5160.5260.55T:ocelot1
63.9364.1764.25T:ocelot2
64.5064.5264.52T:hc128
64.9965.4666.59T:simon128256ctr
104.66105.62106.03T:amastrid
168.35168.37168.40T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.924.004.14chacha8
5.195.195.22chacha12
6.226.236.25salsa208
7.597.617.64salsa2012
7.697.697.75chacha20
8.488.488.58salsa20
12.2012.2012.25T:speck6496ctr
12.6912.6912.69T:speck64128ctr
17.1417.3017.45aes256ctr
18.6218.6218.62T:snow20
19.3319.3319.45T:cryptmtv3
21.3821.3821.38T:rabbit
21.4121.4121.41T:aes128estream
22.1222.1222.12T:trivium
22.6122.6122.61xsalsa20
24.3624.8625.09T:lexv2
25.4725.4725.48T:aes128ctr
25.8025.8025.80T:speck128128ctr
25.9825.9825.98T:aes192ctr
26.3826.3826.38T:speck128192ctr
26.5526.9127.11tango642
26.9426.9526.95T:speck128256ctr
27.1727.1927.33T:aes256ctr
27.9527.9527.97T:simon6496ctr
33.0533.0833.11T:simon64128ctr
33.8633.8633.86T:aes256estream
33.7833.9534.27T:nlsv2
34.3034.3034.30T:sosemanuk
52.6152.6953.09T:simon128128ctr
55.5355.5355.55T:simon128256ctr
85.6485.9886.50T:tpy6
129.89130.80131.22T:panama
162.05162.19170.22T:tpy
166.94170.98171.38T:tpypy
200.31200.53200.56T:ocelot1
204.16205.20205.30T:ocelot2
264.56267.48268.06T:amastrid
542.66542.77543.14T:hc128
1462.271462.271462.52T: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.6250.50chacha12
49.6250.2550.38T:speck128256ctr
51.8852.7554.25T:speck128128ctr
51.7553.5053.50T:speck128192ctr
70.6270.6271.50chacha20
70.7571.0071.62salsa208
83.0083.0083.00salsa20
92.0092.0092.00salsa2012
96.1296.1296.12T:aes128estream
102.38102.75102.75T:simon6496ctr
103.25103.38103.62T:simon64128ctr
123.00123.00123.00T:aes256estream
131.00131.00131.00T:trivium
131.50131.50131.62T:rabbit
133.75133.75133.75T:cryptmtv3
140.50140.50143.38T:lexv2
140.50140.88140.88aes256ctr
143.88143.88144.12T:snow20
144.62144.88145.12T:simon128128ctr
149.88150.50151.50T:simon128256ctr
180.75184.25184.62T:nlsv2
182.62184.25184.62T:aes128ctr
183.25184.88185.38T:aes192ctr
190.75190.75193.25T:aes256ctr
192.88192.88192.88xsalsa20
197.00199.88201.50tango642
267.38267.38267.38T:sosemanuk
641.62641.62651.12T:tpy6
1017.751018.121023.62T:panama
1263.621264.121331.25T:tpy
1276.881301.501305.75T:tpypy
1308.621308.621309.50T:ocelot1
1311.621312.501313.00T:ocelot2
1650.001683.001726.25T:amastrid
4337.124337.124340.25T:hc128
11694.0011695.5011697.50T:hc256