56#if !defined(MBEDTLS_CONFIG_FILE)
59#include MBEDTLS_CONFIG_FILE
65#define MBEDTLS_ERR_ARC4_HW_ACCEL_FAILED -0x0019
71#if !defined(MBEDTLS_ARC4_ALT)
131 unsigned int keylen );
149 unsigned char *output );
151#if defined(MBEDTLS_SELF_TEST)
163int mbedtls_arc4_self_test(
int verbose );
GLuint GLsizei GLsizei * length
GLenum GLenum GLenum input
int mbedtls_arc4_crypt(mbedtls_arc4_context *ctx, size_t length, const unsigned char *input, unsigned char *output)
ARC4 cipher function.
void mbedtls_arc4_setup(mbedtls_arc4_context *ctx, const unsigned char *key, unsigned int keylen)
ARC4 key schedule.
void mbedtls_arc4_init(mbedtls_arc4_context *ctx)
Initialize ARC4 context.
void mbedtls_arc4_free(mbedtls_arc4_context *ctx)
Clear ARC4 context.