Eneboo - Documentación para desarrolladores
'defines' | Funciones
Referencia del Archivo src/libdigidoc/openssl/crypto/des/des_old.c
#include <openssl/des.h>
#include <openssl/rand.h>

'defines'

#define OPENSSL_DES_LIBDES_COMPATIBILITY

Funciones

const char * _ossl_old_des_options (void)
void _ossl_old_des_ecb3_encrypt (_ossl_old_des_cblock *input, _ossl_old_des_cblock *output, des_key_schedule ks1, des_key_schedule ks2, des_key_schedule ks3, int enc)
DES_LONG _ossl_old_des_cbc_cksum (_ossl_old_des_cblock *input, _ossl_old_des_cblock *output, long length, des_key_schedule schedule, _ossl_old_des_cblock *ivec)
void _ossl_old_des_cbc_encrypt (_ossl_old_des_cblock *input, _ossl_old_des_cblock *output, long length, des_key_schedule schedule, _ossl_old_des_cblock *ivec, int enc)
void _ossl_old_des_ncbc_encrypt (_ossl_old_des_cblock *input, _ossl_old_des_cblock *output, long length, des_key_schedule schedule, _ossl_old_des_cblock *ivec, int enc)
void _ossl_old_des_xcbc_encrypt (_ossl_old_des_cblock *input, _ossl_old_des_cblock *output, long length, des_key_schedule schedule, _ossl_old_des_cblock *ivec, _ossl_old_des_cblock *inw, _ossl_old_des_cblock *outw, int enc)
void _ossl_old_des_cfb_encrypt (unsigned char *in, unsigned char *out, int numbits, long length, des_key_schedule schedule, _ossl_old_des_cblock *ivec, int enc)
void _ossl_old_des_ecb_encrypt (_ossl_old_des_cblock *input, _ossl_old_des_cblock *output, des_key_schedule ks, int enc)
void _ossl_old_des_encrypt (DES_LONG *data, des_key_schedule ks, int enc)
void _ossl_old_des_encrypt2 (DES_LONG *data, des_key_schedule ks, int enc)
void _ossl_old_des_encrypt3 (DES_LONG *data, des_key_schedule ks1, des_key_schedule ks2, des_key_schedule ks3)
void _ossl_old_des_decrypt3 (DES_LONG *data, des_key_schedule ks1, des_key_schedule ks2, des_key_schedule ks3)
void _ossl_old_des_ede3_cbc_encrypt (_ossl_old_des_cblock *input, _ossl_old_des_cblock *output, long length, des_key_schedule ks1, des_key_schedule ks2, des_key_schedule ks3, _ossl_old_des_cblock *ivec, int enc)
void _ossl_old_des_ede3_cfb64_encrypt (unsigned char *in, unsigned char *out, long length, des_key_schedule ks1, des_key_schedule ks2, des_key_schedule ks3, _ossl_old_des_cblock *ivec, int *num, int enc)
void _ossl_old_des_ede3_ofb64_encrypt (unsigned char *in, unsigned char *out, long length, des_key_schedule ks1, des_key_schedule ks2, des_key_schedule ks3, _ossl_old_des_cblock *ivec, int *num)
int _ossl_old_des_enc_read (int fd, char *buf, int len, des_key_schedule sched, _ossl_old_des_cblock *iv)
int _ossl_old_des_enc_write (int fd, char *buf, int len, des_key_schedule sched, _ossl_old_des_cblock *iv)
char * _ossl_old_des_fcrypt (const char *buf, const char *salt, char *ret)
char * _ossl_old_des_crypt (const char *buf, const char *salt)
char * _ossl_old_crypt (const char *buf, const char *salt)
void _ossl_old_des_ofb_encrypt (unsigned char *in, unsigned char *out, int numbits, long length, des_key_schedule schedule, _ossl_old_des_cblock *ivec)
void _ossl_old_des_pcbc_encrypt (_ossl_old_des_cblock *input, _ossl_old_des_cblock *output, long length, des_key_schedule schedule, _ossl_old_des_cblock *ivec, int enc)
DES_LONG _ossl_old_des_quad_cksum (_ossl_old_des_cblock *input, _ossl_old_des_cblock *output, long length, int out_count, _ossl_old_des_cblock *seed)
void _ossl_old_des_random_seed (_ossl_old_des_cblock key)
void _ossl_old_des_random_key (_ossl_old_des_cblock ret)
int _ossl_old_des_read_password (_ossl_old_des_cblock *key, const char *prompt, int verify)
int _ossl_old_des_read_2passwords (_ossl_old_des_cblock *key1, _ossl_old_des_cblock *key2, const char *prompt, int verify)
void _ossl_old_des_set_odd_parity (_ossl_old_des_cblock *key)
int _ossl_old_des_is_weak_key (_ossl_old_des_cblock *key)
int _ossl_old_des_set_key (_ossl_old_des_cblock *key, des_key_schedule schedule)
int _ossl_old_des_key_sched (_ossl_old_des_cblock *key, des_key_schedule schedule)
void _ossl_old_des_string_to_key (char *str, _ossl_old_des_cblock *key)
void _ossl_old_des_string_to_2keys (char *str, _ossl_old_des_cblock *key1, _ossl_old_des_cblock *key2)
void _ossl_old_des_cfb64_encrypt (unsigned char *in, unsigned char *out, long length, des_key_schedule schedule, _ossl_old_des_cblock *ivec, int *num, int enc)
void _ossl_old_des_ofb64_encrypt (unsigned char *in, unsigned char *out, long length, des_key_schedule schedule, _ossl_old_des_cblock *ivec, int *num)

Documentación de los 'defines'

#define OPENSSL_DES_LIBDES_COMPATIBILITY

Documentación de las funciones

char* _ossl_old_crypt ( const char *  buf,
const char *  salt 
)
DES_LONG _ossl_old_des_cbc_cksum ( _ossl_old_des_cblock input,
_ossl_old_des_cblock output,
long  length,
des_key_schedule  schedule,
_ossl_old_des_cblock ivec 
)
void _ossl_old_des_cbc_encrypt ( _ossl_old_des_cblock input,
_ossl_old_des_cblock output,
long  length,
des_key_schedule  schedule,
_ossl_old_des_cblock ivec,
int  enc 
)
void _ossl_old_des_cfb64_encrypt ( unsigned char *  in,
unsigned char *  out,
long  length,
des_key_schedule  schedule,
_ossl_old_des_cblock ivec,
int num,
int  enc 
)
void _ossl_old_des_cfb_encrypt ( unsigned char *  in,
unsigned char *  out,
int  numbits,
long  length,
des_key_schedule  schedule,
_ossl_old_des_cblock ivec,
int  enc 
)
char* _ossl_old_des_crypt ( const char *  buf,
const char *  salt 
)
void _ossl_old_des_decrypt3 ( DES_LONG *  data,
des_key_schedule  ks1,
des_key_schedule  ks2,
des_key_schedule  ks3 
)
void _ossl_old_des_ecb3_encrypt ( _ossl_old_des_cblock input,
_ossl_old_des_cblock output,
des_key_schedule  ks1,
des_key_schedule  ks2,
des_key_schedule  ks3,
int  enc 
)
void _ossl_old_des_ecb_encrypt ( _ossl_old_des_cblock input,
_ossl_old_des_cblock output,
des_key_schedule  ks,
int  enc 
)
void _ossl_old_des_ede3_cbc_encrypt ( _ossl_old_des_cblock input,
_ossl_old_des_cblock output,
long  length,
des_key_schedule  ks1,
des_key_schedule  ks2,
des_key_schedule  ks3,
_ossl_old_des_cblock ivec,
int  enc 
)
void _ossl_old_des_ede3_cfb64_encrypt ( unsigned char *  in,
unsigned char *  out,
long  length,
des_key_schedule  ks1,
des_key_schedule  ks2,
des_key_schedule  ks3,
_ossl_old_des_cblock ivec,
int num,
int  enc 
)
void _ossl_old_des_ede3_ofb64_encrypt ( unsigned char *  in,
unsigned char *  out,
long  length,
des_key_schedule  ks1,
des_key_schedule  ks2,
des_key_schedule  ks3,
_ossl_old_des_cblock ivec,
int num 
)
int _ossl_old_des_enc_read ( int  fd,
char *  buf,
int  len,
des_key_schedule  sched,
_ossl_old_des_cblock iv 
)
int _ossl_old_des_enc_write ( int  fd,
char *  buf,
int  len,
des_key_schedule  sched,
_ossl_old_des_cblock iv 
)
void _ossl_old_des_encrypt ( DES_LONG *  data,
des_key_schedule  ks,
int  enc 
)
void _ossl_old_des_encrypt2 ( DES_LONG *  data,
des_key_schedule  ks,
int  enc 
)
void _ossl_old_des_encrypt3 ( DES_LONG *  data,
des_key_schedule  ks1,
des_key_schedule  ks2,
des_key_schedule  ks3 
)
char* _ossl_old_des_fcrypt ( const char *  buf,
const char *  salt,
char *  ret 
)
int _ossl_old_des_is_weak_key ( _ossl_old_des_cblock key)
int _ossl_old_des_key_sched ( _ossl_old_des_cblock key,
des_key_schedule  schedule 
)
void _ossl_old_des_ncbc_encrypt ( _ossl_old_des_cblock input,
_ossl_old_des_cblock output,
long  length,
des_key_schedule  schedule,
_ossl_old_des_cblock ivec,
int  enc 
)
void _ossl_old_des_ofb64_encrypt ( unsigned char *  in,
unsigned char *  out,
long  length,
des_key_schedule  schedule,
_ossl_old_des_cblock ivec,
int num 
)
void _ossl_old_des_ofb_encrypt ( unsigned char *  in,
unsigned char *  out,
int  numbits,
long  length,
des_key_schedule  schedule,
_ossl_old_des_cblock ivec 
)
const char* _ossl_old_des_options ( void  )
void _ossl_old_des_pcbc_encrypt ( _ossl_old_des_cblock input,
_ossl_old_des_cblock output,
long  length,
des_key_schedule  schedule,
_ossl_old_des_cblock ivec,
int  enc 
)
DES_LONG _ossl_old_des_quad_cksum ( _ossl_old_des_cblock input,
_ossl_old_des_cblock output,
long  length,
int  out_count,
_ossl_old_des_cblock seed 
)
void _ossl_old_des_random_key ( _ossl_old_des_cblock  ret)
void _ossl_old_des_random_seed ( _ossl_old_des_cblock  key)
int _ossl_old_des_read_2passwords ( _ossl_old_des_cblock key1,
_ossl_old_des_cblock key2,
const char *  prompt,
int  verify 
)
int _ossl_old_des_read_password ( _ossl_old_des_cblock key,
const char *  prompt,
int  verify 
)
int _ossl_old_des_set_key ( _ossl_old_des_cblock key,
des_key_schedule  schedule 
)
void _ossl_old_des_set_odd_parity ( _ossl_old_des_cblock key)
void _ossl_old_des_string_to_2keys ( char *  str,
_ossl_old_des_cblock key1,
_ossl_old_des_cblock key2 
)
void _ossl_old_des_string_to_key ( char *  str,
_ossl_old_des_cblock key 
)
void _ossl_old_des_xcbc_encrypt ( _ossl_old_des_cblock input,
_ossl_old_des_cblock output,
long  length,
des_key_schedule  schedule,
_ossl_old_des_cblock ivec,
_ossl_old_des_cblock inw,
_ossl_old_des_cblock outw,
int  enc 
)
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'