summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2018-02-27 20:43:42 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2018-02-27 20:43:42 +0000
commita4e33c2c9ec509a80703357e409e2bd00950a17c (patch)
treec8128bbf3cae237eb7d6b3fc1b51561e9ce9d49c /lib
parent0325955f4869e7dc00ab6cc7c1dd39d33e2177a8 (diff)
Garbage collect RC5 documentation.
We have no code implementing it, tedu@ took care of the rc5/ directory in 2014, the related files are commented out in arch/*/Makefile.inc, and opensslfeatures.h contains an explicit #define OPENSSL_NO_RC5.
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/man/EVP_EncryptInit.325
-rw-r--r--lib/libcrypto/man/crypto.36
2 files changed, 6 insertions, 25 deletions
diff --git a/lib/libcrypto/man/EVP_EncryptInit.3 b/lib/libcrypto/man/EVP_EncryptInit.3
index a9377b22645..c55491867c3 100644
--- a/lib/libcrypto/man/EVP_EncryptInit.3
+++ b/lib/libcrypto/man/EVP_EncryptInit.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: EVP_EncryptInit.3,v 1.8 2018/02/19 10:04:08 schwarze Exp $
+.\" $OpenBSD: EVP_EncryptInit.3,v 1.9 2018/02/27 20:43:41 schwarze Exp $
.\" full merge up to: OpenSSL 5211e094 Nov 11 14:39:11 2014 -0800
.\" selective merge up to: OpenSSL 5c5eb286 Dec 5 00:36:43 2017 +0100
.\"
@@ -51,7 +51,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: February 19 2018 $
+.Dd $Mdocdate: February 27 2018 $
.Dt EVP_ENCRYPTINIT 3
.Os
.Sh NAME
@@ -156,10 +156,6 @@
.Nm EVP_aes_256_ccm ,
.Nm EVP_aes_128_cbc_hmac_sha1 ,
.Nm EVP_aes_256_cbc_hmac_sha1 ,
-.Nm EVP_rc5_32_12_16_cbc ,
-.Nm EVP_rc5_32_12_16_cfb ,
-.Nm EVP_rc5_32_12_16_ecb ,
-.Nm EVP_rc5_32_12_16_ofb ,
.Nm EVP_chacha20
.Nd EVP cipher routines
.Sh SYNOPSIS
@@ -737,8 +733,7 @@ the RC2 effective key length is not supported).
.Pp
.Fn EVP_CIPHER_CTX_ctrl
allows various cipher specific parameters to be determined and set.
-Currently only the RC2 effective key length and the number of rounds of
-RC5 can be set.
+Currently only the RC2 effective key length can be set.
.Pp
.Fn EVP_CIPHER_CTX_rand_key
generates a random key of the appropriate length based on the cipher
@@ -985,16 +980,6 @@ This is a variable key length cipher.
CAST encryption algorithm in CBC, ECB, CFB and OFB modes respectively.
This is a variable key length cipher.
.It Xo
-.Fn EVP_rc5_32_12_16_cbc ,
-.Fn EVP_rc5_32_12_16_ecb ,
-.Fn EVP_rc5_32_12_16_cfb ,
-.Fn EVP_rc5_32_12_16_ofb
-.Xc
-RC5 encryption algorithm in CBC, ECB, CFB and OFB modes respectively.
-This is a variable key length cipher with an additional "number of
-rounds" parameter.
-By default the key length is set to 128 bits and 12 rounds.
-.It Xo
.Fn EVP_aes_128_gcm ,
.Fn EVP_aes_192_gcm ,
.Fn EVP_aes_256_gcm
@@ -1233,10 +1218,6 @@ appeared in OpenSSL 0.9.7.
.Fn EVP_CIPHER_CTX_reset
fist appeared in OpenSSL 1.1.0.
.Sh BUGS
-For RC5 the number of rounds can currently only be set to 8, 12 or 16.
-This is a limitation of the current RC5 code rather than the EVP
-interface.
-.Pp
.Dv EVP_MAX_KEY_LENGTH
and
.Dv EVP_MAX_IV_LENGTH
diff --git a/lib/libcrypto/man/crypto.3 b/lib/libcrypto/man/crypto.3
index 7f0816903eb..cbc8f1169c1 100644
--- a/lib/libcrypto/man/crypto.3
+++ b/lib/libcrypto/man/crypto.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: crypto.3,v 1.17 2018/02/27 20:28:06 schwarze Exp $
+.\" $OpenBSD: crypto.3,v 1.18 2018/02/27 20:43:41 schwarze Exp $
.\" OpenSSL a9c85cea Nov 11 09:33:55 2016 +0100
.\"
.\" This file was written by Ulf Moeller <ulf@openssl.org> and
@@ -63,8 +63,8 @@ implementations of TLS and S/MIME, and they have also been used to
implement SSH, OpenPGP, and other cryptographic standards.
.Pp
.Sy Symmetric ciphers
-including AES, Blowfish, CAST, Chacha20, IDEA, DES, RC2, RC4, and
-RC5 are provided by the generic interface
+including AES, Blowfish, CAST, Chacha20, IDEA, DES, RC2, and RC4
+are provided by the generic interface
.Xr EVP_EncryptInit 3 .
Low-level stand-alone interfaces include
.Xr BF_set_key 3 ,