Renesas / SecureDweet
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ec25519.h Source File

ec25519.h

00001 /* ec25519.h */
00002 
00003 #ifndef WOLFSSL_EC25519_H_
00004 #define WOLFSSL_EC25519_H_
00005 
00006 #ifdef __cplusplus
00007 extern "C" {
00008 #endif
00009 
00010 WOLFSSL_API
00011 int wolfSSL_EC25519_generate_key(unsigned char *priv, unsigned int *privSz,
00012                                  unsigned char *pub, unsigned int *pubSz);
00013 
00014 WOLFSSL_API
00015 int wolfSSL_EC25519_shared_key(unsigned char *shared, unsigned int *sharedSz,
00016                                const unsigned char *priv, unsigned int privSz,
00017                                const unsigned char *pub, unsigned int pubSz);
00018 
00019 #ifdef __cplusplus
00020 }  /* extern "C" */
00021 #endif
00022 
00023 #endif /* header */
00024