diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2013-07-17 15:01:08 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2013-07-17 21:45:00 +0100 |
commit | 25af7a5dbc05c7359d1d7f472d50d65a9d876b7e (patch) | |
tree | 2cc91a776a11118aa68be08f77ddb55157d186b3 /crypto/ecdh/ecdh.h | |
parent | 6af440ced43d766e418c2eb0cda1525eecd3e62b (diff) |
Add support for X9.62 KDF.
Add X9.62 KDF to EC EVP_PKEY_METHOD.
Diffstat (limited to 'crypto/ecdh/ecdh.h')
-rw-r--r-- | crypto/ecdh/ecdh.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/ecdh/ecdh.h b/crypto/ecdh/ecdh.h index 8ac82b8cbd..539e212c10 100644 --- a/crypto/ecdh/ecdh.h +++ b/crypto/ecdh/ecdh.h @@ -101,6 +101,11 @@ int ECDH_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new int ECDH_set_ex_data(EC_KEY *d, int idx, void *arg); void *ECDH_get_ex_data(EC_KEY *d, int idx); +int ECDH_KDF_X9_62(unsigned char *out, size_t outlen, + const unsigned char *Z, size_t Zlen, + const unsigned char *sinfo, size_t sinfolen, + const EVP_MD *md); + /* BEGIN ERROR CODES */ /* The following lines are auto generated by the script mkerr.pl. Any changes |