diff options
author | Richard Levitte <levitte@openssl.org> | 2020-03-19 11:16:45 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-04-15 11:03:59 +0200 |
commit | 2b9add696573131fc463d098ed8bcbff1b5829d9 (patch) | |
tree | adccfe1cdba9541fe22d0951d2028f957e7e24a0 /include/crypto | |
parent | a5c864ce901483d6f1067c22cb7c0a6322d351f5 (diff) |
KEYMGMT: Add functions to get param/key generation parameters
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/11328)
Diffstat (limited to 'include/crypto')
-rw-r--r-- | include/crypto/evp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/crypto/evp.h b/include/crypto/evp.h index 8acbc6a73e..38adbd0c82 100644 --- a/include/crypto/evp.h +++ b/include/crypto/evp.h @@ -676,6 +676,10 @@ int evp_keymgmt_gen_set_params(const EVP_KEYMGMT *keymgmt, void *genctx, const OSSL_PARAM params[]); const OSSL_PARAM * evp_keymgmt_gen_settable_params(const EVP_KEYMGMT *keymgmt); +int evp_keymgmt_gen_get_params(const EVP_KEYMGMT *keymgmt, void *genctx, + OSSL_PARAM params[]); +const OSSL_PARAM * +evp_keymgmt_gen_gettable_params(const EVP_KEYMGMT *keymgmt); void *evp_keymgmt_gen(const EVP_KEYMGMT *keymgmt, void *genctx, OSSL_CALLBACK *cb, void *cbarg); void evp_keymgmt_gen_cleanup(const EVP_KEYMGMT *keymgmt, void *genctx); |