]> granicus.if.org Git - openssl/commit
cleanup provider digests
authorShane Lontis <shane.lontis@oracle.com>
Mon, 19 Aug 2019 23:07:12 +0000 (09:07 +1000)
committerShane Lontis <shane.lontis@oracle.com>
Mon, 19 Aug 2019 23:07:12 +0000 (09:07 +1000)
commitc85d5e025797f4e77c2166150bbf8745e9d00696
tree6abe1947a4d14a8c3a6c9d03a02aa812d1d7f27a
parent3bfe9005e5ae0b513bf5f449d6cf558f9b4d9e1f
cleanup provider digests

Added some missing #ifdef NO_XXX around some of the digest functions.
Renamed core_mkdigest.h to digestcommon.h
Added ERR_raise() to set/get params for digest.
Moved common code for get_params/gettable_params into digest_common.c
Renamed #defines in digestcommon.
Removed null_prov.c (It should not be needed)

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9625)
21 files changed:
doc/man7/provider-digest.pod
providers/common/digests/build.info
providers/common/digests/digest_common.c [new file with mode: 0644]
providers/common/digests/sha2_prov.c
providers/common/digests/sha3_prov.c
providers/common/include/internal/core_mkdigest.h [deleted file]
providers/common/include/internal/digestcommon.h [new file with mode: 0644]
providers/common/include/internal/provider_algs.h
providers/default/defltprov.c
providers/default/digests/blake2_prov.c
providers/default/digests/blake2b_prov.c
providers/default/digests/build.info
providers/default/digests/md5_prov.c
providers/default/digests/md5_sha1_prov.c
providers/default/digests/null_prov.c [deleted file]
providers/default/digests/sm3_prov.c
providers/legacy/digests/md2_prov.c
providers/legacy/digests/md4_prov.c
providers/legacy/digests/mdc2_prov.c
providers/legacy/digests/ripemd_prov.c
providers/legacy/digests/wp_prov.c