28 #ifndef MBEDTLS_ARC4_H 29 #define MBEDTLS_ARC4_H 31 #if !defined(MBEDTLS_CONFIG_FILE) 34 #include MBEDTLS_CONFIG_FILE 40 #define MBEDTLS_ERR_ARC4_HW_ACCEL_FAILED -0x0019 46 #if !defined(MBEDTLS_ARC4_ALT) 106 unsigned int keylen );
124 unsigned char *output );
int mbedtls_arc4_crypt(mbedtls_arc4_context *ctx, size_t length, const unsigned char *input, unsigned char *output)
ARC4 cipher function.
Configuration options (set of defines)
void mbedtls_arc4_init(mbedtls_arc4_context *ctx)
Initialize ARC4 context.
unsigned char m[256]
Definition: arc4.h:61
struct mbedtls_arc4_context mbedtls_arc4_context
ARC4 context structure.
int x
Definition: arc4.h:59
ARC4 context structure.
Definition: arc4.h:57
void mbedtls_arc4_free(mbedtls_arc4_context *ctx)
Clear ARC4 context.
void mbedtls_arc4_setup(mbedtls_arc4_context *ctx, const unsigned char *key, unsigned int keylen)
ARC4 key schedule.
int mbedtls_arc4_self_test(int verbose)
Checkup routine.
int y
Definition: arc4.h:60