Deleted Added
full compact
dsa.c (160814) dsa.c (162911)
1/* apps/dsa.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 *

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

79 * -in arg - input file - default stdin
80 * -out arg - output file - default stdout
81 * -des - encrypt output if PEM format with DES in cbc mode
82 * -des3 - encrypt output if PEM format
83 * -idea - encrypt output if PEM format
84 * -aes128 - encrypt output if PEM format
85 * -aes192 - encrypt output if PEM format
86 * -aes256 - encrypt output if PEM format
1/* apps/dsa.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 *

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

79 * -in arg - input file - default stdin
80 * -out arg - output file - default stdout
81 * -des - encrypt output if PEM format with DES in cbc mode
82 * -des3 - encrypt output if PEM format
83 * -idea - encrypt output if PEM format
84 * -aes128 - encrypt output if PEM format
85 * -aes192 - encrypt output if PEM format
86 * -aes256 - encrypt output if PEM format
87 * -camellia128 - encrypt output if PEM format
88 * -camellia192 - encrypt output if PEM format
89 * -camellia256 - encrypt output if PEM format
87 * -text - print a text version
88 * -modulus - print the DSA public key
89 */
90
91int MAIN(int, char **);
92
93int MAIN(int argc, char **argv)
94 {

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

207 BIO_printf(bio_err," -des3 encrypt PEM output with ede cbc des using 168 bit key\n");
208#ifndef OPENSSL_NO_IDEA
209 BIO_printf(bio_err," -idea encrypt PEM output with cbc idea\n");
210#endif
211#ifndef OPENSSL_NO_AES
212 BIO_printf(bio_err," -aes128, -aes192, -aes256\n");
213 BIO_printf(bio_err," encrypt PEM output with cbc aes\n");
214#endif
90 * -text - print a text version
91 * -modulus - print the DSA public key
92 */
93
94int MAIN(int, char **);
95
96int MAIN(int argc, char **argv)
97 {

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

210 BIO_printf(bio_err," -des3 encrypt PEM output with ede cbc des using 168 bit key\n");
211#ifndef OPENSSL_NO_IDEA
212 BIO_printf(bio_err," -idea encrypt PEM output with cbc idea\n");
213#endif
214#ifndef OPENSSL_NO_AES
215 BIO_printf(bio_err," -aes128, -aes192, -aes256\n");
216 BIO_printf(bio_err," encrypt PEM output with cbc aes\n");
217#endif
218#ifndef OPENSSL_NO_CAMELLIA
219 BIO_printf(bio_err," -camellia128, -camellia192, -camellia256\n");
220 BIO_printf(bio_err," encrypt PEM output with cbc camellia\n");
221#endif
215 BIO_printf(bio_err," -text print the key in text\n");
216 BIO_printf(bio_err," -noout don't print key out\n");
217 BIO_printf(bio_err," -modulus print the DSA public value\n");
218 goto end;
219 }
220
221 ERR_load_crypto_strings();
222

--- 112 unchanged lines hidden ---
222 BIO_printf(bio_err," -text print the key in text\n");
223 BIO_printf(bio_err," -noout don't print key out\n");
224 BIO_printf(bio_err," -modulus print the DSA public value\n");
225 goto end;
226 }
227
228 ERR_load_crypto_strings();
229

--- 112 unchanged lines hidden ---