aboutsummaryrefslogtreecommitdiffstats
path: root/apps/rsa.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-02-20 18:03:07 +0000
committerRichard Levitte <levitte@openssl.org>2002-02-20 18:03:07 +0000
commitb3dfaaa143d06eb23ec0985ba37bd9ab24bee6bb (patch)
tree446c34f771f45a446b06d726a93363d193216794 /apps/rsa.c
parent5b7848a34578e5819e9bb335e9da0e9d04ab921d (diff)
downloadopenssl-b3dfaaa143d06eb23ec0985ba37bd9ab24bee6bb.tar.gz
Add AES support in the applications that support -des and -des3.
Diffstat (limited to 'apps/rsa.c')
-rw-r--r--apps/rsa.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/rsa.c b/apps/rsa.c
index 863159d83a..6cadcb2174 100644
--- a/apps/rsa.c
+++ b/apps/rsa.c
@@ -79,6 +79,9 @@
* -des - encrypt output if PEM format with DES in cbc mode
* -des3 - encrypt output if PEM format
* -idea - encrypt output if PEM format
+ * -aes128 - encrypt output if PEM format
+ * -aes192 - encrypt output if PEM format
+ * -aes256 - encrypt output if PEM format
* -text - print a text version
* -modulus - print the RSA key modulus
* -check - verify key consistency
@@ -196,6 +199,10 @@ bad:
#ifndef OPENSSL_NO_IDEA
BIO_printf(bio_err," -idea encrypt PEM output with cbc idea\n");
#endif
+#ifndef OPENSSL_NO_AES
+ BIO_printf(bio_err," -aes128, -aes192, -aes256\n");
+ BIO_printf(bio_err," encrypt PEM output with cbc aes\n");
+#endif
BIO_printf(bio_err," -text print the key in text\n");
BIO_printf(bio_err," -noout don't print key out\n");
BIO_printf(bio_err," -modulus print the RSA key modulus\n");