mbedtls_poly1305_update() function
This functions feeds an input buffer into an ongoing Poly1305 computation. It is called between \c mbedtls_cipher_poly1305_starts() and \c mbedtls_cipher_poly1305_finish(). It can be called repeatedly to process a stream of data.
Arguments
ctx
The Poly1305 context to use for the Poly1305 operation. This must be initialized and bound to a key.
input
The buffer holding the input data. This pointer can be \c NULL if `ilen == 0`.
ilen
The length of the input data in Bytes. Any value is accepted.
Return value
\c 0 on success. A negative error code on failure.