22 #if defined(HAVE_POLY1305)
42 void cx_poly1305_init(cx_poly1305_context_t *ctx);
56 void cx_poly1305_set_key(cx_poly1305_context_t *ctx,
const uint8_t *key);
75 WARN_UNUSED_RESULT cx_err_t cx_poly1305_update(cx_poly1305_context_t *ctx,
91 WARN_UNUSED_RESULT cx_err_t cx_poly1305_finish(cx_poly1305_context_t *ctx,
uint8_t *tag);
112 WARN_UNUSED_RESULT cx_err_t cx_poly1305_mac(
const uint8_t *key,
POLY1305 Message Authentication Code.