summaryrefslogtreecommitdiff
path: root/include/openssl/core_names.h
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2020-09-18 09:55:16 +0100
committerMatt Caswell <matt@openssl.org>2020-09-25 11:13:53 +0100
commitce64d3eee06a64e78ea5be7e8f0dd7172aa78259 (patch)
treef78916571d0e41b39c47879bc96ca7dcf4d9c088 /include/openssl/core_names.h
parent7a032be7f293bd80e3fe18c5568cf382b0b79543 (diff)
downloadopenssl-new-ce64d3eee06a64e78ea5be7e8f0dd7172aa78259.tar.gz
Move SM2 asymmetric encryption to be available in the default provider
Fixes #12908 Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/12913)
Diffstat (limited to 'include/openssl/core_names.h')
-rw-r--r--include/openssl/core_names.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/openssl/core_names.h b/include/openssl/core_names.h
index a8d4d51533..c9f2bfab5e 100644
--- a/include/openssl/core_names.h
+++ b/include/openssl/core_names.h
@@ -432,6 +432,9 @@ extern "C" {
#define OSSL_SIGNATURE_PARAM_DIGEST_SIZE OSSL_PKEY_PARAM_DIGEST_SIZE
/* Asym cipher parameters */
+#define OSSL_ASYM_CIPHER_PARAM_DIGEST OSSL_PKEY_PARAM_DIGEST
+#define OSSL_ASYM_CIPHER_PARAM_PROPERTIES OSSL_PKEY_PARAM_PROPERTIES
+#define OSSL_ASYM_CIPHER_PARAM_ENGINE OSSL_PKEY_PARAM_ENGINE
#define OSSL_ASYM_CIPHER_PARAM_PAD_MODE OSSL_PKEY_PARAM_PAD_MODE
#define OSSL_ASYM_CIPHER_PARAM_MGF1_DIGEST \
OSSL_PKEY_PARAM_MGF1_DIGEST