My Project
chacha.h
Go to the documentation of this file.
1 
33 int wc_Chacha_SetIV(ChaCha* ctx, const byte* inIv, word32 counter);
34 
67 int wc_Chacha_Process(ChaCha* ctx, byte* cipher, const byte* plain,
68  word32 msglen);
69 
99 int wc_Chacha_SetKey(ChaCha* ctx, const byte* key, word32 keySz);
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....