Add OSSL_PARAM_construct_from_text() and OSSL_PARAM_allocate_from_text()
authorRichard Levitte <levitte@openssl.org>
Wed, 3 Jul 2019 16:42:21 +0000 (18:42 +0200)
committerRichard Levitte <levitte@openssl.org>
Mon, 12 Aug 2019 10:50:41 +0000 (12:50 +0200)
commit246a1f3dfafc4a377bc7d7da65d9f8981a696abd
tree81754a3338e61308a5f9a43f1571837061f708d3
parent82bd7c2cbd3a4b38321fb9053b8aa0f5d100cf54
Add OSSL_PARAM_construct_from_text() and OSSL_PARAM_allocate_from_text()

These are utility functions that can be used to replace calls to
ctrl_str type functions with get_params / set_params types of calls.
They work by translating text values to something more suitable for
OSSL_PARAM, and by interpretting parameter keys in a compatible
fashion.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9303)
crypto/build.info
crypto/params_from_text.c [new file with mode: 0644]
doc/man3/OSSL_PARAM_construct_from_text.pod [new file with mode: 0644]
include/openssl/params.h
util/libcrypto.num