Eneboo - Documentación para desarrolladores
Clases | 'defines' | 'typedefs' | Funciones
Referencia del Archivo src/libdigidoc/openssl/include/openssl/cast.h
#include <openssl/opensslconf.h>

Ir al código fuente de este archivo.

Clases

struct  cast_key_st

'defines'

#define CAST_ENCRYPT   1
#define CAST_DECRYPT   0
#define CAST_LONG   unsigned long
#define CAST_BLOCK   8
#define CAST_KEY_LENGTH   16

'typedefs'

typedef struct cast_key_st CAST_KEY

Funciones

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)

Documentación de los 'defines'

#define CAST_BLOCK   8
#define CAST_DECRYPT   0
#define CAST_ENCRYPT   1
#define CAST_KEY_LENGTH   16
#define CAST_LONG   unsigned long

Documentación de los 'typedefs'

typedef struct cast_key_st CAST_KEY

Documentación de las funciones

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_decrypt ( CAST_LONG *  data,
const CAST_KEY key 
)
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_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 
)
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'