Go to the source code of this file.
|
void | CAST_set_key (CAST_KEY *key, int len, const unsigned char *data) |
|
void | CAST_ecb_encrypt (const unsigned char *in, unsigned char *out, const CAST_KEY *key, int enc) |
|
void | CAST_encrypt (CAST_LONG *data, const CAST_KEY *key) |
|
void | CAST_decrypt (CAST_LONG *data, const CAST_KEY *key) |
|
void | CAST_cbc_encrypt (const unsigned char *in, unsigned char *out, long length, const CAST_KEY *ks, unsigned char *iv, int enc) |
|
void | CAST_cfb64_encrypt (const unsigned char *in, unsigned char *out, long length, const CAST_KEY *schedule, unsigned char *ivec, int *num, int enc) |
|
void | CAST_ofb64_encrypt (const unsigned char *in, unsigned char *out, long length, const CAST_KEY *schedule, unsigned char *ivec, int *num) |
|
#define CAST_KEY_LENGTH 16 |
#define CAST_LONG unsigned int |
void CAST_cbc_encrypt |
( |
const unsigned char * |
in, |
|
|
unsigned char * |
out, |
|
|
long |
length, |
|
|
const CAST_KEY * |
ks, |
|
|
unsigned char * |
iv, |
|
|
int |
enc |
|
) |
| |
void CAST_cfb64_encrypt |
( |
const unsigned char * |
in, |
|
|
unsigned char * |
out, |
|
|
long |
length, |
|
|
const CAST_KEY * |
schedule, |
|
|
unsigned char * |
ivec, |
|
|
int * |
num, |
|
|
int |
enc |
|
) |
| |
void CAST_ecb_encrypt |
( |
const unsigned char * |
in, |
|
|
unsigned char * |
out, |
|
|
const CAST_KEY * |
key, |
|
|
int |
enc |
|
) |
| |
void CAST_ofb64_encrypt |
( |
const unsigned char * |
in, |
|
|
unsigned char * |
out, |
|
|
long |
length, |
|
|
const CAST_KEY * |
schedule, |
|
|
unsigned char * |
ivec, |
|
|
int * |
num |
|
) |
| |
void CAST_set_key |
( |
CAST_KEY * |
key, |
|
|
int |
len, |
|
|
const unsigned char * |
data |
|
) |
| |