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