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

[Page version: 20250615 19:27:09]

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
1.992.012.04tango642
2.352.352.35chacha8
3.093.103.15salsa208
3.333.333.33chacha12
3.513.523.53T:aes128ctr
4.184.184.20T:aes192ctr
4.314.314.33T:cryptmtv3
4.424.424.43salsa2012
4.744.744.75T:hc128
4.814.834.83T:aes256ctr
5.255.255.26chacha20
5.385.385.40T:nlsv2
5.625.625.62T:sosemanuk
5.925.935.97T:tpy6
5.966.126.28T:tpy
6.386.386.38T:trivium
6.606.636.65T:hc256
6.656.686.69T:panama
6.706.726.72aes256ctr
6.836.836.83xsalsa20
6.836.836.84salsa20
6.906.916.92T:rabbit
7.117.127.13T:snow20
8.558.558.56T:lexv2
9.789.799.81T:tpypy
10.0610.0710.07T:speck6496ctr
10.4310.4310.45T:speck64128ctr
14.8514.8514.86T:aes128estream
15.3215.4515.56T:simon64128ctr
16.2616.2716.28T:speck128128ctr
16.7516.7516.75T:speck128192ctr
17.2417.2417.24T:speck128256ctr
17.9618.0018.00T:simon6496ctr
24.1024.1224.14T:simon128128ctr
24.2224.4324.75T:aes256estream
25.3025.4425.61T:simon128256ctr
42.9643.0043.07T:ocelot1
46.3746.3946.43T:ocelot2
85.2085.3188.82T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
2.392.412.42tango642
2.412.422.42chacha8
3.133.133.17salsa208
3.383.383.38chacha12
3.893.893.89T:aes128ctr
4.464.464.47salsa2012
4.544.544.56T:aes192ctr
4.674.674.68T:cryptmtv3
5.195.205.20T:aes256ctr
5.325.325.32chacha20
5.715.715.73T:nlsv2
6.066.066.06T:sosemanuk
6.636.636.63T:trivium
6.766.776.78aes256ctr
6.866.866.86salsa20
7.087.087.08xsalsa20
7.137.147.15T:rabbit
7.207.207.22T:tpy6
7.297.307.31T:snow20
8.558.578.66T:tpy
8.598.608.61T:panama
8.818.818.81T:lexv2
10.1410.1410.15T:speck6496ctr
10.5110.5110.52T:speck64128ctr
12.3812.3812.39T:tpypy
13.1413.1413.14T:hc128
14.9514.9514.95T:aes128estream
16.4016.4116.42T:speck128128ctr
16.4416.4616.53T:simon64128ctr
16.8916.8916.90T:speck128192ctr
17.3917.3917.39T:speck128256ctr
18.5618.5818.58T:simon6496ctr
24.5224.6824.89T:aes256estream
25.1125.1225.13T:simon128128ctr
27.4427.4827.56T:simon128256ctr
29.3529.3729.38T:hc256
45.4745.4845.53T:ocelot1
48.8848.8848.88T:ocelot2
87.7987.8689.28T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
2.492.492.49chacha8
3.043.063.07tango642
3.193.193.22salsa208
3.473.473.48chacha12
4.464.464.50T:aes128ctr
4.524.534.54salsa2012
5.135.135.14T:aes192ctr
5.435.435.43chacha20
5.775.775.79T:aes256ctr
6.136.146.14T:cryptmtv3
6.406.426.43T:nlsv2
6.886.886.88aes256ctr
6.906.906.90T:sosemanuk
6.916.916.91salsa20
7.047.047.04T:trivium
7.507.507.50xsalsa20
7.537.537.54T:rabbit
7.607.617.61T:snow20
9.229.239.23T:lexv2
9.309.319.33T:tpy6
10.2710.2710.27T:speck6496ctr
10.6410.6410.64T:speck64128ctr
11.8211.8311.85T:panama
12.6412.7412.98T:tpy
15.1015.1015.10T:aes128estream
16.6416.6416.64T:speck128128ctr
16.6816.6916.78T:tpypy
17.1417.1417.14T:speck128192ctr
17.6317.6317.63T:speck128256ctr
18.0418.1718.42T:simon64128ctr
19.5419.5419.56T:simon6496ctr
24.9425.2325.23T:aes256estream
26.7926.8126.90T:simon128128ctr
27.1027.1127.12T:hc128
30.7230.9331.78T:simon128256ctr
49.5949.6049.65T:ocelot1
52.9653.0553.06T:ocelot2
67.2567.2667.29T:hc256
92.9593.7394.96T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
2.692.692.69chacha8
3.493.493.49salsa208
3.743.743.74chacha12
4.744.804.80tango642
4.804.814.83salsa2012
5.865.865.86chacha20
5.985.985.99T:aes128ctr
6.526.526.54T:cryptmtv3
6.696.706.73T:aes192ctr
7.057.057.05salsa20
7.327.337.33T:aes256ctr
7.897.917.91aes256ctr
8.158.158.15T:trivium
8.168.188.18T:nlsv2
8.398.398.40T:snow20
8.558.558.55T:rabbit
8.618.618.62xsalsa20
9.139.149.14T:sosemanuk
10.3410.3510.36T:lexv2
10.4110.4110.41T:speck6496ctr
10.8010.8010.80T:speck64128ctr
14.8914.9315.01T:tpy6
15.5715.5715.57T:aes128estream
17.3717.3717.37T:speck128128ctr
17.8817.8817.88T:speck128192ctr
18.3718.3718.37T:speck128256ctr
20.3720.3920.63T:panama
23.1523.3623.58T:simon6496ctr
23.4723.4924.39T:tpy
25.8825.8825.89T:aes256estream
28.1128.2028.25T:tpypy
30.4030.7231.63T:simon64128ctr
39.9640.3140.61T:simon128128ctr
60.6260.6560.68T:ocelot1
64.1464.1464.15T:ocelot2
64.4764.5064.50T:hc128
65.0765.8766.87T:simon128256ctr
101.76105.14105.24T:amastrid
168.35168.35168.38T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.943.943.94chacha8
5.195.195.22chacha12
6.206.236.23salsa208
7.347.417.58salsa2012
7.777.777.77chacha20
8.488.488.48salsa20
12.2012.2012.20T:speck6496ctr
12.6912.6912.69T:speck64128ctr
17.0617.0817.08aes256ctr
18.6218.6618.66T:snow20
20.1920.1920.19T:cryptmtv3
21.3821.3821.66T:aes128estream
21.3821.3821.72T:rabbit
22.1222.1222.12T:trivium
22.6122.6122.69xsalsa20
23.9424.1425.09T:lexv2
25.3825.3825.42T:aes128ctr
25.8025.8025.80T:speck128128ctr
26.3826.3826.38T:speck128192ctr
26.6126.6926.81T:aes192ctr
26.9426.9426.94T:speck128256ctr
26.5527.1127.11tango642
27.2327.7028.59T:aes256ctr
27.9527.9527.95T:simon6496ctr
33.0833.1133.11T:simon64128ctr
33.8633.8633.91T:aes256estream
33.5233.9534.27T:nlsv2
34.3134.3134.31T:sosemanuk
52.8452.9553.03T:simon128128ctr
55.5355.5355.55T:simon128256ctr
86.4786.6487.11T:tpy6
129.97130.39132.16T:panama
162.05162.16170.33T:tpy
175.66175.83177.84T:tpypy
200.81201.28202.44T:ocelot1
205.02205.06205.59T:ocelot2
259.45262.38265.45T:amastrid
542.52542.77542.92T:hc128
1462.171462.331462.58T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
39.1239.1239.25chacha8
40.5040.5040.75T:speck6496ctr
41.5041.5041.50T:speck64128ctr
49.6249.6249.75chacha12
49.6249.6250.25T:speck128256ctr
52.2552.5054.50T:speck128128ctr
51.7553.5053.50T:speck128192ctr
70.8870.8873.38chacha20
82.6283.0083.00salsa20
89.0089.5089.50salsa208
95.8895.8895.88T:aes128estream
101.75102.12102.12salsa2012
102.38102.75102.75T:simon6496ctr
103.25103.38103.50T:simon64128ctr
123.00123.00123.38T:aes256estream
131.00131.00131.00T:trivium
132.00132.00132.00T:rabbit
137.50137.50137.75aes256ctr
139.75139.75139.75T:cryptmtv3
140.12140.50142.50T:lexv2
144.00144.12145.25T:snow20
146.00147.75155.75T:simon128128ctr
148.38151.50152.12T:simon128256ctr
181.12181.50182.12T:aes128ctr
182.88184.38184.62T:nlsv2
188.00188.62189.62T:aes192ctr
190.62190.62191.12T:aes256ctr
192.88192.88193.50xsalsa20
197.00201.50201.50tango642
267.50267.50267.50T:sosemanuk
649.50650.50661.25T:tpy6
1017.001018.381019.62T:panama
1262.621264.251331.38T:tpy
1309.121311.121317.12T:ocelot1
1312.001312.121315.88T:ocelot2
1346.001347.621349.38T:tpypy
1737.751737.881746.62T:amastrid
4332.884333.124334.00T:hc128
11690.5011696.8811698.12T:hc256