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

Last change on this file since 164 was 164, checked in by coas-nagasima, 8 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: 798 bytes
Line 
1/* ed25519.h */
2
3#ifndef WOLFSSL_ED25519_H_
4#define WOLFSSL_ED25519_H_
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10WOLFSSL_API
11int wolfSSL_ED25519_generate_key(unsigned char *priv, unsigned int *privSz,
12 unsigned char *pub, unsigned int *pubSz);
13WOLFSSL_API
14int wolfSSL_ED25519_sign(const unsigned char *msg, unsigned int msgSz,
15 const unsigned char *priv, unsigned int privSz,
16 unsigned char *sig, unsigned int *sigSz);
17WOLFSSL_API
18int wolfSSL_ED25519_verify(const unsigned char *msg, unsigned int msgSz,
19 const unsigned char *pub, unsigned int pubSz,
20 const unsigned char *sig, unsigned int sigSz);
21
22#ifdef __cplusplus
23} /* extern "C" */
24#endif
25
26#endif /* header */
Note: See TracBrowser for help on using the repository browser.