wolfSSL 3.11.1 for TLS1.3 beta
Fork of wolfSSL by
wolfssl/openssl/ed25519.h
- Committer:
- wolfSSL
- Date:
- 2017-05-30
- Revision:
- 13:80fb167dafdf
- Parent:
- 3:6f956bdb3073
File content as of revision 13:80fb167dafdf:
/* ed25519.h */ #ifndef WOLFSSL_ED25519_H_ #define WOLFSSL_ED25519_H_ #ifdef __cplusplus extern "C" { #endif WOLFSSL_API int wolfSSL_ED25519_generate_key(unsigned char *priv, unsigned int *privSz, unsigned char *pub, unsigned int *pubSz); WOLFSSL_API int wolfSSL_ED25519_sign(const unsigned char *msg, unsigned int msgSz, const unsigned char *priv, unsigned int privSz, unsigned char *sig, unsigned int *sigSz); WOLFSSL_API int wolfSSL_ED25519_verify(const unsigned char *msg, unsigned int msgSz, const unsigned char *pub, unsigned int pubSz, const unsigned char *sig, unsigned int sigSz); #ifdef __cplusplus } /* extern "C" */ #endif #endif /* header */