Xuyi Wang / wolfSSL

Dependents:   OS

Committer:
wolfSSL
Date:
Tue May 02 08:44:47 2017 +0000
Revision:
7:481bce714567
wolfSSL3.10.2

Who changed what in which revision?

UserRevisionLine numberNew contents of line
wolfSSL 7:481bce714567 1 /* ed25519.h */
wolfSSL 7:481bce714567 2
wolfSSL 7:481bce714567 3 #ifndef WOLFSSL_ED25519_H_
wolfSSL 7:481bce714567 4 #define WOLFSSL_ED25519_H_
wolfSSL 7:481bce714567 5
wolfSSL 7:481bce714567 6 #ifdef __cplusplus
wolfSSL 7:481bce714567 7 extern "C" {
wolfSSL 7:481bce714567 8 #endif
wolfSSL 7:481bce714567 9
wolfSSL 7:481bce714567 10 WOLFSSL_API
wolfSSL 7:481bce714567 11 int wolfSSL_ED25519_generate_key(unsigned char *priv, unsigned int *privSz,
wolfSSL 7:481bce714567 12 unsigned char *pub, unsigned int *pubSz);
wolfSSL 7:481bce714567 13 WOLFSSL_API
wolfSSL 7:481bce714567 14 int wolfSSL_ED25519_sign(const unsigned char *msg, unsigned int msgSz,
wolfSSL 7:481bce714567 15 const unsigned char *priv, unsigned int privSz,
wolfSSL 7:481bce714567 16 unsigned char *sig, unsigned int *sigSz);
wolfSSL 7:481bce714567 17 WOLFSSL_API
wolfSSL 7:481bce714567 18 int wolfSSL_ED25519_verify(const unsigned char *msg, unsigned int msgSz,
wolfSSL 7:481bce714567 19 const unsigned char *pub, unsigned int pubSz,
wolfSSL 7:481bce714567 20 const unsigned char *sig, unsigned int sigSz);
wolfSSL 7:481bce714567 21
wolfSSL 7:481bce714567 22 #ifdef __cplusplus
wolfSSL 7:481bce714567 23 } /* extern "C" */
wolfSSL 7:481bce714567 24 #endif
wolfSSL 7:481bce714567 25
wolfSSL 7:481bce714567 26 #endif /* header */
wolfSSL 7:481bce714567 27