diff options
author | jsing <> | 2019-09-05 16:12:36 +0000 |
---|---|---|
committer | jsing <> | 2019-09-05 16:12:36 +0000 |
commit | 41fd284738441459da9216c6279be839d0ce0746 (patch) | |
tree | fd4db1bf8a8ade809d0179272563770be1b69874 | |
parent | 884d3675a94a8e06041d3f4aa68a246349ab5bad (diff) | |
download | openbsd-41fd284738441459da9216c6279be839d0ce0746.tar.gz openbsd-41fd284738441459da9216c6279be839d0ce0746.tar.bz2 openbsd-41fd284738441459da9216c6279be839d0ce0746.zip |
Provide prototype for ecdh_KDF_X9_63()
-rw-r--r-- | src/lib/libcrypto/ecdh/ech_locl.h | 8 |
1 files changed, 7 insertions, 1 deletions
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 @@ | |||
1 | /* $OpenBSD: ech_locl.h,v 1.5 2016/12/21 15:49:29 jsing Exp $ */ | 1 | /* $OpenBSD: ech_locl.h,v 1.6 2019/09/05 16:12:36 jsing Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2000-2005 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2000-2005 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -88,6 +88,12 @@ typedef struct ecdh_data_st { | |||
88 | 88 | ||
89 | ECDH_DATA *ecdh_check(EC_KEY *); | 89 | ECDH_DATA *ecdh_check(EC_KEY *); |
90 | 90 | ||
91 | /* | ||
92 | * ECDH Key Derivation Function as defined in ANSI X9.63. | ||
93 | */ | ||
94 | int ecdh_KDF_X9_63(unsigned char *out, size_t outlen, const unsigned char *Z, | ||
95 | size_t Zlen, const unsigned char *sinfo, size_t sinfolen, const EVP_MD *md); | ||
96 | |||
91 | __END_HIDDEN_DECLS | 97 | __END_HIDDEN_DECLS |
92 | 98 | ||
93 | #endif /* HEADER_ECH_LOCL_H */ | 99 | #endif /* HEADER_ECH_LOCL_H */ |