olm/lib/curve25519-donna.h
Richard van der Hoff 25953b350b Use header files where possible
This fixes an incorrect re-declaration of ed25519_sign.

Implement header files for some of the other library bits so that we don't need
to declare functions in crypto.cpp.
2015-12-03 17:08:04 +00:00

18 lines
377 B
C

/* header file for the curve25519-donna implementation, because the
* authors of that project don't supply one.
*/
#ifndef CURVE25519_DONNA_H
#define CURVE25519_DONNA_H
#ifdef __cplusplus
extern "C" {
#endif
extern int curve25519_donna(unsigned char *output, const unsigned char *a,
const unsigned char *b);
#ifdef __cplusplus
}
#endif
#endif