Fix migration guide mappings for i2o/o2i_ECPublicKey
[openssl.git] / apps / progs.c
1 /*
2  * WARNING: do not edit!
3  * Generated by apps/progs.pl
4  *
5  * Copyright 1995-2019 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, "rand", rand_main, rand_options},
75     {FT_general, "rehash", rehash_main, rehash_options},
76     {FT_general, "req", req_main, req_options},
77     {FT_general, "rsa", rsa_main, rsa_options},
78 #ifndef OPENSSL_NO_RSA
79     {FT_general, "rsautl", rsautl_main, rsautl_options},
80 #endif
81 #ifndef OPENSSL_NO_SOCK
82     {FT_general, "s_client", s_client_main, s_client_options},
83 #endif
84 #ifndef OPENSSL_NO_SOCK
85     {FT_general, "s_server", s_server_main, s_server_options},
86 #endif
87 #ifndef OPENSSL_NO_SOCK
88     {FT_general, "s_time", s_time_main, s_time_options},
89 #endif
90     {FT_general, "sess_id", sess_id_main, sess_id_options},
91     {FT_general, "smime", smime_main, smime_options},
92     {FT_general, "speed", speed_main, speed_options},
93     {FT_general, "spkac", spkac_main, spkac_options},
94 #ifndef OPENSSL_NO_SRP
95     {FT_general, "srp", srp_main, srp_options},
96 #endif
97     {FT_general, "storeutl", storeutl_main, storeutl_options},
98 #ifndef OPENSSL_NO_TS
99     {FT_general, "ts", ts_main, ts_options},
100 #endif
101     {FT_general, "verify", verify_main, verify_options},
102     {FT_general, "version", version_main, version_options},
103     {FT_general, "x509", x509_main, x509_options},
104 #ifndef OPENSSL_NO_MD2
105     {FT_md, "md2", dgst_main},
106 #endif
107 #ifndef OPENSSL_NO_MD4
108     {FT_md, "md4", dgst_main},
109 #endif
110     {FT_md, "md5", dgst_main},
111 #ifndef OPENSSL_NO_GOST
112     {FT_md, "gost", dgst_main},
113 #endif
114     {FT_md, "sha1", dgst_main},
115     {FT_md, "sha224", dgst_main},
116     {FT_md, "sha256", dgst_main},
117     {FT_md, "sha384", dgst_main},
118     {FT_md, "sha512", dgst_main},
119     {FT_md, "sha512-224", dgst_main},
120     {FT_md, "sha512-256", dgst_main},
121     {FT_md, "sha3-224", dgst_main},
122     {FT_md, "sha3-256", dgst_main},
123     {FT_md, "sha3-384", dgst_main},
124     {FT_md, "sha3-512", dgst_main},
125     {FT_md, "shake128", dgst_main},
126     {FT_md, "shake256", dgst_main},
127 #ifndef OPENSSL_NO_MDC2
128     {FT_md, "mdc2", dgst_main},
129 #endif
130 #ifndef OPENSSL_NO_RMD160
131     {FT_md, "rmd160", dgst_main},
132 #endif
133 #ifndef OPENSSL_NO_BLAKE2
134     {FT_md, "blake2b512", dgst_main},
135 #endif
136 #ifndef OPENSSL_NO_BLAKE2
137     {FT_md, "blake2s256", dgst_main},
138 #endif
139 #ifndef OPENSSL_NO_SM3
140     {FT_md, "sm3", dgst_main},
141 #endif
142     {FT_cipher, "aes-128-cbc", enc_main, enc_options},
143     {FT_cipher, "aes-128-ecb", enc_main, enc_options},
144     {FT_cipher, "aes-192-cbc", enc_main, enc_options},
145     {FT_cipher, "aes-192-ecb", enc_main, enc_options},
146     {FT_cipher, "aes-256-cbc", enc_main, enc_options},
147     {FT_cipher, "aes-256-ecb", enc_main, enc_options},
148 #ifndef OPENSSL_NO_ARIA
149     {FT_cipher, "aria-128-cbc", enc_main, enc_options},
150 #endif
151 #ifndef OPENSSL_NO_ARIA
152     {FT_cipher, "aria-128-cfb", enc_main, enc_options},
153 #endif
154 #ifndef OPENSSL_NO_ARIA
155     {FT_cipher, "aria-128-ctr", enc_main, enc_options},
156 #endif
157 #ifndef OPENSSL_NO_ARIA
158     {FT_cipher, "aria-128-ecb", enc_main, enc_options},
159 #endif
160 #ifndef OPENSSL_NO_ARIA
161     {FT_cipher, "aria-128-ofb", enc_main, enc_options},
162 #endif
163 #ifndef OPENSSL_NO_ARIA
164     {FT_cipher, "aria-128-cfb1", enc_main, enc_options},
165 #endif
166 #ifndef OPENSSL_NO_ARIA
167     {FT_cipher, "aria-128-cfb8", enc_main, enc_options},
168 #endif
169 #ifndef OPENSSL_NO_ARIA
170     {FT_cipher, "aria-192-cbc", enc_main, enc_options},
171 #endif
172 #ifndef OPENSSL_NO_ARIA
173     {FT_cipher, "aria-192-cfb", enc_main, enc_options},
174 #endif
175 #ifndef OPENSSL_NO_ARIA
176     {FT_cipher, "aria-192-ctr", enc_main, enc_options},
177 #endif
178 #ifndef OPENSSL_NO_ARIA
179     {FT_cipher, "aria-192-ecb", enc_main, enc_options},
180 #endif
181 #ifndef OPENSSL_NO_ARIA
182     {FT_cipher, "aria-192-ofb", enc_main, enc_options},
183 #endif
184 #ifndef OPENSSL_NO_ARIA
185     {FT_cipher, "aria-192-cfb1", enc_main, enc_options},
186 #endif
187 #ifndef OPENSSL_NO_ARIA
188     {FT_cipher, "aria-192-cfb8", enc_main, enc_options},
189 #endif
190 #ifndef OPENSSL_NO_ARIA
191     {FT_cipher, "aria-256-cbc", enc_main, enc_options},
192 #endif
193 #ifndef OPENSSL_NO_ARIA
194     {FT_cipher, "aria-256-cfb", enc_main, enc_options},
195 #endif
196 #ifndef OPENSSL_NO_ARIA
197     {FT_cipher, "aria-256-ctr", enc_main, enc_options},
198 #endif
199 #ifndef OPENSSL_NO_ARIA
200     {FT_cipher, "aria-256-ecb", enc_main, enc_options},
201 #endif
202 #ifndef OPENSSL_NO_ARIA
203     {FT_cipher, "aria-256-ofb", enc_main, enc_options},
204 #endif
205 #ifndef OPENSSL_NO_ARIA
206     {FT_cipher, "aria-256-cfb1", enc_main, enc_options},
207 #endif
208 #ifndef OPENSSL_NO_ARIA
209     {FT_cipher, "aria-256-cfb8", enc_main, enc_options},
210 #endif
211 #ifndef OPENSSL_NO_CAMELLIA
212     {FT_cipher, "camellia-128-cbc", enc_main, enc_options},
213 #endif
214 #ifndef OPENSSL_NO_CAMELLIA
215     {FT_cipher, "camellia-128-ecb", enc_main, enc_options},
216 #endif
217 #ifndef OPENSSL_NO_CAMELLIA
218     {FT_cipher, "camellia-192-cbc", enc_main, enc_options},
219 #endif
220 #ifndef OPENSSL_NO_CAMELLIA
221     {FT_cipher, "camellia-192-ecb", enc_main, enc_options},
222 #endif
223 #ifndef OPENSSL_NO_CAMELLIA
224     {FT_cipher, "camellia-256-cbc", enc_main, enc_options},
225 #endif
226 #ifndef OPENSSL_NO_CAMELLIA
227     {FT_cipher, "camellia-256-ecb", enc_main, enc_options},
228 #endif
229     {FT_cipher, "base64", enc_main, enc_options},
230 #ifdef ZLIB
231     {FT_cipher, "zlib", enc_main, enc_options},
232 #endif
233 #ifndef OPENSSL_NO_DES
234     {FT_cipher, "des", enc_main, enc_options},
235 #endif
236 #ifndef OPENSSL_NO_DES
237     {FT_cipher, "des3", enc_main, enc_options},
238 #endif
239 #ifndef OPENSSL_NO_DES
240     {FT_cipher, "desx", enc_main, enc_options},
241 #endif
242 #ifndef OPENSSL_NO_IDEA
243     {FT_cipher, "idea", enc_main, enc_options},
244 #endif
245 #ifndef OPENSSL_NO_SEED
246     {FT_cipher, "seed", enc_main, enc_options},
247 #endif
248 #ifndef OPENSSL_NO_RC4
249     {FT_cipher, "rc4", enc_main, enc_options},
250 #endif
251 #ifndef OPENSSL_NO_RC4
252     {FT_cipher, "rc4-40", enc_main, enc_options},
253 #endif
254 #ifndef OPENSSL_NO_RC2
255     {FT_cipher, "rc2", enc_main, enc_options},
256 #endif
257 #ifndef OPENSSL_NO_BF
258     {FT_cipher, "bf", enc_main, enc_options},
259 #endif
260 #ifndef OPENSSL_NO_CAST
261     {FT_cipher, "cast", enc_main, enc_options},
262 #endif
263 #ifndef OPENSSL_NO_RC5
264     {FT_cipher, "rc5", enc_main, enc_options},
265 #endif
266 #ifndef OPENSSL_NO_DES
267     {FT_cipher, "des-ecb", enc_main, enc_options},
268 #endif
269 #ifndef OPENSSL_NO_DES
270     {FT_cipher, "des-ede", enc_main, enc_options},
271 #endif
272 #ifndef OPENSSL_NO_DES
273     {FT_cipher, "des-ede3", enc_main, enc_options},
274 #endif
275 #ifndef OPENSSL_NO_DES
276     {FT_cipher, "des-cbc", enc_main, enc_options},
277 #endif
278 #ifndef OPENSSL_NO_DES
279     {FT_cipher, "des-ede-cbc", enc_main, enc_options},
280 #endif
281 #ifndef OPENSSL_NO_DES
282     {FT_cipher, "des-ede3-cbc", enc_main, enc_options},
283 #endif
284 #ifndef OPENSSL_NO_DES
285     {FT_cipher, "des-cfb", enc_main, enc_options},
286 #endif
287 #ifndef OPENSSL_NO_DES
288     {FT_cipher, "des-ede-cfb", enc_main, enc_options},
289 #endif
290 #ifndef OPENSSL_NO_DES
291     {FT_cipher, "des-ede3-cfb", enc_main, enc_options},
292 #endif
293 #ifndef OPENSSL_NO_DES
294     {FT_cipher, "des-ofb", enc_main, enc_options},
295 #endif
296 #ifndef OPENSSL_NO_DES
297     {FT_cipher, "des-ede-ofb", enc_main, enc_options},
298 #endif
299 #ifndef OPENSSL_NO_DES
300     {FT_cipher, "des-ede3-ofb", enc_main, enc_options},
301 #endif
302 #ifndef OPENSSL_NO_IDEA
303     {FT_cipher, "idea-cbc", enc_main, enc_options},
304 #endif
305 #ifndef OPENSSL_NO_IDEA
306     {FT_cipher, "idea-ecb", enc_main, enc_options},
307 #endif
308 #ifndef OPENSSL_NO_IDEA
309     {FT_cipher, "idea-cfb", enc_main, enc_options},
310 #endif
311 #ifndef OPENSSL_NO_IDEA
312     {FT_cipher, "idea-ofb", enc_main, enc_options},
313 #endif
314 #ifndef OPENSSL_NO_SEED
315     {FT_cipher, "seed-cbc", enc_main, enc_options},
316 #endif
317 #ifndef OPENSSL_NO_SEED
318     {FT_cipher, "seed-ecb", enc_main, enc_options},
319 #endif
320 #ifndef OPENSSL_NO_SEED
321     {FT_cipher, "seed-cfb", enc_main, enc_options},
322 #endif
323 #ifndef OPENSSL_NO_SEED
324     {FT_cipher, "seed-ofb", enc_main, enc_options},
325 #endif
326 #ifndef OPENSSL_NO_RC2
327     {FT_cipher, "rc2-cbc", enc_main, enc_options},
328 #endif
329 #ifndef OPENSSL_NO_RC2
330     {FT_cipher, "rc2-ecb", enc_main, enc_options},
331 #endif
332 #ifndef OPENSSL_NO_RC2
333     {FT_cipher, "rc2-cfb", enc_main, enc_options},
334 #endif
335 #ifndef OPENSSL_NO_RC2
336     {FT_cipher, "rc2-ofb", enc_main, enc_options},
337 #endif
338 #ifndef OPENSSL_NO_RC2
339     {FT_cipher, "rc2-64-cbc", enc_main, enc_options},
340 #endif
341 #ifndef OPENSSL_NO_RC2
342     {FT_cipher, "rc2-40-cbc", enc_main, enc_options},
343 #endif
344 #ifndef OPENSSL_NO_BF
345     {FT_cipher, "bf-cbc", enc_main, enc_options},
346 #endif
347 #ifndef OPENSSL_NO_BF
348     {FT_cipher, "bf-ecb", enc_main, enc_options},
349 #endif
350 #ifndef OPENSSL_NO_BF
351     {FT_cipher, "bf-cfb", enc_main, enc_options},
352 #endif
353 #ifndef OPENSSL_NO_BF
354     {FT_cipher, "bf-ofb", enc_main, enc_options},
355 #endif
356 #ifndef OPENSSL_NO_CAST
357     {FT_cipher, "cast5-cbc", enc_main, enc_options},
358 #endif
359 #ifndef OPENSSL_NO_CAST
360     {FT_cipher, "cast5-ecb", enc_main, enc_options},
361 #endif
362 #ifndef OPENSSL_NO_CAST
363     {FT_cipher, "cast5-cfb", enc_main, enc_options},
364 #endif
365 #ifndef OPENSSL_NO_CAST
366     {FT_cipher, "cast5-ofb", enc_main, enc_options},
367 #endif
368 #ifndef OPENSSL_NO_CAST
369     {FT_cipher, "cast-cbc", enc_main, enc_options},
370 #endif
371 #ifndef OPENSSL_NO_RC5
372     {FT_cipher, "rc5-cbc", enc_main, enc_options},
373 #endif
374 #ifndef OPENSSL_NO_RC5
375     {FT_cipher, "rc5-ecb", enc_main, enc_options},
376 #endif
377 #ifndef OPENSSL_NO_RC5
378     {FT_cipher, "rc5-cfb", enc_main, enc_options},
379 #endif
380 #ifndef OPENSSL_NO_RC5
381     {FT_cipher, "rc5-ofb", enc_main, enc_options},
382 #endif
383 #ifndef OPENSSL_NO_SM4
384     {FT_cipher, "sm4-cbc", enc_main, enc_options},
385 #endif
386 #ifndef OPENSSL_NO_SM4
387     {FT_cipher, "sm4-ecb", enc_main, enc_options},
388 #endif
389 #ifndef OPENSSL_NO_SM4
390     {FT_cipher, "sm4-cfb", enc_main, enc_options},
391 #endif
392 #ifndef OPENSSL_NO_SM4
393     {FT_cipher, "sm4-ofb", enc_main, enc_options},
394 #endif
395 #ifndef OPENSSL_NO_SM4
396     {FT_cipher, "sm4-ctr", enc_main, enc_options},
397 #endif
398     {0, NULL, NULL}
399 };