mbedtls_chacha20_setkey() is only used within mbedTLS.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsRelatedReferences

Return value

\c 0 on success. #MBEDTLS_ERR_CHACHA20_BAD_INPUT_DATA if ctx or key is NULL.

Notes

After using this function, you must also call \c mbedtls_chacha20_starts() to set a nonce before you start encrypting/decrypting data with \c mbedtls_chacha_update().

References