Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | # |
2 | # Library configuration | |
3 | # | |
4 | ||
4370aa4a LJ |
5 | config BINARY_PRINTF |
6 | def_bool n | |
7 | ||
1da177e4 LT |
8 | menu "Library routines" |
9 | ||
f5e70d0f DW |
10 | config RAID6_PQ |
11 | tristate | |
12 | ||
a5cfc1ec AM |
13 | config BITREVERSE |
14 | tristate | |
15 | ||
8759ef32 OS |
16 | config RATIONAL |
17 | boolean | |
18 | ||
19870def | 19 | config GENERIC_FIND_FIRST_BIT |
9ba16087 | 20 | bool |
19870def | 21 | |
66eab4df MT |
22 | config GENERIC_PCI_IOMAP |
23 | bool | |
24 | ||
4673ca8e MT |
25 | config GENERIC_IOMAP |
26 | bool | |
66eab4df | 27 | select GENERIC_PCI_IOMAP |
4673ca8e | 28 | |
1da177e4 LT |
29 | config CRC_CCITT |
30 | tristate "CRC-CCITT functions" | |
31 | help | |
32 | This option is provided for the case where no in-kernel-tree | |
33 | modules require CRC-CCITT functions, but a module built outside | |
34 | the kernel tree does. Such modules that use library CRC-CCITT | |
35 | functions require M here. | |
36 | ||
7657ec1f EP |
37 | config CRC16 |
38 | tristate "CRC16 functions" | |
39 | help | |
40 | This option is provided for the case where no in-kernel-tree | |
41 | modules require CRC16 functions, but a module built outside | |
42 | the kernel tree does. Such modules that use library CRC16 | |
43 | functions require M here. | |
44 | ||
f11f594e MP |
45 | config CRC_T10DIF |
46 | tristate "CRC calculation for the T10 Data Integrity Field" | |
47 | help | |
48 | This option is only needed if a module that's not in the | |
49 | kernel tree needs to calculate CRC checks for use with the | |
50 | SCSI data integrity subsystem. | |
51 | ||
3e7cbae7 ID |
52 | config CRC_ITU_T |
53 | tristate "CRC ITU-T V.41 functions" | |
54 | help | |
55 | This option is provided for the case where no in-kernel-tree | |
56 | modules require CRC ITU-T V.41 functions, but a module built outside | |
57 | the kernel tree does. Such modules that use library CRC ITU-T V.41 | |
58 | functions require M here. | |
59 | ||
1da177e4 LT |
60 | config CRC32 |
61 | tristate "CRC32 functions" | |
62 | default y | |
906d66df | 63 | select BITREVERSE |
1da177e4 LT |
64 | help |
65 | This option is provided for the case where no in-kernel-tree | |
66 | modules require CRC32 functions, but a module built outside the | |
67 | kernel tree does. Such modules that use library CRC32 functions | |
68 | require M here. | |
69 | ||
ad241528 JN |
70 | config CRC7 |
71 | tristate "CRC7 functions" | |
72 | help | |
73 | This option is provided for the case where no in-kernel-tree | |
74 | modules require CRC7 functions, but a module built outside | |
75 | the kernel tree does. Such modules that use library CRC7 | |
76 | functions require M here. | |
77 | ||
1da177e4 LT |
78 | config LIBCRC32C |
79 | tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check" | |
93027354 | 80 | select CRYPTO |
69c35efc | 81 | select CRYPTO_CRC32C |
1da177e4 LT |
82 | help |
83 | This option is provided for the case where no in-kernel-tree | |
84 | modules require CRC32c functions, but a module built outside the | |
85 | kernel tree does. Such modules that use library CRC32c functions | |
86 | require M here. See Castagnoli93. | |
87 | Module will be libcrc32c. | |
88 | ||
7150962d AS |
89 | config CRC8 |
90 | tristate "CRC8 function" | |
91 | help | |
92 | This option provides CRC8 function. Drivers may select this | |
93 | when they need to do cyclic redundancy check according CRC8 | |
94 | algorithm. Module will be called crc8. | |
95 | ||
e65e1fc2 AV |
96 | config AUDIT_GENERIC |
97 | bool | |
98 | depends on AUDIT && !AUDIT_ARCH | |
99 | default y | |
100 | ||
1da177e4 LT |
101 | # |
102 | # compression support is select'ed if needed | |
103 | # | |
104 | config ZLIB_INFLATE | |
105 | tristate | |
106 | ||
107 | config ZLIB_DEFLATE | |
108 | tristate | |
109 | ||
64c70b1c RP |
110 | config LZO_COMPRESS |
111 | tristate | |
112 | ||
113 | config LZO_DECOMPRESS | |
114 | tristate | |
115 | ||
24fa0402 LC |
116 | source "lib/xz/Kconfig" |
117 | ||
c8531ab3 PA |
118 | # |
119 | # These all provide a common interface (hence the apparent duplication with | |
120 | # ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.) | |
121 | # | |
122 | config DECOMPRESS_GZIP | |
7856a16e | 123 | select ZLIB_INFLATE |
c8531ab3 PA |
124 | tristate |
125 | ||
126 | config DECOMPRESS_BZIP2 | |
127 | tristate | |
128 | ||
129 | config DECOMPRESS_LZMA | |
130 | tristate | |
131 | ||
3ebe1243 LC |
132 | config DECOMPRESS_XZ |
133 | select XZ_DEC | |
134 | tristate | |
135 | ||
cacb246f AT |
136 | config DECOMPRESS_LZO |
137 | select LZO_DECOMPRESS | |
138 | tristate | |
139 | ||
f14f75b8 JS |
140 | # |
141 | # Generic allocator support is selected if needed | |
142 | # | |
143 | config GENERIC_ALLOCATOR | |
144 | boolean | |
145 | ||
1da177e4 LT |
146 | # |
147 | # reed solomon support is select'ed if needed | |
148 | # | |
149 | config REED_SOLOMON | |
150 | tristate | |
151 | ||
152 | config REED_SOLOMON_ENC8 | |
153 | boolean | |
154 | ||
155 | config REED_SOLOMON_DEC8 | |
156 | boolean | |
157 | ||
158 | config REED_SOLOMON_ENC16 | |
159 | boolean | |
160 | ||
161 | config REED_SOLOMON_DEC16 | |
162 | boolean | |
163 | ||
437aa565 ID |
164 | # |
165 | # BCH support is selected if needed | |
166 | # | |
167 | config BCH | |
168 | tristate | |
169 | ||
170 | config BCH_CONST_PARAMS | |
171 | boolean | |
172 | help | |
173 | Drivers may select this option to force specific constant | |
174 | values for parameters 'm' (Galois field order) and 't' | |
175 | (error correction capability). Those specific values must | |
176 | be set by declaring default values for symbols BCH_CONST_M | |
177 | and BCH_CONST_T. | |
178 | Doing so will enable extra compiler optimizations, | |
179 | improving encoding and decoding performance up to 2x for | |
180 | usual (m,t) values (typically such that m*t < 200). | |
181 | When this option is selected, the BCH library supports | |
182 | only a single (m,t) configuration. This is mainly useful | |
183 | for NAND flash board drivers requiring known, fixed BCH | |
184 | parameters. | |
185 | ||
186 | config BCH_CONST_M | |
187 | int | |
188 | range 5 15 | |
189 | help | |
190 | Constant value for Galois field order 'm'. If 'k' is the | |
191 | number of data bits to protect, 'm' should be chosen such | |
192 | that (k + m*t) <= 2**m - 1. | |
193 | Drivers should declare a default value for this symbol if | |
194 | they select option BCH_CONST_PARAMS. | |
195 | ||
196 | config BCH_CONST_T | |
197 | int | |
198 | help | |
199 | Constant value for error correction capability in bits 't'. | |
200 | Drivers should declare a default value for this symbol if | |
201 | they select option BCH_CONST_PARAMS. | |
202 | ||
f7704347 DM |
203 | # |
204 | # Textsearch support is select'ed if needed | |
205 | # | |
2de4ff7b | 206 | config TEXTSEARCH |
f7704347 | 207 | boolean |
1da177e4 | 208 | |
df3fb93a | 209 | config TEXTSEARCH_KMP |
f7704347 | 210 | tristate |
df3fb93a | 211 | |
8082e4ed | 212 | config TEXTSEARCH_BM |
29cb9f9c | 213 | tristate |
8082e4ed | 214 | |
6408f79c | 215 | config TEXTSEARCH_FSM |
f7704347 | 216 | tristate |
6408f79c | 217 | |
5db53f3e JE |
218 | config BTREE |
219 | boolean | |
220 | ||
5ea81769 | 221 | config HAS_IOMEM |
ee36c2bf | 222 | boolean |
5ea81769 AV |
223 | depends on !NO_IOMEM |
224 | default y | |
225 | ||
226 | config HAS_IOPORT | |
227 | boolean | |
228 | depends on HAS_IOMEM && !NO_IOPORT | |
ee36c2bf AV |
229 | default y |
230 | ||
411f0f3e HC |
231 | config HAS_DMA |
232 | boolean | |
233 | depends on !NO_DMA | |
234 | default y | |
235 | ||
928923c7 GU |
236 | config CHECK_SIGNATURE |
237 | bool | |
238 | ||
aab46da0 RR |
239 | config CPUMASK_OFFSTACK |
240 | bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS | |
241 | help | |
242 | Use dynamic allocation for cpumask_var_t, instead of putting | |
243 | them on the stack. This is a bit more expensive, but avoids | |
244 | stack overflow. | |
245 | ||
8c384cde RR |
246 | config DISABLE_OBSOLETE_CPUMASK_FUNCTIONS |
247 | bool "Disable obsolete cpumask functions" if DEBUG_PER_CPU_MAPS | |
248 | depends on EXPERIMENTAL && BROKEN | |
249 | ||
c39649c3 BH |
250 | config CPU_RMAP |
251 | bool | |
252 | depends on SMP | |
253 | ||
75957ba3 TH |
254 | config DQL |
255 | bool | |
256 | ||
e9cc8bdd GU |
257 | # |
258 | # Netlink attribute parsing support is select'ed if needed | |
259 | # | |
260 | config NLATTR | |
261 | bool | |
262 | ||
09d4e0ed PM |
263 | # |
264 | # Generic 64-bit atomic support is selected if needed | |
265 | # | |
266 | config GENERIC_ATOMIC64 | |
267 | bool | |
268 | ||
b411b363 PR |
269 | config LRU_CACHE |
270 | tristate | |
271 | ||
c5485a7e | 272 | config AVERAGE |
a7a9a24d MB |
273 | bool "Averaging functions" |
274 | help | |
275 | This option is provided for the case where no in-kernel-tree | |
276 | modules require averaging functions, but a module built outside | |
277 | the kernel tree does. Such modules that use library averaging | |
278 | functions require Y here. | |
279 | ||
280 | If unsure, say N. | |
c5485a7e | 281 | |
10f8113e | 282 | config CORDIC |
d89ce936 | 283 | tristate "CORDIC algorithm" |
10f8113e | 284 | help |
435a95c5 MW |
285 | This option provides an implementation of the CORDIC algorithm; |
286 | calculations are in fixed point. Module will be called cordic. | |
10f8113e | 287 | |
d9c46b18 | 288 | config MPILIB |
2e5f094b | 289 | tristate |
d9c46b18 DK |
290 | help |
291 | Multiprecision maths library from GnuPG. | |
292 | It is used to implement RSA digital signature verification, | |
293 | which is used by IMA/EVM digital signature extension. | |
294 | ||
7e8dec91 | 295 | config MPILIB_EXTRA |
2e5f094b | 296 | bool |
7e8dec91 DK |
297 | depends on MPILIB |
298 | help | |
68adcad5 DK |
299 | Additional sources of multiprecision maths library from GnuPG. |
300 | This code is unnecessary for RSA digital signature verification, | |
301 | but can be compiled if needed. | |
7e8dec91 | 302 | |
5e8898e9 | 303 | config SIGNATURE |
2e5f094b | 304 | tristate |
be440ec7 DK |
305 | depends on KEYS && CRYPTO |
306 | select CRYPTO_SHA1 | |
051dbb91 DK |
307 | select MPILIB |
308 | help | |
309 | Digital signature verification. Currently only RSA is supported. | |
310 | Implementation is done using GnuPG MPI library | |
311 | ||
2de4ff7b | 312 | endmenu |