Function esp_idf_svc::sys::mbedtls_poly1305_init
source ยท pub unsafe extern "C" fn mbedtls_poly1305_init(
ctx: *mut mbedtls_poly1305_context,
)
Expand description
\brief This function initializes the specified Poly1305 context.
It must be the first API called before using
the context.
It is usually followed by a call to
\c mbedtls_poly1305_starts(), then one or more calls to
\c mbedtls_poly1305_update(), then one call to
\c mbedtls_poly1305_finish(), then finally
\c mbedtls_poly1305_free().
\param ctx The Poly1305 context to initialize. This must not be \c NULL.