1 2#ifndef onetimeauth_poly1305_H 3#define onetimeauth_poly1305_H 4 5#include "crypto_onetimeauth_poly1305.h" 6 7typedef struct crypto_onetimeauth_poly1305_implementation { 8 int (*onetimeauth)(unsigned char *out, const unsigned char *in, 9 unsigned long long inlen, const unsigned char *k); 10 int (*onetimeauth_verify)(const unsigned char *h, const unsigned char *in, 11 unsigned long long inlen, const unsigned char *k); 12 int (*onetimeauth_init)(crypto_onetimeauth_poly1305_state *state, 13 const unsigned char * key); 14 int (*onetimeauth_update)(crypto_onetimeauth_poly1305_state *state, 15 const unsigned char * in, 16 unsigned long long inlen); 17 int (*onetimeauth_final)(crypto_onetimeauth_poly1305_state *state, 18 unsigned char * out); 19} crypto_onetimeauth_poly1305_implementation; 20 21#endif 22