27#include "ext_headers.h"
38#define LC_POLY1305_STATE_SIZE (sizeof(struct lc_poly1305_context))
39#define LC_POLY1305_TAGSIZE (16)
40#define LC_POLY1305_KEYSIZE (32)
void lc_poly1305_final(struct lc_poly1305_context *ctx, uint8_t mac[LC_POLY1305_TAGSIZE])
Calculate the Poly1305 keyed message digest from the state.
#define LC_POLY1305_KEYSIZE
void lc_poly1305_init(struct lc_poly1305_context *ctx, const uint8_t key[LC_POLY1305_KEYSIZE])
Initialize the Poly1305 algorithm with a key.
void lc_poly1305_update(struct lc_poly1305_context *ctx, const uint8_t *m, size_t bytes)
Add data to the Poly1305 context to digest it.
#define LC_POLY1305_TAGSIZE