Run make update
[openssl.git] / apps / progs.c
1 /*
2  * WARNING: do not edit!
3  * Generated by apps/progs.pl
4  *
5  * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
6  *
7  * Licensed under the Apache License 2.0 (the "License").  You may not use
8  * this file except in compliance with the License.  You can obtain a copy
9  * in the file LICENSE in the source distribution or at
10  * https://www.openssl.org/source/license.html
11  */
12
13 #include "progs.h"
14
15 FUNCTION functions[] = {
16     {FT_general, "asn1parse", asn1parse_main, asn1parse_options},
17     {FT_general, "ca", ca_main, ca_options},
18 #ifndef OPENSSL_NO_SOCK
19     {FT_general, "ciphers", ciphers_main, ciphers_options},
20 #endif
21 #ifndef OPENSSL_NO_CMS
22     {FT_general, "cms", cms_main, cms_options},
23 #endif
24     {FT_general, "crl", crl_main, crl_options},
25     {FT_general, "crl2pkcs7", crl2pkcs7_main, crl2pkcs7_options},
26     {FT_general, "dgst", dgst_main, dgst_options},
27 #ifndef OPENSSL_NO_DH
28     {FT_general, "dhparam", dhparam_main, dhparam_options},
29 #endif
30 #ifndef OPENSSL_NO_DSA
31     {FT_general, "dsa", dsa_main, dsa_options},
32 #endif
33 #ifndef OPENSSL_NO_DSA
34     {FT_general, "dsaparam", dsaparam_main, dsaparam_options},
35 #endif
36 #ifndef OPENSSL_NO_EC
37     {FT_general, "ec", ec_main, ec_options},
38 #endif
39 #ifndef OPENSSL_NO_EC
40     {FT_general, "ecparam", ecparam_main, ecparam_options},
41 #endif
42     {FT_general, "enc", enc_main, enc_options},
43 #ifndef OPENSSL_NO_ENGINE
44     {FT_general, "engine", engine_main, engine_options},
45 #endif
46     {FT_general, "errstr", errstr_main, errstr_options},
47     {FT_general, "fipsinstall", fipsinstall_main, fipsinstall_options},
48 #ifndef OPENSSL_NO_DSA
49     {FT_general, "gendsa", gendsa_main, gendsa_options},
50 #endif
51     {FT_general, "genpkey", genpkey_main, genpkey_options},
52 #ifndef OPENSSL_NO_RSA
53     {FT_general, "genrsa", genrsa_main, genrsa_options},
54 #endif
55     {FT_general, "help", help_main, help_options},
56     {FT_general, "info", info_main, info_options},
57     {FT_general, "kdf", kdf_main, kdf_options},
58     {FT_general, "list", list_main, list_options},
59     {FT_general, "mac", mac_main, mac_options},
60     {FT_general, "nseq", nseq_main, nseq_options},
61 #ifndef OPENSSL_NO_OCSP
62     {FT_general, "ocsp", ocsp_main, ocsp_options},
63 #endif
64     {FT_general, "passwd", passwd_main, passwd_options},
65 #ifndef OPENSSL_NO_DES
66     {FT_general, "pkcs12", pkcs12_main, pkcs12_options},
67 #endif
68     {FT_general, "pkcs7", pkcs7_main, pkcs7_options},
69     {FT_general, "pkcs8", pkcs8_main, pkcs8_options},
70     {FT_general, "pkey", pkey_main, pkey_options},
71     {FT_general, "pkeyparam", pkeyparam_main, pkeyparam_options},
72     {FT_general, "pkeyutl", pkeyutl_main, pkeyutl_options},
73     {FT_general, "prime", prime_main, prime_options},
74     {FT_general, "provider", provider_main, provider_options},
75     {FT_general, "rand", rand_main, rand_options},
76     {FT_general, "rehash", rehash_main, rehash_options},
77     {FT_general, "req", req_main, req_options},
78     {FT_general, "rsa", rsa_main, rsa_options},
79 #ifndef OPENSSL_NO_RSA
80     {FT_general, "rsautl", rsautl_main, rsautl_options},
81 #endif
82 #ifndef OPENSSL_NO_SOCK
83     {FT_general, "s_client", s_client_main, s_client_options},
84 #endif
85 #ifndef OPENSSL_NO_SOCK
86     {FT_general, "s_server", s_server_main, s_server_options},
87 #endif
88 #ifndef OPENSSL_NO_SOCK
89     {FT_general, "s_time", s_time_main, s_time_options},
90 #endif
91     {FT_general, "sess_id", sess_id_main, sess_id_options},
92     {FT_general, "smime", smime_main, smime_options},
93     {FT_general, "speed", speed_main, speed_options},
94     {FT_general, "spkac", spkac_main, spkac_options},
95 #ifndef OPENSSL_NO_SRP
96     {FT_general, "srp", srp_main, srp_options},
97 #endif
98     {FT_general, "storeutl", storeutl_main, storeutl_options},
99 #ifndef OPENSSL_NO_TS
100     {FT_general, "ts", ts_main, ts_options},
101 #endif
102     {FT_general, "verify", verify_main, verify_options},
103     {FT_general, "version", version_main, version_options},
104     {FT_general, "x509", x509_main, x509_options},
105 #ifndef OPENSSL_NO_MD2
106     {FT_md, "md2", dgst_main},
107 #endif
108 #ifndef OPENSSL_NO_MD4
109     {FT_md, "md4", dgst_main},
110 #endif
111     {FT_md, "md5", dgst_main},
112 #ifndef OPENSSL_NO_GOST
113     {FT_md, "gost", dgst_main},
114 #endif
115     {FT_md, "sha1", dgst_main},
116     {FT_md, "sha224", dgst_main},
117     {FT_md, "sha256", dgst_main},
118     {FT_md, "sha384", dgst_main},
119     {FT_md, "sha512", dgst_main},
120     {FT_md, "sha512-224", dgst_main},
121     {FT_md, "sha512-256", dgst_main},
122     {FT_md, "sha3-224", dgst_main},
123     {FT_md, "sha3-256", dgst_main},
124     {FT_md, "sha3-384", dgst_main},
125     {FT_md, "sha3-512", dgst_main},
126     {FT_md, "shake128", dgst_main},
127     {FT_md, "shake256", dgst_main},
128 #ifndef OPENSSL_NO_MDC2
129     {FT_md, "mdc2", dgst_main},
130 #endif
131 #ifndef OPENSSL_NO_RMD160
132     {FT_md, "rmd160", dgst_main},
133 #endif
134 #ifndef OPENSSL_NO_BLAKE2
135     {FT_md, "blake2b512", dgst_main},
136 #endif
137 #ifndef OPENSSL_NO_BLAKE2
138     {FT_md, "blake2s256", dgst_main},
139 #endif
140 #ifndef OPENSSL_NO_SM3
141     {FT_md, "sm3", dgst_main},
142 #endif
143     {FT_cipher, "aes-128-cbc", enc_main, enc_options},
144     {FT_cipher, "aes-128-ecb", enc_main, enc_options},
145     {FT_cipher, "aes-192-cbc", enc_main, enc_options},
146     {FT_cipher, "aes-192-ecb", enc_main, enc_options},
147     {FT_cipher, "aes-256-cbc", enc_main, enc_options},
148     {FT_cipher, "aes-256-ecb", enc_main, enc_options},
149 #ifndef OPENSSL_NO_ARIA
150     {FT_cipher, "aria-128-cbc", enc_main, enc_options},
151 #endif
152 #ifndef OPENSSL_NO_ARIA
153     {FT_cipher, "aria-128-cfb", enc_main, enc_options},
154 #endif
155 #ifndef OPENSSL_NO_ARIA
156     {FT_cipher, "aria-128-ctr", enc_main, enc_options},
157 #endif
158 #ifndef OPENSSL_NO_ARIA
159     {FT_cipher, "aria-128-ecb", enc_main, enc_options},
160 #endif
161 #ifndef OPENSSL_NO_ARIA
162     {FT_cipher, "aria-128-ofb", enc_main, enc_options},
163 #endif
164 #ifndef OPENSSL_NO_ARIA
165     {FT_cipher, "aria-128-cfb1", enc_main, enc_options},
166 #endif
167 #ifndef OPENSSL_NO_ARIA
168     {FT_cipher, "aria-128-cfb8", enc_main, enc_options},
169 #endif
170 #ifndef OPENSSL_NO_ARIA
171     {FT_cipher, "aria-192-cbc", enc_main, enc_options},
172 #endif
173 #ifndef OPENSSL_NO_ARIA
174     {FT_cipher, "aria-192-cfb", enc_main, enc_options},
175 #endif
176 #ifndef OPENSSL_NO_ARIA
177     {FT_cipher, "aria-192-ctr", enc_main, enc_options},
178 #endif
179 #ifndef OPENSSL_NO_ARIA
180     {FT_cipher, "aria-192-ecb", enc_main, enc_options},
181 #endif
182 #ifndef OPENSSL_NO_ARIA
183     {FT_cipher, "aria-192-ofb", enc_main, enc_options},
184 #endif
185 #ifndef OPENSSL_NO_ARIA
186     {FT_cipher, "aria-192-cfb1", enc_main, enc_options},
187 #endif
188 #ifndef OPENSSL_NO_ARIA
189     {FT_cipher, "aria-192-cfb8", enc_main, enc_options},
190 #endif
191 #ifndef OPENSSL_NO_ARIA
192     {FT_cipher, "aria-256-cbc", enc_main, enc_options},
193 #endif
194 #ifndef OPENSSL_NO_ARIA
195     {FT_cipher, "aria-256-cfb", enc_main, enc_options},
196 #endif
197 #ifndef OPENSSL_NO_ARIA
198     {FT_cipher, "aria-256-ctr", enc_main, enc_options},
199 #endif
200 #ifndef OPENSSL_NO_ARIA
201     {FT_cipher, "aria-256-ecb", enc_main, enc_options},
202 #endif
203 #ifndef OPENSSL_NO_ARIA
204     {FT_cipher, "aria-256-ofb", enc_main, enc_options},
205 #endif
206 #ifndef OPENSSL_NO_ARIA
207     {FT_cipher, "aria-256-cfb1", enc_main, enc_options},
208 #endif
209 #ifndef OPENSSL_NO_ARIA
210     {FT_cipher, "aria-256-cfb8", enc_main, enc_options},
211 #endif
212 #ifndef OPENSSL_NO_CAMELLIA
213     {FT_cipher, "camellia-128-cbc", enc_main, enc_options},
214 #endif
215 #ifndef OPENSSL_NO_CAMELLIA
216     {FT_cipher, "camellia-128-ecb", enc_main, enc_options},
217 #endif
218 #ifndef OPENSSL_NO_CAMELLIA
219     {FT_cipher, "camellia-192-cbc", enc_main, enc_options},
220 #endif
221 #ifndef OPENSSL_NO_CAMELLIA
222     {FT_cipher, "camellia-192-ecb", enc_main, enc_options},
223 #endif
224 #ifndef OPENSSL_NO_CAMELLIA
225     {FT_cipher, "camellia-256-cbc", enc_main, enc_options},
226 #endif
227 #ifndef OPENSSL_NO_CAMELLIA
228     {FT_cipher, "camellia-256-ecb", enc_main, enc_options},
229 #endif
230     {FT_cipher, "base64", enc_main, enc_options},
231 #ifdef ZLIB
232     {FT_cipher, "zlib", enc_main, enc_options},
233 #endif
234 #ifndef OPENSSL_NO_DES
235     {FT_cipher, "des", enc_main, enc_options},
236 #endif
237 #ifndef OPENSSL_NO_DES
238     {FT_cipher, "des3", enc_main, enc_options},
239 #endif
240 #ifndef OPENSSL_NO_DES
241     {FT_cipher, "desx", enc_main, enc_options},
242 #endif
243 #ifndef OPENSSL_NO_IDEA
244     {FT_cipher, "idea", enc_main, enc_options},
245 #endif
246 #ifndef OPENSSL_NO_SEED
247     {FT_cipher, "seed", enc_main, enc_options},
248 #endif
249 #ifndef OPENSSL_NO_RC4
250     {FT_cipher, "rc4", enc_main, enc_options},
251 #endif
252 #ifndef OPENSSL_NO_RC4
253     {FT_cipher, "rc4-40", enc_main, enc_options},
254 #endif
255 #ifndef OPENSSL_NO_RC2
256     {FT_cipher, "rc2", enc_main, enc_options},
257 #endif
258 #ifndef OPENSSL_NO_BF
259     {FT_cipher, "bf", enc_main, enc_options},
260 #endif
261 #ifndef OPENSSL_NO_CAST
262     {FT_cipher, "cast", enc_main, enc_options},
263 #endif
264 #ifndef OPENSSL_NO_RC5
265     {FT_cipher, "rc5", enc_main, enc_options},
266 #endif
267 #ifndef OPENSSL_NO_DES
268     {FT_cipher, "des-ecb", enc_main, enc_options},
269 #endif
270 #ifndef OPENSSL_NO_DES
271     {FT_cipher, "des-ede", enc_main, enc_options},
272 #endif
273 #ifndef OPENSSL_NO_DES
274     {FT_cipher, "des-ede3", enc_main, enc_options},
275 #endif
276 #ifndef OPENSSL_NO_DES
277     {FT_cipher, "des-cbc", enc_main, enc_options},
278 #endif
279 #ifndef OPENSSL_NO_DES
280     {FT_cipher, "des-ede-cbc", enc_main, enc_options},
281 #endif
282 #ifndef OPENSSL_NO_DES
283     {FT_cipher, "des-ede3-cbc", enc_main, enc_options},
284 #endif
285 #ifndef OPENSSL_NO_DES
286     {FT_cipher, "des-cfb", enc_main, enc_options},
287 #endif
288 #ifndef OPENSSL_NO_DES
289     {FT_cipher, "des-ede-cfb", enc_main, enc_options},
290 #endif
291 #ifndef OPENSSL_NO_DES
292     {FT_cipher, "des-ede3-cfb", enc_main, enc_options},
293 #endif
294 #ifndef OPENSSL_NO_DES
295     {FT_cipher, "des-ofb", enc_main, enc_options},
296 #endif
297 #ifndef OPENSSL_NO_DES
298     {FT_cipher, "des-ede-ofb", enc_main, enc_options},
299 #endif
300 #ifndef OPENSSL_NO_DES
301     {FT_cipher, "des-ede3-ofb", enc_main, enc_options},
302 #endif
303 #ifndef OPENSSL_NO_IDEA
304     {FT_cipher, "idea-cbc", enc_main, enc_options},
305 #endif
306 #ifndef OPENSSL_NO_IDEA
307     {FT_cipher, "idea-ecb", enc_main, enc_options},
308 #endif
309 #ifndef OPENSSL_NO_IDEA
310     {FT_cipher, "idea-cfb", enc_main, enc_options},
311 #endif
312 #ifndef OPENSSL_NO_IDEA
313     {FT_cipher, "idea-ofb", enc_main, enc_options},
314 #endif
315 #ifndef OPENSSL_NO_SEED
316     {FT_cipher, "seed-cbc", enc_main, enc_options},
317 #endif
318 #ifndef OPENSSL_NO_SEED
319     {FT_cipher, "seed-ecb", enc_main, enc_options},
320 #endif
321 #ifndef OPENSSL_NO_SEED
322     {FT_cipher, "seed-cfb", enc_main, enc_options},
323 #endif
324 #ifndef OPENSSL_NO_SEED
325     {FT_cipher, "seed-ofb", enc_main, enc_options},
326 #endif
327 #ifndef OPENSSL_NO_RC2
328     {FT_cipher, "rc2-cbc", enc_main, enc_options},
329 #endif
330 #ifndef OPENSSL_NO_RC2
331     {FT_cipher, "rc2-ecb", enc_main, enc_options},
332 #endif
333 #ifndef OPENSSL_NO_RC2
334     {FT_cipher, "rc2-cfb", enc_main, enc_options},
335 #endif
336 #ifndef OPENSSL_NO_RC2
337     {FT_cipher, "rc2-ofb", enc_main, enc_options},
338 #endif
339 #ifndef OPENSSL_NO_RC2
340     {FT_cipher, "rc2-64-cbc", enc_main, enc_options},
341 #endif
342 #ifndef OPENSSL_NO_RC2
343     {FT_cipher, "rc2-40-cbc", enc_main, enc_options},
344 #endif
345 #ifndef OPENSSL_NO_BF
346     {FT_cipher, "bf-cbc", enc_main, enc_options},
347 #endif
348 #ifndef OPENSSL_NO_BF
349     {FT_cipher, "bf-ecb", enc_main, enc_options},
350 #endif
351 #ifndef OPENSSL_NO_BF
352     {FT_cipher, "bf-cfb", enc_main, enc_options},
353 #endif
354 #ifndef OPENSSL_NO_BF
355     {FT_cipher, "bf-ofb", enc_main, enc_options},
356 #endif
357 #ifndef OPENSSL_NO_CAST
358     {FT_cipher, "cast5-cbc", enc_main, enc_options},
359 #endif
360 #ifndef OPENSSL_NO_CAST
361     {FT_cipher, "cast5-ecb", enc_main, enc_options},
362 #endif
363 #ifndef OPENSSL_NO_CAST
364     {FT_cipher, "cast5-cfb", enc_main, enc_options},
365 #endif
366 #ifndef OPENSSL_NO_CAST
367     {FT_cipher, "cast5-ofb", enc_main, enc_options},
368 #endif
369 #ifndef OPENSSL_NO_CAST
370     {FT_cipher, "cast-cbc", enc_main, enc_options},
371 #endif
372 #ifndef OPENSSL_NO_RC5
373     {FT_cipher, "rc5-cbc", enc_main, enc_options},
374 #endif
375 #ifndef OPENSSL_NO_RC5
376     {FT_cipher, "rc5-ecb", enc_main, enc_options},
377 #endif
378 #ifndef OPENSSL_NO_RC5
379     {FT_cipher, "rc5-cfb", enc_main, enc_options},
380 #endif
381 #ifndef OPENSSL_NO_RC5
382     {FT_cipher, "rc5-ofb", enc_main, enc_options},
383 #endif
384 #ifndef OPENSSL_NO_SM4
385     {FT_cipher, "sm4-cbc", enc_main, enc_options},
386 #endif
387 #ifndef OPENSSL_NO_SM4
388     {FT_cipher, "sm4-ecb", enc_main, enc_options},
389 #endif
390 #ifndef OPENSSL_NO_SM4
391     {FT_cipher, "sm4-cfb", enc_main, enc_options},
392 #endif
393 #ifndef OPENSSL_NO_SM4
394     {FT_cipher, "sm4-ofb", enc_main, enc_options},
395 #endif
396 #ifndef OPENSSL_NO_SM4
397     {FT_cipher, "sm4-ctr", enc_main, enc_options},
398 #endif
399     {0, NULL, NULL}
400 };