Lines Matching defs:args
80 char **args, *outfile = NULL;
104 args = argv + 1;
105 while (!badarg && *args && *args[0] == '-') {
106 if (!strcmp(*args, "-outform")) {
107 if (args[1]) {
108 args++;
109 outformat = str2fmt(*args);
112 } else if (!strcmp(*args, "-pass")) {
113 if (!args[1])
115 passarg = *(++args);
118 else if (strcmp(*args, "-engine") == 0) {
119 if (!args[1])
121 e = setup_engine(bio_err, *(++args), 0);
124 else if (!strcmp(*args, "-paramfile")) {
125 if (!args[1])
127 args++;
130 if (!init_keygen_file(bio_err, &ctx, *args, e))
132 } else if (!strcmp(*args, "-out")) {
133 if (args[1]) {
134 args++;
135 outfile = *args;
138 } else if (strcmp(*args, "-algorithm") == 0) {
139 if (!args[1])
141 if (!init_gen_str(bio_err, &ctx, *(++args), e, do_param))
143 } else if (strcmp(*args, "-pkeyopt") == 0) {
144 if (!args[1])
149 } else if (pkey_ctrl_string(ctx, *(++args)) <= 0) {
154 } else if (strcmp(*args, "-genparam") == 0) {
158 } else if (strcmp(*args, "-text") == 0)
161 cipher = EVP_get_cipherbyname(*args + 1);
163 BIO_printf(bio_err, "Unknown cipher %s\n", *args + 1);
169 args++;