gendsa.c (160814) | gendsa.c (162911) |
---|---|
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 | 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#ifndef OPENSSL_NO_CAMELLIA 152 else if (strcmp(*argv,"-camellia128") == 0) 153 enc=EVP_camellia_128_cbc(); 154 else if (strcmp(*argv,"-camellia192") == 0) 155 enc=EVP_camellia_192_cbc(); 156 else if (strcmp(*argv,"-camellia256") == 0) 157 enc=EVP_camellia_256_cbc(); 158#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 | 159 else if (**argv != '-' && dsaparams == NULL) 160 { 161 dsaparams = *argv; 162 } 163 else 164 goto bad; 165 argv++; 166 argc--; --- 10 unchanged lines hidden (view full) --- 177#endif 178#ifndef OPENSSL_NO_IDEA 179 BIO_printf(bio_err," -idea - encrypt the generated key with IDEA in cbc mode\n"); 180#endif 181#ifndef OPENSSL_NO_AES 182 BIO_printf(bio_err," -aes128, -aes192, -aes256\n"); 183 BIO_printf(bio_err," encrypt PEM output with cbc aes\n"); 184#endif |
185#ifndef OPENSSL_NO_CAMELLIA 186 BIO_printf(bio_err," -camellia128, -camellia192, -camellia256\n"); 187 BIO_printf(bio_err," encrypt PEM output with cbc camellia\n"); 188#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 --- | 189#ifndef OPENSSL_NO_ENGINE 190 BIO_printf(bio_err," -engine e - use engine e, possibly a hardware device.\n"); 191#endif 192 BIO_printf(bio_err," -rand file%cfile%c...\n", LIST_SEPARATOR_CHAR, LIST_SEPARATOR_CHAR); 193 BIO_printf(bio_err," - load the file (or the files in the directory) into\n"); 194 BIO_printf(bio_err," the random number generator\n"); 195 BIO_printf(bio_err," dsaparam-file\n"); 196 BIO_printf(bio_err," - a DSA parameter file as generated by the dsaparam command\n"); --- 78 unchanged lines hidden --- |