Deleted Added
sdiff udiff text old ( 160814 ) new ( 162911 )
full compact
1/* apps/gendsa.c */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved.
4 *
5 * This package is an SSL implementation written
6 * by Eric Young (eay@cryptsoft.com).
7 * The implementation was written so as to conform with Netscapes SSL.
8 *

--- 134 unchanged lines hidden (view full) ---

143#ifndef OPENSSL_NO_AES
144 else if (strcmp(*argv,"-aes128") == 0)
145 enc=EVP_aes_128_cbc();
146 else if (strcmp(*argv,"-aes192") == 0)
147 enc=EVP_aes_192_cbc();
148 else if (strcmp(*argv,"-aes256") == 0)
149 enc=EVP_aes_256_cbc();
150#endif
151 else if (**argv != '-' && dsaparams == NULL)
152 {
153 dsaparams = *argv;
154 }
155 else
156 goto bad;
157 argv++;
158 argc--;

--- 10 unchanged lines hidden (view full) ---

169#endif
170#ifndef OPENSSL_NO_IDEA
171 BIO_printf(bio_err," -idea - encrypt the generated key with IDEA in cbc mode\n");
172#endif
173#ifndef OPENSSL_NO_AES
174 BIO_printf(bio_err," -aes128, -aes192, -aes256\n");
175 BIO_printf(bio_err," encrypt PEM output with cbc aes\n");
176#endif
177#ifndef OPENSSL_NO_ENGINE
178 BIO_printf(bio_err," -engine e - use engine e, possibly a hardware device.\n");
179#endif
180 BIO_printf(bio_err," -rand file%cfile%c...\n", LIST_SEPARATOR_CHAR, LIST_SEPARATOR_CHAR);
181 BIO_printf(bio_err," - load the file (or the files in the directory) into\n");
182 BIO_printf(bio_err," the random number generator\n");
183 BIO_printf(bio_err," dsaparam-file\n");
184 BIO_printf(bio_err," - a DSA parameter file as generated by the dsaparam command\n");

--- 78 unchanged lines hidden ---