rc2.h File Reference

RC2_ENCRYPT

RC2_DECRYPT

RC2_BLOCK

RC2_KEY_LENGTH

Typedef RC2_KEY

typedef struct rc2_key_stRC2_KEY

RC2_set_key ( RC2_KEY *, int, const unsigned char *, int )

IMPORT_C voidRC2_set_key(RC2_KEY *key,
intlen,
const unsigned char *data,
intbits
)

RC2_ecb_encrypt ( const unsigned char *, unsigned char *, RC2_KEY *, int )

IMPORT_C voidRC2_ecb_encrypt(const unsigned char *in,
unsigned char *out,
RC2_KEY *key,
intenc
)

RC2_encrypt ( unsigned long *, RC2_KEY * )

IMPORT_C voidRC2_encrypt(unsigned long *data,
RC2_KEY *key
)

RC2_decrypt ( unsigned long *, RC2_KEY * )

IMPORT_C voidRC2_decrypt(unsigned long *data,
RC2_KEY *key
)

RC2_cbc_encrypt ( const unsigned char *, unsigned char *, long, RC2_KEY *, unsigned char *, int )

IMPORT_C voidRC2_cbc_encrypt(const unsigned char *in,
unsigned char *out,
longlength,
RC2_KEY *ks,
unsigned char *iv,
intenc
)

RC2_cfb64_encrypt ( const unsigned char *, unsigned char *, long, RC2_KEY *, unsigned char *, int *, int )

IMPORT_C voidRC2_cfb64_encrypt(const unsigned char *in,
unsigned char *out,
longlength,
RC2_KEY *schedule,
unsigned char *ivec,
int *num,
intenc
)

RC2_ofb64_encrypt ( const unsigned char *, unsigned char *, long, RC2_KEY *, unsigned char *, int * )

IMPORT_C voidRC2_ofb64_encrypt(const unsigned char *in,
unsigned char *out,
longlength,
RC2_KEY *schedule,
unsigned char *ivec,
int *num
)