2 * WARNING: do not edit!
3 * Generated by apps/progs.pl
5 * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
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
15 FUNCTION functions[] = {
16 {FT_general, "asn1parse", asn1parse_main, asn1parse_options, NULL},
17 {FT_general, "ca", ca_main, ca_options, NULL},
18 #ifndef OPENSSL_NO_SOCK
19 {FT_general, "ciphers", ciphers_main, ciphers_options, NULL},
21 #ifndef OPENSSL_NO_CMS
22 {FT_general, "cms", cms_main, cms_options, NULL},
24 {FT_general, "crl", crl_main, crl_options, NULL},
25 {FT_general, "crl2pkcs7", crl2pkcs7_main, crl2pkcs7_options, NULL},
26 {FT_general, "dgst", dgst_main, dgst_options, NULL},
27 #if !defined(OPENSSL_NO_DH) && !defined(OPENSSL_NO_DEPRECATED_3_0)
28 {FT_general, "dhparam", dhparam_main, dhparam_options, "pkeyparam"},
30 #if !defined(OPENSSL_NO_DSA) && !defined(OPENSSL_NO_DEPRECATED_3_0)
31 {FT_general, "dsa", dsa_main, dsa_options, "pkey"},
33 #if !defined(OPENSSL_NO_DSA) && !defined(OPENSSL_NO_DEPRECATED_3_0)
34 {FT_general, "dsaparam", dsaparam_main, dsaparam_options, "pkeyparam"},
36 #if !defined(OPENSSL_NO_EC) && !defined(OPENSSL_NO_DEPRECATED_3_0)
37 {FT_general, "ec", ec_main, ec_options, "pkey"},
39 #if !defined(OPENSSL_NO_EC) && !defined(OPENSSL_NO_DEPRECATED_3_0)
40 {FT_general, "ecparam", ecparam_main, ecparam_options, "pkeyparam"},
42 {FT_general, "enc", enc_main, enc_options, NULL},
43 #ifndef OPENSSL_NO_ENGINE
44 {FT_general, "engine", engine_main, engine_options, NULL},
46 {FT_general, "errstr", errstr_main, errstr_options, NULL},
47 {FT_general, "fipsinstall", fipsinstall_main, fipsinstall_options, NULL},
48 #if !defined(OPENSSL_NO_DSA) && !defined(OPENSSL_NO_DEPRECATED_3_0)
49 {FT_general, "gendsa", gendsa_main, gendsa_options, "genpkey"},
51 {FT_general, "genpkey", genpkey_main, genpkey_options, NULL},
52 #if !defined(OPENSSL_NO_RSA) && !defined(OPENSSL_NO_DEPRECATED_3_0)
53 {FT_general, "genrsa", genrsa_main, genrsa_options, "genpkey"},
55 {FT_general, "help", help_main, help_options, NULL},
56 {FT_general, "info", info_main, info_options, NULL},
57 {FT_general, "kdf", kdf_main, kdf_options, NULL},
58 {FT_general, "list", list_main, list_options, NULL},
59 {FT_general, "mac", mac_main, mac_options, NULL},
60 {FT_general, "nseq", nseq_main, nseq_options, NULL},
61 #ifndef OPENSSL_NO_OCSP
62 {FT_general, "ocsp", ocsp_main, ocsp_options, NULL},
64 {FT_general, "passwd", passwd_main, passwd_options, NULL},
65 #ifndef OPENSSL_NO_DES
66 {FT_general, "pkcs12", pkcs12_main, pkcs12_options, NULL},
68 {FT_general, "pkcs7", pkcs7_main, pkcs7_options, NULL},
69 {FT_general, "pkcs8", pkcs8_main, pkcs8_options, NULL},
70 {FT_general, "pkey", pkey_main, pkey_options, NULL},
71 {FT_general, "pkeyparam", pkeyparam_main, pkeyparam_options, NULL},
72 {FT_general, "pkeyutl", pkeyutl_main, pkeyutl_options, NULL},
73 {FT_general, "prime", prime_main, prime_options, NULL},
74 {FT_general, "provider", provider_main, provider_options, NULL},
75 {FT_general, "rand", rand_main, rand_options, NULL},
76 {FT_general, "rehash", rehash_main, rehash_options, NULL},
77 {FT_general, "req", req_main, req_options, NULL},
78 #if !defined(OPENSSL_NO_RSA) && !defined(OPENSSL_NO_DEPRECATED_3_0)
79 {FT_general, "rsa", rsa_main, rsa_options, "pkey"},
81 #if !defined(OPENSSL_NO_RSA) && !defined(OPENSSL_NO_DEPRECATED_3_0)
82 {FT_general, "rsautl", rsautl_main, rsautl_options, "pkeyutl"},
84 #ifndef OPENSSL_NO_SOCK
85 {FT_general, "s_client", s_client_main, s_client_options, NULL},
87 #ifndef OPENSSL_NO_SOCK
88 {FT_general, "s_server", s_server_main, s_server_options, NULL},
90 #ifndef OPENSSL_NO_SOCK
91 {FT_general, "s_time", s_time_main, s_time_options, NULL},
93 {FT_general, "sess_id", sess_id_main, sess_id_options, NULL},
94 {FT_general, "smime", smime_main, smime_options, NULL},
95 {FT_general, "speed", speed_main, speed_options, NULL},
96 {FT_general, "spkac", spkac_main, spkac_options, NULL},
97 #ifndef OPENSSL_NO_SRP
98 {FT_general, "srp", srp_main, srp_options, NULL},
100 {FT_general, "storeutl", storeutl_main, storeutl_options, NULL},
101 #ifndef OPENSSL_NO_TS
102 {FT_general, "ts", ts_main, ts_options, NULL},
104 {FT_general, "verify", verify_main, verify_options, NULL},
105 {FT_general, "version", version_main, version_options, NULL},
106 {FT_general, "x509", x509_main, x509_options, NULL},
107 #ifndef OPENSSL_NO_MD2
108 {FT_md, "md2", dgst_main, NULL, NULL},
110 #ifndef OPENSSL_NO_MD4
111 {FT_md, "md4", dgst_main, NULL, NULL},
113 {FT_md, "md5", dgst_main, NULL, NULL},
114 #ifndef OPENSSL_NO_GOST
115 {FT_md, "gost", dgst_main, NULL, NULL},
117 {FT_md, "sha1", dgst_main, NULL, NULL},
118 {FT_md, "sha224", dgst_main, NULL, NULL},
119 {FT_md, "sha256", dgst_main, NULL, NULL},
120 {FT_md, "sha384", dgst_main, NULL, NULL},
121 {FT_md, "sha512", dgst_main, NULL, NULL},
122 {FT_md, "sha512-224", dgst_main, NULL, NULL},
123 {FT_md, "sha512-256", dgst_main, NULL, NULL},
124 {FT_md, "sha3-224", dgst_main, NULL, NULL},
125 {FT_md, "sha3-256", dgst_main, NULL, NULL},
126 {FT_md, "sha3-384", dgst_main, NULL, NULL},
127 {FT_md, "sha3-512", dgst_main, NULL, NULL},
128 {FT_md, "shake128", dgst_main, NULL, NULL},
129 {FT_md, "shake256", dgst_main, NULL, NULL},
130 #ifndef OPENSSL_NO_MDC2
131 {FT_md, "mdc2", dgst_main, NULL, NULL},
133 #ifndef OPENSSL_NO_RMD160
134 {FT_md, "rmd160", dgst_main, NULL, NULL},
136 #ifndef OPENSSL_NO_BLAKE2
137 {FT_md, "blake2b512", dgst_main, NULL, NULL},
139 #ifndef OPENSSL_NO_BLAKE2
140 {FT_md, "blake2s256", dgst_main, NULL, NULL},
142 #ifndef OPENSSL_NO_SM3
143 {FT_md, "sm3", dgst_main, NULL, NULL},
145 {FT_cipher, "aes-128-cbc", enc_main, enc_options, NULL},
146 {FT_cipher, "aes-128-ecb", enc_main, enc_options, NULL},
147 {FT_cipher, "aes-192-cbc", enc_main, enc_options, NULL},
148 {FT_cipher, "aes-192-ecb", enc_main, enc_options, NULL},
149 {FT_cipher, "aes-256-cbc", enc_main, enc_options, NULL},
150 {FT_cipher, "aes-256-ecb", enc_main, enc_options, NULL},
151 #ifndef OPENSSL_NO_ARIA
152 {FT_cipher, "aria-128-cbc", enc_main, enc_options, NULL},
154 #ifndef OPENSSL_NO_ARIA
155 {FT_cipher, "aria-128-cfb", enc_main, enc_options, NULL},
157 #ifndef OPENSSL_NO_ARIA
158 {FT_cipher, "aria-128-ctr", enc_main, enc_options, NULL},
160 #ifndef OPENSSL_NO_ARIA
161 {FT_cipher, "aria-128-ecb", enc_main, enc_options, NULL},
163 #ifndef OPENSSL_NO_ARIA
164 {FT_cipher, "aria-128-ofb", enc_main, enc_options, NULL},
166 #ifndef OPENSSL_NO_ARIA
167 {FT_cipher, "aria-128-cfb1", enc_main, enc_options, NULL},
169 #ifndef OPENSSL_NO_ARIA
170 {FT_cipher, "aria-128-cfb8", enc_main, enc_options, NULL},
172 #ifndef OPENSSL_NO_ARIA
173 {FT_cipher, "aria-192-cbc", enc_main, enc_options, NULL},
175 #ifndef OPENSSL_NO_ARIA
176 {FT_cipher, "aria-192-cfb", enc_main, enc_options, NULL},
178 #ifndef OPENSSL_NO_ARIA
179 {FT_cipher, "aria-192-ctr", enc_main, enc_options, NULL},
181 #ifndef OPENSSL_NO_ARIA
182 {FT_cipher, "aria-192-ecb", enc_main, enc_options, NULL},
184 #ifndef OPENSSL_NO_ARIA
185 {FT_cipher, "aria-192-ofb", enc_main, enc_options, NULL},
187 #ifndef OPENSSL_NO_ARIA
188 {FT_cipher, "aria-192-cfb1", enc_main, enc_options, NULL},
190 #ifndef OPENSSL_NO_ARIA
191 {FT_cipher, "aria-192-cfb8", enc_main, enc_options, NULL},
193 #ifndef OPENSSL_NO_ARIA
194 {FT_cipher, "aria-256-cbc", enc_main, enc_options, NULL},
196 #ifndef OPENSSL_NO_ARIA
197 {FT_cipher, "aria-256-cfb", enc_main, enc_options, NULL},
199 #ifndef OPENSSL_NO_ARIA
200 {FT_cipher, "aria-256-ctr", enc_main, enc_options, NULL},
202 #ifndef OPENSSL_NO_ARIA
203 {FT_cipher, "aria-256-ecb", enc_main, enc_options, NULL},
205 #ifndef OPENSSL_NO_ARIA
206 {FT_cipher, "aria-256-ofb", enc_main, enc_options, NULL},
208 #ifndef OPENSSL_NO_ARIA
209 {FT_cipher, "aria-256-cfb1", enc_main, enc_options, NULL},
211 #ifndef OPENSSL_NO_ARIA
212 {FT_cipher, "aria-256-cfb8", enc_main, enc_options, NULL},
214 #ifndef OPENSSL_NO_CAMELLIA
215 {FT_cipher, "camellia-128-cbc", enc_main, enc_options, NULL},
217 #ifndef OPENSSL_NO_CAMELLIA
218 {FT_cipher, "camellia-128-ecb", enc_main, enc_options, NULL},
220 #ifndef OPENSSL_NO_CAMELLIA
221 {FT_cipher, "camellia-192-cbc", enc_main, enc_options, NULL},
223 #ifndef OPENSSL_NO_CAMELLIA
224 {FT_cipher, "camellia-192-ecb", enc_main, enc_options, NULL},
226 #ifndef OPENSSL_NO_CAMELLIA
227 {FT_cipher, "camellia-256-cbc", enc_main, enc_options, NULL},
229 #ifndef OPENSSL_NO_CAMELLIA
230 {FT_cipher, "camellia-256-ecb", enc_main, enc_options, NULL},
232 {FT_cipher, "base64", enc_main, enc_options, NULL},
234 {FT_cipher, "zlib", enc_main, enc_options, NULL},
236 #ifndef OPENSSL_NO_DES
237 {FT_cipher, "des", enc_main, enc_options, NULL},
239 #ifndef OPENSSL_NO_DES
240 {FT_cipher, "des3", enc_main, enc_options, NULL},
242 #ifndef OPENSSL_NO_DES
243 {FT_cipher, "desx", enc_main, enc_options, NULL},
245 #ifndef OPENSSL_NO_IDEA
246 {FT_cipher, "idea", enc_main, enc_options, NULL},
248 #ifndef OPENSSL_NO_SEED
249 {FT_cipher, "seed", enc_main, enc_options, NULL},
251 #ifndef OPENSSL_NO_RC4
252 {FT_cipher, "rc4", enc_main, enc_options, NULL},
254 #ifndef OPENSSL_NO_RC4
255 {FT_cipher, "rc4-40", enc_main, enc_options, NULL},
257 #ifndef OPENSSL_NO_RC2
258 {FT_cipher, "rc2", enc_main, enc_options, NULL},
260 #ifndef OPENSSL_NO_BF
261 {FT_cipher, "bf", enc_main, enc_options, NULL},
263 #ifndef OPENSSL_NO_CAST
264 {FT_cipher, "cast", enc_main, enc_options, NULL},
266 #ifndef OPENSSL_NO_RC5
267 {FT_cipher, "rc5", enc_main, enc_options, NULL},
269 #ifndef OPENSSL_NO_DES
270 {FT_cipher, "des-ecb", enc_main, enc_options, NULL},
272 #ifndef OPENSSL_NO_DES
273 {FT_cipher, "des-ede", enc_main, enc_options, NULL},
275 #ifndef OPENSSL_NO_DES
276 {FT_cipher, "des-ede3", enc_main, enc_options, NULL},
278 #ifndef OPENSSL_NO_DES
279 {FT_cipher, "des-cbc", enc_main, enc_options, NULL},
281 #ifndef OPENSSL_NO_DES
282 {FT_cipher, "des-ede-cbc", enc_main, enc_options, NULL},
284 #ifndef OPENSSL_NO_DES
285 {FT_cipher, "des-ede3-cbc", enc_main, enc_options, NULL},
287 #ifndef OPENSSL_NO_DES
288 {FT_cipher, "des-cfb", enc_main, enc_options, NULL},
290 #ifndef OPENSSL_NO_DES
291 {FT_cipher, "des-ede-cfb", enc_main, enc_options, NULL},
293 #ifndef OPENSSL_NO_DES
294 {FT_cipher, "des-ede3-cfb", enc_main, enc_options, NULL},
296 #ifndef OPENSSL_NO_DES
297 {FT_cipher, "des-ofb", enc_main, enc_options, NULL},
299 #ifndef OPENSSL_NO_DES
300 {FT_cipher, "des-ede-ofb", enc_main, enc_options, NULL},
302 #ifndef OPENSSL_NO_DES
303 {FT_cipher, "des-ede3-ofb", enc_main, enc_options, NULL},
305 #ifndef OPENSSL_NO_IDEA
306 {FT_cipher, "idea-cbc", enc_main, enc_options, NULL},
308 #ifndef OPENSSL_NO_IDEA
309 {FT_cipher, "idea-ecb", enc_main, enc_options, NULL},
311 #ifndef OPENSSL_NO_IDEA
312 {FT_cipher, "idea-cfb", enc_main, enc_options, NULL},
314 #ifndef OPENSSL_NO_IDEA
315 {FT_cipher, "idea-ofb", enc_main, enc_options, NULL},
317 #ifndef OPENSSL_NO_SEED
318 {FT_cipher, "seed-cbc", enc_main, enc_options, NULL},
320 #ifndef OPENSSL_NO_SEED
321 {FT_cipher, "seed-ecb", enc_main, enc_options, NULL},
323 #ifndef OPENSSL_NO_SEED
324 {FT_cipher, "seed-cfb", enc_main, enc_options, NULL},
326 #ifndef OPENSSL_NO_SEED
327 {FT_cipher, "seed-ofb", enc_main, enc_options, NULL},
329 #ifndef OPENSSL_NO_RC2
330 {FT_cipher, "rc2-cbc", enc_main, enc_options, NULL},
332 #ifndef OPENSSL_NO_RC2
333 {FT_cipher, "rc2-ecb", enc_main, enc_options, NULL},
335 #ifndef OPENSSL_NO_RC2
336 {FT_cipher, "rc2-cfb", enc_main, enc_options, NULL},
338 #ifndef OPENSSL_NO_RC2
339 {FT_cipher, "rc2-ofb", enc_main, enc_options, NULL},
341 #ifndef OPENSSL_NO_RC2
342 {FT_cipher, "rc2-64-cbc", enc_main, enc_options, NULL},
344 #ifndef OPENSSL_NO_RC2
345 {FT_cipher, "rc2-40-cbc", enc_main, enc_options, NULL},
347 #ifndef OPENSSL_NO_BF
348 {FT_cipher, "bf-cbc", enc_main, enc_options, NULL},
350 #ifndef OPENSSL_NO_BF
351 {FT_cipher, "bf-ecb", enc_main, enc_options, NULL},
353 #ifndef OPENSSL_NO_BF
354 {FT_cipher, "bf-cfb", enc_main, enc_options, NULL},
356 #ifndef OPENSSL_NO_BF
357 {FT_cipher, "bf-ofb", enc_main, enc_options, NULL},
359 #ifndef OPENSSL_NO_CAST
360 {FT_cipher, "cast5-cbc", enc_main, enc_options, NULL},
362 #ifndef OPENSSL_NO_CAST
363 {FT_cipher, "cast5-ecb", enc_main, enc_options, NULL},
365 #ifndef OPENSSL_NO_CAST
366 {FT_cipher, "cast5-cfb", enc_main, enc_options, NULL},
368 #ifndef OPENSSL_NO_CAST
369 {FT_cipher, "cast5-ofb", enc_main, enc_options, NULL},
371 #ifndef OPENSSL_NO_CAST
372 {FT_cipher, "cast-cbc", enc_main, enc_options, NULL},
374 #ifndef OPENSSL_NO_RC5
375 {FT_cipher, "rc5-cbc", enc_main, enc_options, NULL},
377 #ifndef OPENSSL_NO_RC5
378 {FT_cipher, "rc5-ecb", enc_main, enc_options, NULL},
380 #ifndef OPENSSL_NO_RC5
381 {FT_cipher, "rc5-cfb", enc_main, enc_options, NULL},
383 #ifndef OPENSSL_NO_RC5
384 {FT_cipher, "rc5-ofb", enc_main, enc_options, NULL},
386 #ifndef OPENSSL_NO_SM4
387 {FT_cipher, "sm4-cbc", enc_main, enc_options, NULL},
389 #ifndef OPENSSL_NO_SM4
390 {FT_cipher, "sm4-ecb", enc_main, enc_options, NULL},
392 #ifndef OPENSSL_NO_SM4
393 {FT_cipher, "sm4-cfb", enc_main, enc_options, NULL},
395 #ifndef OPENSSL_NO_SM4
396 {FT_cipher, "sm4-ofb", enc_main, enc_options, NULL},
398 #ifndef OPENSSL_NO_SM4
399 {FT_cipher, "sm4-ctr", enc_main, enc_options, NULL},
401 {0, NULL, NULL, NULL, NULL}