Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
wolfssl/openssl/ecdh.h@7:481bce714567, 2017-05-02 (annotated)
- Committer:
- wolfSSL
- Date:
- Tue May 02 08:44:47 2017 +0000
- Revision:
- 7:481bce714567
wolfSSL3.10.2
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
wolfSSL | 7:481bce714567 | 1 | /* ecdh.h for openssl */ |
wolfSSL | 7:481bce714567 | 2 | |
wolfSSL | 7:481bce714567 | 3 | #ifndef WOLFSSL_ECDH_H_ |
wolfSSL | 7:481bce714567 | 4 | #define WOLFSSL_ECDH_H_ |
wolfSSL | 7:481bce714567 | 5 | |
wolfSSL | 7:481bce714567 | 6 | #include <wolfssl/openssl/ssl.h> |
wolfSSL | 7:481bce714567 | 7 | #include <wolfssl/openssl/bn.h> |
wolfSSL | 7:481bce714567 | 8 | |
wolfSSL | 7:481bce714567 | 9 | #ifdef __cplusplus |
wolfSSL | 7:481bce714567 | 10 | extern "C" { |
wolfSSL | 7:481bce714567 | 11 | #endif |
wolfSSL | 7:481bce714567 | 12 | |
wolfSSL | 7:481bce714567 | 13 | |
wolfSSL | 7:481bce714567 | 14 | WOLFSSL_API int wolfSSL_ECDH_compute_key(void *out, size_t outlen, |
wolfSSL | 7:481bce714567 | 15 | const WOLFSSL_EC_POINT *pub_key, |
wolfSSL | 7:481bce714567 | 16 | WOLFSSL_EC_KEY *ecdh, |
wolfSSL | 7:481bce714567 | 17 | void *(*KDF) (const void *in, |
wolfSSL | 7:481bce714567 | 18 | size_t inlen, |
wolfSSL | 7:481bce714567 | 19 | void *out, |
wolfSSL | 7:481bce714567 | 20 | size_t *outlen)); |
wolfSSL | 7:481bce714567 | 21 | |
wolfSSL | 7:481bce714567 | 22 | #define ECDH_compute_key wolfSSL_ECDH_compute_key |
wolfSSL | 7:481bce714567 | 23 | |
wolfSSL | 7:481bce714567 | 24 | #ifdef __cplusplus |
wolfSSL | 7:481bce714567 | 25 | } /* extern C */ |
wolfSSL | 7:481bce714567 | 26 | #endif |
wolfSSL | 7:481bce714567 | 27 | |
wolfSSL | 7:481bce714567 | 28 | #endif /* header */ |
wolfSSL | 7:481bce714567 | 29 |