Move digests to providers
authorShane Lontis <shane.lontis@oracle.com>
Thu, 11 Apr 2019 10:27:59 +0000 (20:27 +1000)
committerShane Lontis <shane.lontis@oracle.com>
Tue, 4 Jun 2019 02:09:50 +0000 (12:09 +1000)
commitd5e5e2ffafc7dbc861f7d285508cf129c5e8f5ac
tree3920b0febd6d2716940fb022b57894fe2ebf565d
parentbf5b04ea25d6ac7d31e388b4e87d3eb5cd1e1e2b
Move digests to providers

Move digest code into the relevant providers (fips, default, legacy).
The headers are temporarily moved to be internal, and will be moved
into providers after all external references are resolved. The deprecated
digest code can not be removed until EVP_PKEY (signing) is supported by
providers. EVP_MD data can also not yet be cleaned up for the same reasons.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8763)
64 files changed:
crypto/blake2/blake2b_mac.c
crypto/blake2/blake2s_mac.c
crypto/blake2/build.info
crypto/blake2/m_blake2b.c
crypto/blake2/m_blake2s.c
crypto/core_fetch.c
crypto/evp/digest.c
crypto/evp/evp_fetch.c
crypto/evp/m_md5_sha1.c
crypto/evp/m_sha1.c
crypto/evp/m_sha3.c
crypto/include/internal/evp_int.h
crypto/include/internal/sha.h
crypto/md5/build.info
crypto/md5/md5_sha1.c [new file with mode: 0644]
crypto/sha/build.info
crypto/sha/keccak1600.c
crypto/sha/sha1dgst.c
crypto/sha/sha3.c [new file with mode: 0644]
crypto/sm3/m_sm3.c
crypto/sm3/sm3_locl.h
doc/man3/EVP_DigestInit.pod
include/internal/blake2.h [moved from crypto/blake2/blake2_locl.h with 68% similarity]
include/internal/md5_sha1.h [new file with mode: 0644]
include/internal/sha3.h [new file with mode: 0644]
include/internal/sm3.h [moved from crypto/include/internal/sm3.h with 83% similarity]
include/openssl/core_names.h
include/openssl/core_numbers.h
include/openssl/evp.h
providers/build.info
providers/common/digests/build.info
providers/common/digests/sha2.c
providers/common/digests/sha3.c [new file with mode: 0644]
providers/common/include/internal/core_mkdigest.h [new file with mode: 0644]
providers/common/include/internal/provider_algs.h
providers/default/build.info
providers/default/defltprov.c
providers/default/digests/blake2.c [new file with mode: 0644]
providers/default/digests/blake2_impl.h [moved from crypto/blake2/blake2_impl.h with 100% similarity]
providers/default/digests/blake2b.c [moved from crypto/blake2/blake2b.c with 96% similarity]
providers/default/digests/blake2s.c [moved from crypto/blake2/blake2s.c with 95% similarity]
providers/default/digests/build.info [new file with mode: 0644]
providers/default/digests/md5.c [new file with mode: 0644]
providers/default/digests/md5_sha1.c [new file with mode: 0644]
providers/default/digests/null.c [new file with mode: 0644]
providers/default/digests/sm3.c [new file with mode: 0644]
providers/fips/fipsprov.c
providers/legacy/digests/build.info
providers/legacy/digests/md2.c
providers/legacy/digests/md4.c [new file with mode: 0644]
providers/legacy/digests/mdc2.c [new file with mode: 0644]
providers/legacy/digests/ripemd.c [new file with mode: 0644]
providers/legacy/digests/wp.c [new file with mode: 0644]
providers/legacy/legacyprov.c
ssl/s3_enc.c
ssl/ssl_locl.h
ssl/statem/statem_lib.c
test/build.info
test/evp_test.c
test/mdc2test.c
test/recipes/05-test_mdc2.t
test/recipes/30-test_evp.t
test/recipes/30-test_evp_data/evpdigest.txt
util/libcrypto.num