OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions | Variables
rc4_skey.c File Reference
#include <openssl/rc4.h>
#include "rc4_locl.h"
#include <openssl/opensslv.h>

Go to the source code of this file.

Macros

#define SK_LOOP(d, n)
 

Functions

const char * RC4_options (void)
 
void private_RC4_set_key (RC4_KEY *key, int len, const unsigned char *data)
 

Variables

const char RC4_version [] ="RC4" OPENSSL_VERSION_PTEXT
 

Macro Definition Documentation

#define SK_LOOP (   d,
 
)
Value:
{ \
tmp=d[(n)]; \
id2 = (data[id1] + tmp + id2) & 0xff; \
if (++id1 == len) id1=0; \
d[(n)]=d[id2]; \
d[id2]=tmp; }

Function Documentation

void private_RC4_set_key ( RC4_KEY key,
int  len,
const unsigned char *  data 
)

Definition at line 88 of file rc4_skey.c.

const char* RC4_options ( void  )

Definition at line 65 of file rc4_skey.c.

Variable Documentation

const char RC4_version[] ="RC4" OPENSSL_VERSION_PTEXT

Definition at line 63 of file rc4_skey.c.