rsa.c (160814) | rsa.c (162911) |
---|---|
1/* apps/rsa.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/rsa.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 RSA key modulus 89 * -check - verify key consistency 90 * -pubin - Expect a public key in input file. 91 * -pubout - Output a public key. 92 */ 93 94int MAIN(int, char **); --- 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 RSA key modulus 92 * -check - verify key consistency 93 * -pubin - Expect a public key in input file. 94 * -pubout - Output a public key. 95 */ 96 97int MAIN(int, char **); --- 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 RSA key modulus\n"); 218 BIO_printf(bio_err," -check verify key consistency\n"); 219 BIO_printf(bio_err," -pubin expect a public key in input file\n"); 220 BIO_printf(bio_err," -pubout output a public key\n"); 221#ifndef OPENSSL_NO_ENGINE 222 BIO_printf(bio_err," -engine e use engine e, possibly a hardware device.\n"); --- 168 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 RSA key modulus\n"); 225 BIO_printf(bio_err," -check verify key consistency\n"); 226 BIO_printf(bio_err," -pubin expect a public key in input file\n"); 227 BIO_printf(bio_err," -pubout output a public key\n"); 228#ifndef OPENSSL_NO_ENGINE 229 BIO_printf(bio_err," -engine e use engine e, possibly a hardware device.\n"); --- 168 unchanged lines hidden --- |