diff options
Diffstat (limited to 'src/lib/libcrypto/ecdh/ecdh.h')
-rw-r--r-- | src/lib/libcrypto/ecdh/ecdh.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ecdh/ecdh.h b/src/lib/libcrypto/ecdh/ecdh.h index e1cc8404d0..ccc1312fd8 100644 --- a/src/lib/libcrypto/ecdh/ecdh.h +++ b/src/lib/libcrypto/ecdh/ecdh.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecdh.h,v 1.4 2015/09/13 11:49:44 jsing Exp $ */ | 1 | /* $OpenBSD: ecdh.h,v 1.5 2015/09/13 12:03:07 jsing Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. | 3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. |
4 | * | 4 | * |
@@ -91,6 +91,7 @@ void ECDH_set_default_method(const ECDH_METHOD *); | |||
91 | const ECDH_METHOD *ECDH_get_default_method(void); | 91 | const ECDH_METHOD *ECDH_get_default_method(void); |
92 | int ECDH_set_method(EC_KEY *, const ECDH_METHOD *); | 92 | int ECDH_set_method(EC_KEY *, const ECDH_METHOD *); |
93 | 93 | ||
94 | int ECDH_size(const EC_KEY *ecdh); | ||
94 | int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, | 95 | int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, |
95 | EC_KEY *ecdh, | 96 | EC_KEY *ecdh, |
96 | void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen)); | 97 | void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen)); |