Home | History | Annotate | Download | only in apps

Lines Matching refs:argv

102 int MAIN(int argc, char **argv)
146 program_name(argv[0],pname,sizeof pname);
167 argv++;
170 if (strcmp(*argv,"-e") == 0)
172 else if (strcmp(*argv,"-in") == 0)
175 inf= *(++argv);
177 else if (strcmp(*argv,"-out") == 0)
180 outf= *(++argv);
182 else if (strcmp(*argv,"-pass") == 0)
185 passarg= *(++argv);
188 else if (strcmp(*argv,"-engine") == 0)
191 engine= *(++argv);
194 else if (strcmp(*argv,"-d") == 0)
196 else if (strcmp(*argv,"-p") == 0)
198 else if (strcmp(*argv,"-v") == 0)
200 else if (strcmp(*argv,"-nopad") == 0)
202 else if (strcmp(*argv,"-salt") == 0)
204 else if (strcmp(*argv,"-nosalt") == 0)
206 else if (strcmp(*argv,"-debug") == 0)
208 else if (strcmp(*argv,"-P") == 0)
210 else if (strcmp(*argv,"-A") == 0)
212 else if (strcmp(*argv,"-a") == 0)
214 else if (strcmp(*argv,"-base64") == 0)
217 else if (strcmp(*argv,"-z") == 0)
220 else if (strcmp(*argv,"-bufsize") == 0)
223 bufsize=(unsigned char *)*(++argv);
225 else if (strcmp(*argv,"-k") == 0)
228 str= *(++argv);
230 else if (strcmp(*argv,"-kfile") == 0)
237 file= *(++argv);
267 else if (strcmp(*argv,"-K") == 0)
270 hkey= *(++argv);
272 else if (strcmp(*argv,"-S") == 0)
275 hsalt= *(++argv);
277 else if (strcmp(*argv,"-iv") == 0)
280 hiv= *(++argv);
282 else if (strcmp(*argv,"-md") == 0)
285 md= *(++argv);
287 else if ((argv[0][0] == '-') &&
288 ((c=EVP_get_cipherbyname(&(argv[0][1]))) != NULL))
292 else if (strcmp(*argv,"-none") == 0)
296 BIO_printf(bio_err,"unknown option '%s'\n",*argv);
327 argv++;