summaryrefslogtreecommitdiffstats
path: root/apps/rsa.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2007-04-23 23:50:26 +0000
committerBodo Möller <bodo@openssl.org>2007-04-23 23:50:26 +0000
commitc3cc4662affa40ad8a88499a53a14209fa723677 (patch)
tree3c1458cdf4cfbd59ff2b9177b0293aa3f06b1caa /apps/rsa.c
parent22892f9803fb9b4b6d208b34580555120e852229 (diff)
Add SEED encryption algorithm.
PR: 1503 Submitted by: KISA Reviewed by: Bodo Moeller
Diffstat (limited to 'apps/rsa.c')
-rw-r--r--apps/rsa.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/rsa.c b/apps/rsa.c
index cf09a190ca..930f1f038a 100644
--- a/apps/rsa.c
+++ b/apps/rsa.c
@@ -81,6 +81,7 @@
* -des - encrypt output if PEM format with DES in cbc mode
* -des3 - encrypt output if PEM format
* -idea - encrypt output if PEM format
+ * -seed - encrypt output if PEM format
* -aes128 - encrypt output if PEM format
* -aes192 - encrypt output if PEM format
* -aes256 - encrypt output if PEM format
@@ -211,6 +212,9 @@ bad:
#ifndef OPENSSL_NO_IDEA
BIO_printf(bio_err," -idea encrypt PEM output with cbc idea\n");
#endif
+#ifndef OPENSSL_NO_SEED
+ BIO_printf(bio_err," -seed encrypt PEM output with cbc seed\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");