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

[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.022.04tango642
2.342.352.35chacha8
3.093.103.10salsa208
3.333.333.33chacha12
3.503.543.56T:aes128ctr
4.194.194.20T:aes192ctr
4.324.334.33T:cryptmtv3
4.424.434.43salsa2012
4.754.754.76T:hc128
4.834.834.84T:aes256ctr
5.255.255.26chacha20
5.365.385.39T:nlsv2
5.625.625.62T:sosemanuk
6.326.356.38T:tpy
6.326.386.38T:trivium
6.486.506.52T:tpy6
6.626.636.64T:hc256
6.686.696.69T:panama
6.696.726.72aes256ctr
6.836.836.83xsalsa20
6.836.836.83salsa20
6.876.936.97T:rabbit
7.117.127.13T:snow20
8.568.568.56T:lexv2
9.459.539.61T:tpypy
10.0710.0710.08T:speck6496ctr
10.4210.4310.45T:speck64128ctr
14.8214.8514.88T:aes128estream
15.3015.3615.40T:simon64128ctr
16.2616.2616.26T:speck128128ctr
16.7516.7516.75T:speck128192ctr
17.2417.2417.24T:speck128256ctr
17.9517.9617.99T:simon6496ctr
24.1024.1424.18T:simon128128ctr
24.2624.4424.56T:aes256estream
25.3425.4825.60T:simon128256ctr
42.9542.9943.00T:ocelot1
46.3146.3746.41T:ocelot2
80.2586.9488.98T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
2.412.412.41chacha8
2.412.422.42tango642
3.133.143.14salsa208
3.383.383.38chacha12
3.903.903.91T:aes128ctr
4.464.464.46salsa2012
4.544.544.54T:aes192ctr
4.664.674.67T:cryptmtv3
5.205.205.20T:aes256ctr
5.325.325.33chacha20
5.715.715.72T:nlsv2
6.056.066.06T:sosemanuk
6.586.636.63T:trivium
6.766.776.77aes256ctr
6.866.866.86salsa20
7.087.087.08xsalsa20
7.117.157.19T:rabbit
7.297.307.31T:snow20
7.747.747.76T:tpy6
8.618.618.61T:panama
8.748.758.76T:tpy
8.808.808.80T:lexv2
10.1410.1410.15T:speck6496ctr
10.5110.5110.53T:speck64128ctr
11.9812.0312.04T:tpypy
13.1413.1413.15T:hc128
14.9514.9514.97T:aes128estream
16.4016.4016.40T:speck128128ctr
16.4216.4216.44T:simon64128ctr
16.8916.8916.89T:speck128192ctr
17.3917.3917.39T:speck128256ctr
18.5518.5518.57T:simon6496ctr
24.5524.6824.72T:aes256estream
25.1125.1325.15T:simon128128ctr
27.4627.4927.53T:simon128256ctr
29.3729.3729.38T:hc256
45.4645.4745.47T:ocelot1
48.8448.8548.87T:ocelot2
84.5088.2989.70T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
2.492.492.49chacha8
3.043.063.07tango642
3.203.203.21salsa208
3.473.473.47chacha12
4.484.484.52T:aes128ctr
4.524.524.53salsa2012
5.105.105.10T:aes192ctr
5.435.435.44chacha20
5.785.805.80T:aes256ctr
6.106.106.10T:cryptmtv3
6.406.426.42T:nlsv2
6.866.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.607.60T:snow20
9.229.229.23T:lexv2
9.819.829.85T:tpy6
10.2710.2710.27T:speck6496ctr
10.6410.6410.64T:speck64128ctr
11.8111.8111.83T:panama
12.7412.7612.78T:tpy
15.1715.1715.17T:aes128estream
16.1016.2016.25T:tpypy
16.6416.6416.64T:speck128128ctr
17.1417.1417.14T:speck128192ctr
17.6317.6317.63T:speck128256ctr
18.0818.1118.18T:simon64128ctr
19.5419.5419.55T:simon6496ctr
25.2325.2325.23T:aes256estream
26.7826.7926.86T:simon128128ctr
27.1127.1227.12T:hc128
30.8130.9731.48T:simon128256ctr
49.5649.5749.62T:ocelot1
52.9452.9452.98T:ocelot2
67.2767.3067.31T:hc256
81.97?88.39?94.93?T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
2.722.722.72chacha8
3.463.463.48salsa208
3.773.773.78chacha12
4.744.784.80tango642
4.834.854.85salsa2012
5.855.865.86chacha20
6.066.076.09T:aes128ctr
6.426.426.42T:cryptmtv3
6.626.626.75T:aes192ctr
7.067.067.06salsa20
7.377.397.41T:aes256ctr
7.897.897.91aes256ctr
8.158.158.15T:trivium
8.198.208.21T:nlsv2
8.398.398.39T:snow20
8.558.558.56T:rabbit
8.628.628.62xsalsa20
9.149.149.14T:sosemanuk
10.3110.3110.31T:lexv2
10.4110.4110.41T:speck6496ctr
10.8010.8010.80T:speck64128ctr
15.3315.3515.42T:tpy6
15.5815.5915.72T:aes128estream
17.3717.3717.37T:speck128128ctr
17.8817.8817.88T:speck128192ctr
18.3718.3718.37T:speck128256ctr
20.4620.4620.46T:panama
23.2023.2723.51T:simon6496ctr
23.4023.4523.51T:tpy
25.8825.8925.90T:aes256estream
27.0127.3527.38T:tpypy
30.3430.6131.48T:simon64128ctr
39.8840.1540.67T:simon128128ctr
60.5060.5660.64T:ocelot1
63.9964.1264.19T:ocelot2
64.4764.4964.52T:hc128
65.2366.1467.30T:simon128256ctr
105.11106.45107.99T:amastrid
168.36168.37168.40T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
4.024.024.02chacha8
5.275.275.27chacha12
6.036.036.19salsa208
7.627.667.73salsa2012
7.777.777.84chacha20
8.538.538.53salsa20
12.2012.2012.20T:speck6496ctr
12.6912.6912.69T:speck64128ctr
17.0517.0617.08aes256ctr
18.6218.6218.66T:snow20
19.3119.4519.45T:cryptmtv3
21.3821.3821.38T:rabbit
21.4121.4721.56T:aes128estream
22.1222.1222.12T:trivium
22.7022.7022.70xsalsa20
23.9723.9723.97T:lexv2
25.8025.8025.80T:speck128128ctr
25.8125.9426.14T:aes128ctr
26.0626.0626.11T:aes192ctr
26.3826.3826.38T:speck128192ctr
26.5526.9127.11tango642
26.9426.9426.94T:speck128256ctr
27.5527.5927.66T:aes256ctr
27.9527.9527.95T:simon6496ctr
33.0833.1133.11T:simon64128ctr
33.8633.8634.05T:aes256estream
33.8134.1634.23T:nlsv2
34.3034.3034.30T:sosemanuk
52.8852.9553.56T:simon128128ctr
55.5355.5355.53T:simon128256ctr
85.8185.9886.55T:tpy6
130.02130.05130.17T:panama
160.06160.27160.91T:tpy
166.59170.22170.75T:tpypy
200.44200.77202.42T:ocelot1
203.95203.95204.45T:ocelot2
263.64268.03268.22T:amastrid
542.56542.73542.80T:hc128
1462.051462.111462.36T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
39.3839.3839.38chacha8
40.5040.5040.50T:speck6496ctr
41.5041.5041.50T:speck64128ctr
49.6249.6250.25T:speck128256ctr
49.8849.8849.88chacha12
52.2552.2554.50T:speck128128ctr
51.7553.5053.50T:speck128192ctr
70.8870.8871.50chacha20
72.6273.0073.00salsa208
80.6280.6280.62salsa20
92.0092.3892.88salsa2012
96.1296.1297.12T:aes128estream
102.38102.75102.75T:simon6496ctr
103.38103.50103.50T:simon64128ctr
123.00123.00124.25T:aes256estream
131.00131.00131.12T:trivium
131.50131.50131.50T:rabbit
133.75133.75134.62T:cryptmtv3
137.62137.62137.62T:lexv2
137.62137.75137.75aes256ctr
143.88143.88144.12T:snow20
147.62148.00152.62T:simon128128ctr
150.62151.25154.00T:simon128256ctr
183.25183.88183.88T:aes192ctr
185.25185.38186.88T:nlsv2
185.88186.25187.88T:aes128ctr
193.25193.62194.00T:aes256ctr
193.75193.75193.75xsalsa20
197.00199.88201.50tango642
267.38267.38267.38T:sosemanuk
643.00643.00651.12T:tpy6
1017.121029.621034.00T:panama
1243.621246.381251.75T:tpy
1275.381297.121300.25T:tpypy
1309.621312.121315.75T:ocelot1
1312.501316.251318.25T:ocelot2
1681.001723.001734.75T:amastrid
4333.124333.884337.38T:hc128
11695.8811696.6211708.50T:hc256