Ir al código fuente de este archivo.
Clases |
struct | rc5_key_st |
'defines' |
#define | RC5_ENCRYPT 1 |
#define | RC5_DECRYPT 0 |
#define | RC5_32_INT unsigned long |
#define | RC5_32_BLOCK 8 |
#define | RC5_32_KEY_LENGTH 16 |
#define | RC5_8_ROUNDS 8 |
#define | RC5_12_ROUNDS 12 |
#define | RC5_16_ROUNDS 16 |
'typedefs' |
typedef struct rc5_key_st | RC5_32_KEY |
Funciones |
void | RC5_32_set_key (RC5_32_KEY *key, int len, const unsigned char *data, int rounds) |
void | RC5_32_ecb_encrypt (const unsigned char *in, unsigned char *out, RC5_32_KEY *key, int enc) |
void | RC5_32_encrypt (unsigned long *data, RC5_32_KEY *key) |
void | RC5_32_decrypt (unsigned long *data, RC5_32_KEY *key) |
void | RC5_32_cbc_encrypt (const unsigned char *in, unsigned char *out, long length, RC5_32_KEY *ks, unsigned char *iv, int enc) |
void | RC5_32_cfb64_encrypt (const unsigned char *in, unsigned char *out, long length, RC5_32_KEY *schedule, unsigned char *ivec, int *num, int enc) |
void | RC5_32_ofb64_encrypt (const unsigned char *in, unsigned char *out, long length, RC5_32_KEY *schedule, unsigned char *ivec, int *num) |
Documentación de los 'defines'
#define RC5_32_INT unsigned long |
#define RC5_32_KEY_LENGTH 16 |
Documentación de los 'typedefs'
Documentación de las funciones
void RC5_32_cbc_encrypt |
( |
const unsigned char * |
in, |
|
|
unsigned char * |
out, |
|
|
long |
length, |
|
|
RC5_32_KEY * |
ks, |
|
|
unsigned char * |
iv, |
|
|
int |
enc |
|
) |
| |
void RC5_32_cfb64_encrypt |
( |
const unsigned char * |
in, |
|
|
unsigned char * |
out, |
|
|
long |
length, |
|
|
RC5_32_KEY * |
schedule, |
|
|
unsigned char * |
ivec, |
|
|
int * |
num, |
|
|
int |
enc |
|
) |
| |
void RC5_32_decrypt |
( |
unsigned long * |
data, |
|
|
RC5_32_KEY * |
key |
|
) |
| |
void RC5_32_ecb_encrypt |
( |
const unsigned char * |
in, |
|
|
unsigned char * |
out, |
|
|
RC5_32_KEY * |
key, |
|
|
int |
enc |
|
) |
| |
void RC5_32_encrypt |
( |
unsigned long * |
data, |
|
|
RC5_32_KEY * |
key |
|
) |
| |
void RC5_32_ofb64_encrypt |
( |
const unsigned char * |
in, |
|
|
unsigned char * |
out, |
|
|
long |
length, |
|
|
RC5_32_KEY * |
schedule, |
|
|
unsigned char * |
ivec, |
|
|
int * |
num |
|
) |
| |
void RC5_32_set_key |
( |
RC5_32_KEY * |
key, |
|
|
int |
len, |
|
|
const unsigned char * |
data, |
|
|
int |
rounds |
|
) |
| |