source: UsbWattMeter/trunk/wolfssl-3.7.0/wolfssl/openssl/ecdh.h@ 164

Last change on this file since 164 was 164, checked in by coas-nagasima, 6 years ago

TOPPERS/ECNLサンプルアプリ「USB充電器電力計」を追加

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-chdr
File size: 782 bytes
Line 
1/* ecdh.h for openssl */
2
3#ifndef WOLFSSL_ECDH_H_
4#define WOLFSSL_ECDH_H_
5
6#include <wolfssl/openssl/ssl.h>
7#include <wolfssl/openssl/bn.h>
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13
14WOLFSSL_API int wolfSSL_ECDH_compute_key(void *out, size_t outlen,
15 const WOLFSSL_EC_POINT *pub_key,
16 WOLFSSL_EC_KEY *ecdh,
17 void *(*KDF) (const void *in,
18 size_t inlen,
19 void *out,
20 size_t *outlen));
21
22#define ECDH_compute_key wolfSSL_ECDH_compute_key
23
24#ifdef __cplusplus
25} /* extern C */
26#endif
27
28#endif /* header */
Note: See TracBrowser for help on using the repository browser.