This commit is contained in:
Frank Denis 2013-04-27 09:03:31 -07:00
parent cfe3f24964
commit 5b09876c95

View File

@ -14,28 +14,18 @@
extern "C" {
#endif
SODIUM_EXPORT
int crypto_scalarmult_curve25519(unsigned char *,const unsigned char *,const unsigned char *);
SODIUM_EXPORT
int crypto_scalarmult_curve25519_base(unsigned char *,const unsigned char *);
#ifdef SODIUM_HAVE_TI_MODE
SODIUM_EXPORT
int crypto_scalarmult_curve25519(unsigned char *,const unsigned char *,const unsigned char *);
SODIUM_EXPORT
int crypto_scalarmult_curve25519_base(unsigned char *,const unsigned char *);
#define crypto_scalarmult_curve25519_donna_c64 crypto_scalarmult_curve25519
#define crypto_scalarmult_curve25519_donna_c64_base crypto_scalarmult_curve25519_base
# define crypto_scalarmult_curve25519_donna_c64 crypto_scalarmult_curve25519
# define crypto_scalarmult_curve25519_donna_c64_base crypto_scalarmult_curve25519_base
#else
SODIUM_EXPORT
int crypto_scalarmult_curve25519(unsigned char *,const unsigned char *,const unsigned char *);
SODIUM_EXPORT
int crypto_scalarmult_curve25519_base(unsigned char *,const unsigned char *);
#define crypto_scalarmult_curve25519_ref crypto_scalarmult_curve25519
#define crypto_scalarmult_curve25519_ref_base crypto_scalarmult_curve25519_base
# define crypto_scalarmult_curve25519_ref crypto_scalarmult_curve25519
# define crypto_scalarmult_curve25519_ref_base crypto_scalarmult_curve25519_base
#endif
#ifdef __cplusplus