diff options
author | Dr. Stephen Henson <steve@openssl.org> | 1999-11-14 03:23:17 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 1999-11-14 03:23:17 +0000 |
commit | a0e9f529a441a3b9c42ca9a18edb15ff14878076 (patch) | |
tree | a655ffcd3db44fb7d9ee0e86d7ded8f24cd4e7e4 /apps | |
parent | 0286d944541b0622bcbf513d79083183d27c8603 (diff) | |
download | openssl-a0e9f529a441a3b9c42ca9a18edb15ff14878076.tar.gz |
Add support for the 40 and 64 bit RC2 and RC4 ciphers in 'enc'
add documentation for 'enc'.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/progs.h | 12 | ||||
-rw-r--r-- | apps/progs.pl | 5 |
2 files changed, 15 insertions, 2 deletions
diff --git a/apps/progs.h b/apps/progs.h index 422dcedfb9..cf5437da6a 100644 --- a/apps/progs.h +++ b/apps/progs.h @@ -118,6 +118,12 @@ FUNCTION functions[] = { #ifndef NO_RC4 {FUNC_TYPE_CIPHER,"rc4",enc_main}, #endif +#ifndef NO_RC4 + {FUNC_TYPE_CIPHER,"rc4-64",enc_main}, +#endif +#ifndef NO_RC4 + {FUNC_TYPE_CIPHER,"rc4-40",enc_main}, +#endif #ifndef NO_RC2 {FUNC_TYPE_CIPHER,"rc2",enc_main}, #endif @@ -190,6 +196,12 @@ FUNCTION functions[] = { #ifndef NO_RC2 {FUNC_TYPE_CIPHER,"rc2-ofb",enc_main}, #endif +#ifndef NO_RC2 + {FUNC_TYPE_CIPHER,"rc2-64-cbc",enc_main}, +#endif +#ifndef NO_RC2 + {FUNC_TYPE_CIPHER,"rc2-40-cbc",enc_main}, +#endif #ifndef NO_BF {FUNC_TYPE_CIPHER,"bf-cbc",enc_main}, #endif diff --git a/apps/progs.pl b/apps/progs.pl index ffcb8b696f..2c4d034e4c 100644 --- a/apps/progs.pl +++ b/apps/progs.pl @@ -50,13 +50,14 @@ foreach ("md2","md5","sha","sha1","mdc2","rmd160") foreach ( "base64", - "des", "des3", "desx", "idea", "rc4", "rc2","bf","cast","rc5", + "des", "des3", "desx", "idea", "rc4", "rc4-64", "rc4-40", + "rc2", "bf", "cast", "rc5", "des-ecb", "des-ede", "des-ede3", "des-cbc", "des-ede-cbc","des-ede3-cbc", "des-cfb", "des-ede-cfb","des-ede3-cfb", "des-ofb", "des-ede-ofb","des-ede3-ofb", "idea-cbc","idea-ecb", "idea-cfb", "idea-ofb", - "rc2-cbc", "rc2-ecb", "rc2-cfb", "rc2-ofb", + "rc2-cbc", "rc2-ecb", "rc2-cfb","rc2-ofb", "rc2-64-cbc", "rc2-40-cbc", "bf-cbc", "bf-ecb", "bf-cfb", "bf-ofb", "cast5-cbc","cast5-ecb", "cast5-cfb","cast5-ofb", "cast-cbc", "rc5-cbc", "rc5-ecb", "rc5-cfb", "rc5-ofb") |