summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2020-01-27 17:57:03 +0100
committerMatt Caswell <matt@openssl.org>2020-02-11 23:32:56 +0100
commit90d3cb57c6caafbe031e32a99051386b8c5a90c0 (patch)
tree02f761db4d8bd08a329845fbe623f08ae3ac7d60 /include
parentImplement a stricter ECX_KEY type (diff)
downloadopenssl-90d3cb57c6caafbe031e32a99051386b8c5a90c0.tar.xz
openssl-90d3cb57c6caafbe031e32a99051386b8c5a90c0.zip
Implement Provider side Key Management for X25519 and X448
Reviewed-by: Patrick Steuer <patrick.steuer@de.ibm.com> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/10964)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/core_names.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/include/openssl/core_names.h b/include/openssl/core_names.h
index c17eee42a5..84fbcf38e3 100644
--- a/include/openssl/core_names.h
+++ b/include/openssl/core_names.h
@@ -171,20 +171,14 @@ extern "C" {
#define OSSL_PKEY_PARAM_PROPERTIES OSSL_ALG_PARAM_PROPERTIES
#define OSSL_PKEY_PARAM_DEFAULT_DIGEST "default-digest" /* utf8 string */
#define OSSL_PKEY_PARAM_MANDATORY_DIGEST "mandatory-digest" /* utf8 string */
+#define OSSL_PKEY_PARAM_PUB_KEY "pub"
+#define OSSL_PKEY_PARAM_PRIV_KEY "priv"
/* Diffie-Hellman/DSA Parameters */
#define OSSL_PKEY_PARAM_FFC_P "p"
#define OSSL_PKEY_PARAM_FFC_G "g"
#define OSSL_PKEY_PARAM_FFC_Q "q"
-/* Diffie-Hellman Keys */
-#define OSSL_PKEY_PARAM_DH_PUB_KEY "pub"
-#define OSSL_PKEY_PARAM_DH_PRIV_KEY "priv"
-
-/* DSA Keys */
-#define OSSL_PKEY_PARAM_DSA_PUB_KEY "pub"
-#define OSSL_PKEY_PARAM_DSA_PRIV_KEY "priv"
-
/* RSA Keys */
/*
* n, e, d are the usual public and private key components