summaryrefslogtreecommitdiffstats
path: root/apps/rsa.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2006-06-09 15:42:21 +0000
committerBodo Möller <bodo@openssl.org>2006-06-09 15:42:21 +0000
commite18eef3d7ab9a6b4f229d95c8d32d25c66243103 (patch)
tree92f77102b848b7c55a29e1a63b8c6d9dfd8781ac /apps/rsa.c
parente78fc11a9587091d639473f3c2c68882223418d8 (diff)
Camellia cipher, contributed by NTT
Submitted by: Masashi Fujita Reviewed by: Bodo Moeller
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 d5cb7b7212..cf09a190ca 100644
--- a/apps/rsa.c
+++ b/apps/rsa.c
@@ -84,6 +84,9 @@
* -aes128 - encrypt output if PEM format
* -aes192 - encrypt output if PEM format
* -aes256 - encrypt output if PEM format
+ * -camellia128 - encrypt output if PEM format
+ * -camellia192 - encrypt output if PEM format
+ * -camellia256 - encrypt output if PEM format
* -text - print a text version
* -modulus - print the RSA key modulus
* -check - verify key consistency
@@ -212,6 +215,10 @@ bad:
BIO_printf(bio_err," -aes128, -aes192, -aes256\n");
BIO_printf(bio_err," encrypt PEM output with cbc aes\n");
#endif
+#ifndef OPENSSL_NO_CAMELLIA
+ BIO_printf(bio_err," -camellia128, -camellia192, -camellia256\n");
+ BIO_printf(bio_err," encrypt PEM output with cbc camellia\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");