libsodium: Needed for Dnscrypto-proxy Release 1.3.0
[tomato.git] / release / src / router / libsodium / src / libsodium / include / sodium / crypto_onetimeauth_poly1305_ref.h
blob3cb131c572649a956c2d693f434fca8a505fc5fe
1 #ifndef crypto_onetimeauth_poly1305_ref_H
2 #define crypto_onetimeauth_poly1305_ref_H
4 #include "crypto_onetimeauth_poly1305.h"
5 #include "export.h"
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
11 SODIUM_EXPORT
12 extern struct crypto_onetimeauth_poly1305_implementation
13 crypto_onetimeauth_poly1305_ref_implementation;
15 SODIUM_EXPORT
16 const char *crypto_onetimeauth_poly1305_ref_implementation_name(void);
18 SODIUM_EXPORT
19 int crypto_onetimeauth_poly1305_ref(unsigned char *out,
20 const unsigned char *in,
21 unsigned long long inlen,
22 const unsigned char *k);
24 SODIUM_EXPORT
25 int crypto_onetimeauth_poly1305_ref_verify(const unsigned char *h,
26 const unsigned char *in,
27 unsigned long long inlen,
28 const unsigned char *k);
30 #ifdef __cplusplus
32 #endif
34 #endif