int wc_Chacha_Process(ChaCha *ctx, byte *cipher, const byte *plain, word32 msglen)
This function processes the text from the buffer input, encrypts or decrypts it, and stores the resul...
int wc_Chacha_SetIV(ChaCha *ctx, const byte *inIv, word32 counter)
This function sets the initialization vector (nonce) for a ChaCha object, initializing it for use as ...
int wc_Chacha_SetKey(ChaCha *ctx, const byte *key, word32 keySz)
This function sets the key for a ChaCha object, initializing it for use as a cipher....