pub unsafe extern "C" fn mbedtls_poly1305_finish(
    ctx: *mut mbedtls_poly1305_context,
    mac: *mut c_uchar
) -> c_int
Expand description

\brief This function generates the Poly1305 Message Authentication Code (MAC).

\param ctx The Poly1305 context to use for the Poly1305 operation. This must be initialized and bound to a key. \param mac The buffer to where the MAC is written. This must be a writable buffer of length \c 16 Bytes.

\return \c 0 on success. \return A negative error code on failure.