diff options
author | Richard Levitte <levitte@openssl.org> | 2019-12-18 13:20:55 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-01-09 15:01:16 +0100 |
commit | e62a45b60e3166d995eb83840f437debf575c328 (patch) | |
tree | 593daef7330874e6f5d7f75257957b34aada905e /include | |
parent | cc4ff1061efd95f1560289f1bb726975cb7b83fc (diff) |
CORE & EVP: Specify OP_query_operation_name() for KEYMGMT
This will allow keymgmt implementation for key types that need it to
specify the names of the diverse operation algorithms it can be used
with. Currently, only one name per key type and operation is allowed.
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/10647)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/core_numbers.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/openssl/core_numbers.h b/include/openssl/core_numbers.h index 6b4a205f1d..9f49599dab 100644 --- a/include/openssl/core_numbers.h +++ b/include/openssl/core_numbers.h @@ -395,6 +395,11 @@ OSSL_CORE_MAKE_FUNC(int, OP_keymgmt_exportkey, OSSL_CORE_MAKE_FUNC(const OSSL_PARAM *, OP_keymgmt_importkey_types, (void)) OSSL_CORE_MAKE_FUNC(const OSSL_PARAM *, OP_keymgmt_exportkey_types, (void)) +/* Discovery of supported operations */ +# define OSSL_FUNC_KEYMGMT_QUERY_OPERATION_NAME 17 +OSSL_CORE_MAKE_FUNC(const char *,OP_keymgmt_query_operation_name, + (int operation_id)) + /* Key Exchange */ # define OSSL_FUNC_KEYEXCH_NEWCTX 1 |