26 #ifndef WOLF_CRYPT_ARC4_H 27 #define WOLF_CRYPT_ARC4_H 35 #ifdef WOLFSSL_ASYNC_CRYPT 36 #include <wolfssl/wolfcrypt/async.h> 41 ARC4_STATE_SIZE = 256,
49 byte state[ARC4_STATE_SIZE];
50 #ifdef WOLFSSL_ASYNC_CRYPT 51 WC_ASYNC_DEV asyncDev;
59 WOLFSSL_API
int wc_Arc4Init(
Arc4*,
void*,
int);
60 WOLFSSL_API
void wc_Arc4Free(
Arc4*);
WOLFSSL_API int wc_Arc4Process(Arc4 *, byte *, const byte *, word32)
This function encrypts an input message from the buffer in, placing the ciphertext in the output buff...
Definition: arc4.c:87
WOLFSSL_API int wc_Arc4SetKey(Arc4 *, const byte *, word32)
This function sets the key for a ARC4 object, initializing it for use as a cipher. It should be called before using it for encryption with wc_Arc4Process.
Definition: arc4.c:35