mbedtls_chacha20_update() is only used within mbedTLS.
 
Symbols
loading (1/5)...
Files
loading (2/5)...
SummarySyntaxArgumentsRelatedReferences

Return value

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

Notes

The \p input and \p output pointers must either be equal or point to non-overlapping buffers. \c mbedtls_chacha20_setkey() and \c mbedtls_chacha20_starts() must be called at least once to setup the context before this function can be called. This function can be called multiple times in a row in order to encrypt of decrypt data piecewise with the same key and nonce.

References