wolfSSL 3.11.1 for TLS1.3 beta
Fork of wolfSSL by
wolfssl/openssl/ec25519.h@7:481bce714567, 2017-05-02 (annotated)
- Committer:
- wolfSSL
- Date:
- Tue May 02 08:44:47 2017 +0000
- Revision:
- 7:481bce714567
wolfSSL3.10.2
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
wolfSSL | 7:481bce714567 | 1 | /* ec25519.h */ |
wolfSSL | 7:481bce714567 | 2 | |
wolfSSL | 7:481bce714567 | 3 | #ifndef WOLFSSL_EC25519_H_ |
wolfSSL | 7:481bce714567 | 4 | #define WOLFSSL_EC25519_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_EC25519_generate_key(unsigned char *priv, unsigned int *privSz, |
wolfSSL | 7:481bce714567 | 12 | unsigned char *pub, unsigned int *pubSz); |
wolfSSL | 7:481bce714567 | 13 | |
wolfSSL | 7:481bce714567 | 14 | WOLFSSL_API |
wolfSSL | 7:481bce714567 | 15 | int wolfSSL_EC25519_shared_key(unsigned char *shared, unsigned int *sharedSz, |
wolfSSL | 7:481bce714567 | 16 | const unsigned char *priv, unsigned int privSz, |
wolfSSL | 7:481bce714567 | 17 | const unsigned char *pub, unsigned int pubSz); |
wolfSSL | 7:481bce714567 | 18 | |
wolfSSL | 7:481bce714567 | 19 | #ifdef __cplusplus |
wolfSSL | 7:481bce714567 | 20 | } /* extern "C" */ |
wolfSSL | 7:481bce714567 | 21 | #endif |
wolfSSL | 7:481bce714567 | 22 | |
wolfSSL | 7:481bce714567 | 23 | #endif /* header */ |
wolfSSL | 7:481bce714567 | 24 |