summaryrefslogtreecommitdiffstats
path: root/crypto/ec/ec_local.h
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2020-01-27 16:50:47 +0000
committerMatt Caswell <matt@openssl.org>2020-02-11 22:32:47 +0000
commit4de88fe6daad0b7bd65b20bc887ff1ac62ae2ce8 (patch)
tree0efbd17f92152f5a091238799a171a6565232e50 /crypto/ec/ec_local.h
parent620c97b671a9c7bc31ca36a24b2242aa1aa80022 (diff)
Implement a stricter ECX_KEY type
Add ref counting and control how we allocate storage for the private key. We will need this type in following commits where we move the ecx code to be provider aware. 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 'crypto/ec/ec_local.h')
-rw-r--r--crypto/ec/ec_local.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/crypto/ec/ec_local.h b/crypto/ec/ec_local.h
index a523ab6422..c0eacc9ce5 100644
--- a/crypto/ec/ec_local.h
+++ b/crypto/ec/ec_local.h
@@ -683,11 +683,6 @@ int ED25519_verify(const uint8_t *message, size_t message_len,
void ED25519_public_from_private(uint8_t out_public_key[32],
const uint8_t private_key[32]);
-int X25519(uint8_t out_shared_key[32], const uint8_t private_key[32],
- const uint8_t peer_public_value[32]);
-void X25519_public_from_private(uint8_t out_public_value[32],
- const uint8_t private_key[32]);
-
/*-
* This functions computes a single point multiplication over the EC group,
* using, at a high level, a Montgomery ladder with conditional swaps, with