summaryrefslogtreecommitdiffstats
path: root/crypto/ecdh/ech_lib.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2003-02-28 15:37:10 +0000
committerBodo Möller <bodo@openssl.org>2003-02-28 15:37:10 +0000
commit176f31ddec84a51d35871dc021a013df9f3cbccd (patch)
tree727fd06fa996652c5a8597b8c6cc79c96e07dc05 /crypto/ecdh/ech_lib.c
parentfe14ee96db3ccef6a7a090bd0264d476a79e3f43 (diff)
- new ECDH_compute_key interface (KDF is no longer a fixed built-in)
- bugfix: in ECDH_compute_key, pad x coordinate with leading zeros if necessary
Diffstat (limited to 'crypto/ecdh/ech_lib.c')
-rw-r--r--crypto/ecdh/ech_lib.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/crypto/ecdh/ech_lib.c b/crypto/ecdh/ech_lib.c
index 59526f33bd..8b3e5f1ddc 100644
--- a/crypto/ecdh/ech_lib.c
+++ b/crypto/ecdh/ech_lib.c
@@ -14,7 +14,7 @@
*
*/
/* ====================================================================
- * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
+ * Copyright (c) 1998-2003 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -203,12 +203,6 @@ static void ecdh_finish(EC_KEY *key)
}
-int ECDH_size(const EC_KEY *ecdh)
- {
- return 20;
- }
-
-
int ECDH_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func,
CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func)
{