openssl/util
Shane Lontis 96ebe52e89 Add EVP_PKEY_gettable_params support for accessing EVP_PKEY key data fields
Currently only RSA, EC and ECX are supported (DH and DSA need to be added to the keygen
PR's seperately because the fields supported have changed significantly).

The API's require the keys to be provider based.

Made the keymanagement export and get_params functions share the same code by supplying
support functions that work for both a OSSL_PARAM_BLD as well as a OSSL_PARAM[].
This approach means that complex code is not required to build an
empty OSSL_PARAM[] with the correct sized fields before then doing a second
pass to populate the array.

The RSA factor arrays have been changed to use unique key names to simplify the interface
needed by the user.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11365)
2020-04-01 15:51:18 +10:00
..
perl TEST: add util/wrap.pl and use it 2020-02-27 08:49:14 +01:00
add-depends.pl Following the license change, modify the boilerplates in util/, tools/ 2018-12-06 14:17:23 +01:00
build.info Build: Change all _NO_INST to use attributes instead. 2019-01-22 12:35:39 +01:00
cavs-to-evptest.pl Add the NIST CAVS test vectors for CCM 2019-05-23 10:49:54 +01:00
check-format-test-negatives.c fix false positive of check-format.pl regarding '#if' on preceding line; extend negative tests 2020-03-18 13:43:36 +01:00
check-format-test-positives.c Renew and extend the tool for checking adherence to C coding style rules 2020-03-09 11:03:21 +01:00
check-format.pl fix false positive of check-format.pl regarding '#if' on preceding line; extend negative tests 2020-03-18 13:43:36 +01:00
check-malloc-errs Following the license change, modify the boilerplates in util/, tools/ 2018-12-06 14:17:23 +01:00
ck_errf.pl Create provider errors and use them 2019-04-19 09:31:54 +01:00
copy.pl Following the license change, modify the boilerplates in util/, tools/ 2018-12-06 14:17:23 +01:00
dofile.pl Refactor the tls/dlts version options 2020-01-13 20:48:03 +03:00
echo.pl Windows: fix echo for nmake 2018-07-11 14:49:02 +02:00
engines.num Change the build of engines to use ordinal files for symbol export 2018-10-05 08:22:42 +02:00
err-to-raise Generalize the HTTP client so far implemented mostly in crypto/ocsp/ocsp_ht.c 2020-02-10 16:49:37 +01:00
find-doc-nits make err() message strings of find-doc-nits consistently start with uppercase letters 2020-03-18 14:08:29 +01:00
find-unused-errs Following the license change, modify the boilerplates in util/, tools/ 2018-12-06 14:17:23 +01:00
fix-includes Use .cnf for config files, not .conf 2020-03-06 18:25:13 +01:00
fix-includes.sed CRYPTO: split cipher_platform.h into algorithm specific headers 2019-12-19 13:31:29 +01:00
indent.pro Memory allocator code cleanup 2020-02-10 16:49:10 +10:00
libcrypto.num Add EVP_PKEY_gettable_params support for accessing EVP_PKEY key data fields 2020-04-01 15:51:18 +10:00
libssl.num TLS: use EVP for HMAC throughout libssl. 2020-01-29 19:49:23 +10:00
local_shlib.com.in VMS: fix util/[un]local.com.in to handle attributes 2019-03-05 08:56:20 +01:00
merge-err-lines Add merge-err-lines script 2019-09-19 09:27:38 -04:00
missingcrypto111.txt Don't ignore ASN1 when checking for undocumented symbols 2020-02-07 08:35:31 +00:00
missingcrypto.txt Document various SRP related APIs 2020-03-27 11:30:55 +00:00
missingmacro111.txt Adjust all util/missing*.txt to include the section number 2019-12-21 22:53:54 +01:00
missingmacro.txt DOC: Add documentation related to X509_LOOKUPs 2020-02-18 05:28:31 +01:00
missingssl111.txt Adjust all util/missing*.txt to include the section number 2019-12-21 22:53:54 +01:00
missingssl.txt Adjust all util/missing*.txt to include the section number 2019-12-21 22:53:54 +01:00
mkbuildinf.pl Following the license change, modify the boilerplates in util/, tools/ 2018-12-06 14:17:23 +01:00
mkdef.pl Add $debug variable and use it 2020-02-17 12:15:12 +10:00
mkdir-p.pl Following the license change, modify the boilerplates in util/, tools/ 2018-12-06 14:17:23 +01:00
mkerr.pl Remove handling of outdated macro's 2019-12-10 18:43:45 +01:00
mknum.pl util/mknum.pl: output stats on unassigned symbols 2019-11-05 22:44:21 +01:00
mkpod2html.pl Use a wrapper for pod2html 2020-02-26 17:26:39 +01:00
mkrc.pl Generate include/openssl/opensslv.h 2019-10-18 12:22:00 +02:00
mktar.sh Fix util/mktar.sh to use the new VERSION information 2020-02-28 12:19:16 +01:00
openssl-update-copyright Following the license change, modify the boilerplates in util/, tools/ 2018-12-06 14:17:23 +01:00
opensslwrap.sh util/opensslwrap.sh: adjust to define OPENSSL_MODULES as well 2019-07-15 16:14:35 +02:00
other.syms Chunk 9 of CMP contribution to OpenSSL: CMP client and related tests 2020-03-25 14:10:18 +01:00
providers.num Add provider module infrastructure 2019-03-11 20:40:13 +01:00
shlib_wrap.sh.in Rework building: adapt some scripts 2019-01-21 19:31:32 +01:00
su-filter.pl Following the license change, modify the boilerplates in util/, tools/ 2018-12-06 14:17:23 +01:00
unlocal_shlib.com.in VMS: fix util/[un]local.com.in to handle attributes 2019-03-05 08:56:20 +01:00
wrap.pl util/wrap.pl: Correct exit code when signalled 2020-03-25 10:51:21 +01:00