Providers: move all digests
authorRichard Levitte <levitte@openssl.org>
Fri, 4 Oct 2019 10:30:33 +0000 (12:30 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 10 Oct 2019 12:12:15 +0000 (14:12 +0200)
commit7c214f1092f7622a1c2fdc5cfe70ddc94918daa3
treef62016d368c92dfddb8becf4d2f7ff79d538cfe9
parente42cf7180b4fb32e985f15484e04c7fb8afc11ab
Providers: move all digests

From providers/{common,default,legacy}/ to providers/implementations/
However, providers/common/digests/digest_common.c stays where it is,
because it's support code rather than an implementation.

To better support all kinds of implementations with common code, we
add the library providers/libcommon.a.  Code that ends up in this
library must be FIPS agnostic.

While we're moving things around, though, we move digestscommon.h
from providers/common/include/internal to providers/common/include/prov,
thereby starting on a provider specific include structure, which
follows the line of thoughts of the recent header file reorganization.
We modify the affected '#include "internal/something.h"' to
'#include "prov/something.h"'.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10088)
48 files changed:
crypto/blake2/m_blake2b.c
crypto/blake2/m_blake2s.c
crypto/evp/legacy_md5_sha1.c
crypto/md5/md5_sha1.c
providers/build.info
providers/common/digests/build.info
providers/common/digests/digest_common.c
providers/common/digests/sha2_prov.c [deleted file]
providers/common/digests/sha3_prov.c [deleted file]
providers/common/include/internal/digestcommon.h [deleted file]
providers/common/include/prov/digestcommon.h [new file with mode: 0644]
providers/default/build.info
providers/default/digests/blake2_impl.h [deleted file]
providers/default/digests/blake2_prov.c [deleted file]
providers/default/digests/blake2b_prov.c [deleted file]
providers/default/digests/blake2s_prov.c [deleted file]
providers/default/digests/build.info [deleted file]
providers/default/digests/md5_prov.c [deleted file]
providers/default/digests/md5_sha1_prov.c [deleted file]
providers/default/digests/sm3_prov.c [deleted file]
providers/default/include/internal/blake2.h [deleted file]
providers/default/include/internal/md5_sha1.h [deleted file]
providers/implementations/build.info
providers/implementations/digests/blake2_impl.h [new file with mode: 0644]
providers/implementations/digests/blake2_prov.c [new file with mode: 0644]
providers/implementations/digests/blake2b_prov.c [new file with mode: 0644]
providers/implementations/digests/blake2s_prov.c [new file with mode: 0644]
providers/implementations/digests/build.info [new file with mode: 0644]
providers/implementations/digests/md2_prov.c [new file with mode: 0644]
providers/implementations/digests/md4_prov.c [new file with mode: 0644]
providers/implementations/digests/md5_prov.c [new file with mode: 0644]
providers/implementations/digests/md5_sha1_prov.c [new file with mode: 0644]
providers/implementations/digests/mdc2_prov.c [new file with mode: 0644]
providers/implementations/digests/ripemd_prov.c [new file with mode: 0644]
providers/implementations/digests/sha2_prov.c [new file with mode: 0644]
providers/implementations/digests/sha3_prov.c [new file with mode: 0644]
providers/implementations/digests/sm3_prov.c [new file with mode: 0644]
providers/implementations/digests/wp_prov.c [new file with mode: 0644]
providers/implementations/include/prov/blake2.h [new file with mode: 0644]
providers/implementations/include/prov/md5_sha1.h [new file with mode: 0644]
providers/implementations/macs/blake2_mac_impl.c
providers/legacy/build.info
providers/legacy/digests/build.info [deleted file]
providers/legacy/digests/md2_prov.c [deleted file]
providers/legacy/digests/md4_prov.c [deleted file]
providers/legacy/digests/mdc2_prov.c [deleted file]
providers/legacy/digests/ripemd_prov.c [deleted file]
providers/legacy/digests/wp_prov.c [deleted file]