Cleanup legacy digest methods.
authorShane Lontis <shane.lontis@oracle.com>
Wed, 18 Dec 2019 04:46:01 +0000 (14:46 +1000)
committerShane Lontis <shane.lontis@oracle.com>
Wed, 18 Dec 2019 04:46:01 +0000 (14:46 +1000)
commitb2055d67f0d6cc3156ac89dae255e4abc8881b69
tree953d8331bae9fd2980f2380cd35cb341d842af29
parent1ac7e15375be39c8f03171c02658cf703f58217a
Cleanup legacy digest methods.

Macros have been added to generate the simple legacy methods.
Engines and EVP_MD_METH_get methods still require access to the old legacy methods,
so they needed to be added back in.
They may only be removed after engines are deprecated and removed.
Removed some unnecessary #includes and #ifndef guards (which are done in build.info instead).

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10602)
16 files changed:
crypto/evp/build.info
crypto/evp/legacy_blake2.c
crypto/evp/legacy_md2.c
crypto/evp/legacy_md4.c
crypto/evp/legacy_md5.c
crypto/evp/legacy_md5_sha1.c
crypto/evp/legacy_mdc2.c
crypto/evp/legacy_meth.h [new file with mode: 0644]
crypto/evp/legacy_ripemd.c [new file with mode: 0644]
crypto/evp/legacy_sha.c
crypto/evp/legacy_wp.c [new file with mode: 0644]
crypto/evp/m_ripemd.c [deleted file]
crypto/evp/m_wp.c [deleted file]
crypto/sm3/build.info
crypto/sm3/legacy_sm3.c [new file with mode: 0644]
crypto/sm3/m_sm3.c [deleted file]