#ifndef crypto_onetimeauth_poly1305_donna_H
#define crypto_onetimeauth_poly1305_donna_H

#include "crypto_onetimeauth_poly1305.h"
#include "export.h"

#ifdef __cplusplus
# if __GNUC__
#  pragma GCC diagnostic ignored "-Wlong-long"
# endif
extern "C" {
#endif

SODIUM_EXPORT
extern struct crypto_onetimeauth_poly1305_implementation
        crypto_onetimeauth_poly1305_donna_implementation;

SODIUM_EXPORT
const char *crypto_onetimeauth_poly1305_donna_implementation_name(void);

SODIUM_EXPORT
int crypto_onetimeauth_poly1305_donna(unsigned char *out,
                                      const unsigned char *in,
                                      unsigned long long inlen,
                                      const unsigned char *k);

SODIUM_EXPORT
int crypto_onetimeauth_poly1305_donna_verify(const unsigned char *h,
                                             const unsigned char *in,
                                             unsigned long long inlen,
                                             const unsigned char *k);

#ifdef __cplusplus
}
#endif

#endif
