wolfSSL 3.11.1 for TLS1.3 beta
Fork of wolfSSL by
wolfssl/openssl/ed25519.h@13:80fb167dafdf, 2017-05-30 (annotated)
- Committer:
- wolfSSL
- Date:
- Tue May 30 06:16:19 2017 +0000
- Revision:
- 13:80fb167dafdf
- Parent:
- 3:6f956bdb3073
wolfSSL 3.11.1: TLS1.3 Beta
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
wolfSSL | 3:6f956bdb3073 | 1 | /* ed25519.h */ |
wolfSSL | 3:6f956bdb3073 | 2 | |
wolfSSL | 3:6f956bdb3073 | 3 | #ifndef WOLFSSL_ED25519_H_ |
wolfSSL | 3:6f956bdb3073 | 4 | #define WOLFSSL_ED25519_H_ |
wolfSSL | 3:6f956bdb3073 | 5 | |
wolfSSL | 3:6f956bdb3073 | 6 | #ifdef __cplusplus |
wolfSSL | 3:6f956bdb3073 | 7 | extern "C" { |
wolfSSL | 3:6f956bdb3073 | 8 | #endif |
wolfSSL | 3:6f956bdb3073 | 9 | |
wolfSSL | 3:6f956bdb3073 | 10 | WOLFSSL_API |
wolfSSL | 3:6f956bdb3073 | 11 | int wolfSSL_ED25519_generate_key(unsigned char *priv, unsigned int *privSz, |
wolfSSL | 3:6f956bdb3073 | 12 | unsigned char *pub, unsigned int *pubSz); |
wolfSSL | 3:6f956bdb3073 | 13 | WOLFSSL_API |
wolfSSL | 3:6f956bdb3073 | 14 | int wolfSSL_ED25519_sign(const unsigned char *msg, unsigned int msgSz, |
wolfSSL | 3:6f956bdb3073 | 15 | const unsigned char *priv, unsigned int privSz, |
wolfSSL | 3:6f956bdb3073 | 16 | unsigned char *sig, unsigned int *sigSz); |
wolfSSL | 3:6f956bdb3073 | 17 | WOLFSSL_API |
wolfSSL | 3:6f956bdb3073 | 18 | int wolfSSL_ED25519_verify(const unsigned char *msg, unsigned int msgSz, |
wolfSSL | 3:6f956bdb3073 | 19 | const unsigned char *pub, unsigned int pubSz, |
wolfSSL | 3:6f956bdb3073 | 20 | const unsigned char *sig, unsigned int sigSz); |
wolfSSL | 3:6f956bdb3073 | 21 | |
wolfSSL | 3:6f956bdb3073 | 22 | #ifdef __cplusplus |
wolfSSL | 3:6f956bdb3073 | 23 | } /* extern "C" */ |
wolfSSL | 3:6f956bdb3073 | 24 | #endif |
wolfSSL | 3:6f956bdb3073 | 25 | |
wolfSSL | 3:6f956bdb3073 | 26 | #endif /* header */ |
wolfSSL | 3:6f956bdb3073 | 27 |