From b7b73c5664f51f5cd0f5d96ad6d7f7389e64a556 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Thu, 5 Sep 2019 16:12:36 +0000 Subject: Provide prototype for ecdh_KDF_X9_63() --- src/lib/libcrypto/ecdh/ech_locl.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/libcrypto/ecdh/ech_locl.h b/src/lib/libcrypto/ecdh/ech_locl.h index b5777df423..b04d325ed1 100644 --- a/src/lib/libcrypto/ecdh/ech_locl.h +++ b/src/lib/libcrypto/ecdh/ech_locl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ech_locl.h,v 1.5 2016/12/21 15:49:29 jsing Exp $ */ +/* $OpenBSD: ech_locl.h,v 1.6 2019/09/05 16:12:36 jsing Exp $ */ /* ==================================================================== * Copyright (c) 2000-2005 The OpenSSL Project. All rights reserved. * @@ -88,6 +88,12 @@ typedef struct ecdh_data_st { ECDH_DATA *ecdh_check(EC_KEY *); +/* + * ECDH Key Derivation Function as defined in ANSI X9.63. + */ +int ecdh_KDF_X9_63(unsigned char *out, size_t outlen, const unsigned char *Z, + size_t Zlen, const unsigned char *sinfo, size_t sinfolen, const EVP_MD *md); + __END_HIDDEN_DECLS #endif /* HEADER_ECH_LOCL_H */ -- cgit v1.2.3-55-g6feb