Deprecate the low level RC2 functions
authorPauli <paul.dale@oracle.com>
Mon, 13 Jan 2020 23:15:18 +0000 (09:15 +1000)
committerPauli <paul.dale@oracle.com>
Wed, 15 Jan 2020 21:07:27 +0000 (07:07 +1000)
commitee2993abd0830ec27a2dd49e07db8d0eb5f3e579
tree9c789bbe5b362cc30edaacac00ca8acd21c58f69
parent49742fd412665d2211523ac2925640e3be9d9ab3
Deprecate the low level RC2 functions

Use of the low level RC2 functions has been informally discouraged for a
long time. We now formally deprecate them.

Applications should instead use the EVP APIs, e.g. EVP_EncryptInit_ex,
EVP_EncryptUpdate, EVP_EncryptFinal_ex, and the equivalently named decrypt
functions.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/10834)
13 files changed:
apps/speed.c
crypto/evp/e_rc2.c
crypto/rc2/rc2_cbc.c
crypto/rc2/rc2_ecb.c
crypto/rc2/rc2_skey.c
crypto/rc2/rc2cfb64.c
crypto/rc2/rc2ofb64.c
include/openssl/rc2.h
providers/implementations/ciphers/cipher_rc2.c
providers/implementations/ciphers/cipher_rc2_hw.c
test/build.info
test/rc2test.c
util/libcrypto.num