Add missing EVP param utility functions
authorRichard Levitte <levitte@openssl.org>
Mon, 12 Aug 2019 12:56:18 +0000 (14:56 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 15 Aug 2019 08:49:56 +0000 (10:49 +0200)
commitae3ff60e7bea6fb7510b5c0c2b9599d8430cf001
treea6cef6a574ebeac091b9bdb57ba6aff5c257becf
parentaee6e29f0e88df18ebc21dbcf9d4d5794d7511e0
Add missing EVP param utility functions

These functions were missing for a completes API:

EVP_MD_get_params(), EVP_CIPHER_get_params(), EVP_CIPHER_CTX_set_params(),
and EVP_CIPHER_CTX_get_params

Additionally, we also add all the corresponding parameter descriptor
returning functions, along the correspoding provider dispatches:

EVP_MD_gettable_params(), EVP_MD_CTX_settable_params(),
EVP_MD_CTX_gettable_params(), EVP_CIPHER_gettable_params(),
EVP_CIPHER_CTX_settable_params(), and EVP_CIPHER_CTX_gettable_params()

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9576)
crypto/evp/digest.c
crypto/evp/evp_enc.c
crypto/include/internal/evp_int.h
doc/man3/EVP_DigestInit.pod
doc/man3/EVP_EncryptInit.pod
doc/man3/OSSL_PARAM_construct_from_text.pod
doc/man7/provider-cipher.pod
doc/man7/provider-digest.pod
include/openssl/core_numbers.h
include/openssl/evp.h
util/libcrypto.num