diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-08-11 16:49:07 +0200 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-08-13 15:11:05 +0200 |
commit | bc7bfb83b7189c052bf2898bd6b82f8e4b4fd3f6 (patch) | |
tree | d2f72f3ab960d7d1933f641a0dd16f42a429e18d /crypto/ec/ec_lcl.h | |
parent | Modify TLS support for new X25519 API. (diff) | |
download | openssl-bc7bfb83b7189c052bf2898bd6b82f8e4b4fd3f6.tar.xz openssl-bc7bfb83b7189c052bf2898bd6b82f8e4b4fd3f6.zip |
Remove old EC based X25519 code.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/ec/ec_lcl.h')
-rw-r--r-- | crypto/ec/ec_lcl.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/crypto/ec/ec_lcl.h b/crypto/ec/ec_lcl.h index 5b79340a14..c67efef317 100644 --- a/crypto/ec/ec_lcl.h +++ b/crypto/ec/ec_lcl.h @@ -254,12 +254,6 @@ struct ec_key_st { EC_GROUP *group; EC_POINT *pub_key; BIGNUM *priv_key; - /* - * Arbitrary extra data. - * For example in X25519 this contains the raw private key in a 32 byte - * buffer. - */ - void *custom_data; unsigned int enc_flag; point_conversion_form_t conv_form; int references; @@ -280,11 +274,6 @@ struct ec_point_st { * Z) represents (X/Z^2, Y/Z^3) if Z != 0 */ int Z_is_one; /* enable optimized point arithmetics for * special case */ - /* - * Arbitrary extra data. - * For example in X25519 this contains the public key in a 32 byte buffer. - */ - void *custom_data; } /* EC_POINT */ ; NISTP224_PRE_COMP *EC_nistp224_pre_comp_dup(NISTP224_PRE_COMP *); @@ -613,8 +602,6 @@ int ossl_ecdsa_verify(int type, const unsigned char *dgst, int dgst_len, int ossl_ecdsa_verify_sig(const unsigned char *dgst, int dgst_len, const ECDSA_SIG *sig, EC_KEY *eckey); -const EC_METHOD *ec_x25519_meth(void); - 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], |