1 #ifndef crypto_onetimeauth_H
2 #define crypto_onetimeauth_H
6 #include "crypto_onetimeauth_poly1305.h"
13 #define crypto_onetimeauth_BYTES crypto_onetimeauth_poly1305_BYTES
15 size_t crypto_onetimeauth_bytes(void);
17 #define crypto_onetimeauth_KEYBYTES crypto_onetimeauth_poly1305_KEYBYTES
19 size_t crypto_onetimeauth_keybytes(void);
21 #define crypto_onetimeauth_PRIMITIVE "poly1305"
23 const char *crypto_onetimeauth_primitive(void);
26 int crypto_onetimeauth(unsigned char *out
, const unsigned char *in
,
27 unsigned long long inlen
, const unsigned char *k
);
30 int crypto_onetimeauth_verify(const unsigned char *h
, const unsigned char *in
,
31 unsigned long long inlen
, const unsigned char *k
);