diff options
Diffstat (limited to 'src/lib/libcrypto/ecdh/ech_key.c')
| -rw-r--r-- | src/lib/libcrypto/ecdh/ech_key.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/lib/libcrypto/ecdh/ech_key.c b/src/lib/libcrypto/ecdh/ech_key.c index 108a5ff8f6..5f68b01860 100644 --- a/src/lib/libcrypto/ecdh/ech_key.c +++ b/src/lib/libcrypto/ecdh/ech_key.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ech_key.c,v 1.15 2023/06/25 18:41:36 tb Exp $ */ | 1 | /* $OpenBSD: ech_key.c,v 1.16 2023/06/25 19:04:35 tb Exp $ */ |
| 2 | /* ==================================================================== | 2 | /* ==================================================================== |
| 3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. | 3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. |
| 4 | * | 4 | * |
| @@ -189,17 +189,6 @@ err: | |||
| 189 | return (ret); | 189 | return (ret); |
| 190 | } | 190 | } |
| 191 | 191 | ||
| 192 | static ECDH_METHOD openssl_ecdh_meth = { | ||
| 193 | .name = "OpenSSL ECDH method", | ||
| 194 | .compute_key = ossl_ecdh_compute_key, | ||
| 195 | }; | ||
| 196 | |||
| 197 | const ECDH_METHOD * | ||
| 198 | ECDH_OpenSSL(void) | ||
| 199 | { | ||
| 200 | return &openssl_ecdh_meth; | ||
| 201 | } | ||
| 202 | |||
| 203 | int | 192 | int |
| 204 | ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, | 193 | ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, |
| 205 | EC_KEY *eckey, | 194 | EC_KEY *eckey, |
