DECODER: Some cleanups, and aligning with OSSL_ENCODER
authorRichard Levitte <levitte@openssl.org>
Mon, 14 Sep 2020 09:35:07 +0000 (11:35 +0200)
committerRichard Levitte <levitte@openssl.org>
Sun, 20 Sep 2020 15:31:54 +0000 (17:31 +0200)
commit48b62fb33aa0c5bce52b939fcd94780736491a5d
treec9faa14517c8073ae72737d5f2f6d1a118d15079
parentae12eac074be92e14c11a36b90e1c95eca3723f1
DECODER: Some cleanups, and aligning with OSSL_ENCODER

Mostly source nits, but also removing a couple of OSSL_DECODER_PARAM
macros that are never used or even make sense.

Also, some function names weren't quite consistent.  They were made a
bit more consistent in the OSSL_ENCODER API, now we bring that back to
OSSL_DECODER.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12873)
crypto/encode_decode/decoder_lib.c
crypto/encode_decode/decoder_meth.c
crypto/encode_decode/decoder_pkey.c
doc/man3/OSSL_DECODER_CTX.pod
doc/man3/OSSL_DECODER_CTX_new_by_EVP_PKEY.pod
doc/man3/OSSL_DECODER_from_bio.pod
include/openssl/core_names.h
include/openssl/decoder.h
util/libcrypto.num
util/other.syms