des.h File Reference

Typedef DES_cblock

typedef unsigned charDES_cblock

Typedef const_DES_cblock

typedef unsigned charconst_DES_cblock

Typedef DES_key_schedule

typedef struct DES_ksDES_key_schedule

OPENSSL_ENABLE_OLD_DES_SUPPORT

DES_KEY_SZ

DES_SCHEDULE_SZ

DES_ENCRYPT

DES_DECRYPT

DES_CBC_MODE

DES_PCBC_MODE

DES_ecb2_encrypt

DES_ede2_cbc_encrypt

DES_ede2_cfb64_encrypt

DES_ede2_ofb64_encrypt

OPENSSL_DECLARE_GLOBAL ( int, DES_check_key )

OPENSSL_DECLARE_GLOBAL(int,
DES_check_key
)

DES_check_key

OPENSSL_DECLARE_GLOBAL ( int, DES_rw_mode )

OPENSSL_DECLARE_GLOBAL(int,
DES_rw_mode
)

DES_rw_mode

DES_options ( void )

IMPORT_C const char *DES_options(void)

DES_ecb3_encrypt ( const_DES_cblock *, DES_cblock *, DES_key_schedule *, DES_key_schedule *, DES_key_schedule *, int )

IMPORT_C voidDES_ecb3_encrypt(const_DES_cblock *input,
DES_cblock *output,
DES_key_schedule *ks1,
DES_key_schedule *ks2,
DES_key_schedule *ks3,
intenc
)

DES_cbc_cksum ( const unsigned char *, DES_cblock *, long, DES_key_schedule *, const_DES_cblock * )

IMPORT_C DES_LONGDES_cbc_cksum(const unsigned char *input,
DES_cblock *output,
longlength,
DES_key_schedule *schedule,
const_DES_cblock *ivec
)

DES_cbc_encrypt ( const unsigned char *, unsigned char *, long, DES_key_schedule *, DES_cblock *, int )

IMPORT_C voidDES_cbc_encrypt(const unsigned char *input,
unsigned char *output,
longlength,
DES_key_schedule *schedule,
DES_cblock *ivec,
intenc
)

DES_ncbc_encrypt ( const unsigned char *, unsigned char *, long, DES_key_schedule *, DES_cblock *, int )

IMPORT_C voidDES_ncbc_encrypt(const unsigned char *input,
unsigned char *output,
longlength,
DES_key_schedule *schedule,
DES_cblock *ivec,
intenc
)

DES_xcbc_encrypt ( const unsigned char *, unsigned char *, long, DES_key_schedule *, DES_cblock *, const_DES_cblock *, const_DES_cblock *, int )

IMPORT_C voidDES_xcbc_encrypt(const unsigned char *input,
unsigned char *output,
longlength,
DES_key_schedule *schedule,
DES_cblock *ivec,
const_DES_cblock *inw,
const_DES_cblock *outw,
intenc
)

DES_cfb_encrypt ( const unsigned char *, unsigned char *, int, long, DES_key_schedule *, DES_cblock *, int )

IMPORT_C voidDES_cfb_encrypt(const unsigned char *in,
unsigned char *out,
intnumbits,
longlength,
DES_key_schedule *schedule,
DES_cblock *ivec,
intenc
)

DES_ecb_encrypt ( const_DES_cblock *, DES_cblock *, DES_key_schedule *, int )

IMPORT_C voidDES_ecb_encrypt(const_DES_cblock *input,
DES_cblock *output,
DES_key_schedule *ks,
intenc
)

DES_encrypt1 ( DES_LONG *, DES_key_schedule *, int )

IMPORT_C voidDES_encrypt1(DES_LONG *data,
DES_key_schedule *ks,
intenc
)

DES_encrypt2 ( DES_LONG *, DES_key_schedule *, int )

IMPORT_C voidDES_encrypt2(DES_LONG *data,
DES_key_schedule *ks,
intenc
)

DES_encrypt3 ( DES_LONG *, DES_key_schedule *, DES_key_schedule *, DES_key_schedule * )

IMPORT_C voidDES_encrypt3(DES_LONG *data,
DES_key_schedule *ks1,
DES_key_schedule *ks2,
DES_key_schedule *ks3
)

DES_decrypt3 ( DES_LONG *, DES_key_schedule *, DES_key_schedule *, DES_key_schedule * )

IMPORT_C voidDES_decrypt3(DES_LONG *data,
DES_key_schedule *ks1,
DES_key_schedule *ks2,
DES_key_schedule *ks3
)

DES_ede3_cbc_encrypt ( const unsigned char *, unsigned char *, long, DES_key_schedule *, DES_key_schedule *, DES_key_schedule *, DES_cblock *, int )

IMPORT_C voidDES_ede3_cbc_encrypt(const unsigned char *input,
unsigned char *output,
longlength,
DES_key_schedule *ks1,
DES_key_schedule *ks2,
DES_key_schedule *ks3,
DES_cblock *ivec,
intenc
)

DES_ede3_cbcm_encrypt ( const unsigned char *, unsigned char *, long, DES_key_schedule *, DES_key_schedule *, DES_key_schedule *, DES_cblock *, DES_cblock *, int )

IMPORT_C voidDES_ede3_cbcm_encrypt(const unsigned char *in,
unsigned char *out,
longlength,
DES_key_schedule *ks1,
DES_key_schedule *ks2,
DES_key_schedule *ks3,
DES_cblock *ivec1,
DES_cblock *ivec2,
intenc
)

DES_ede3_cfb64_encrypt ( const unsigned char *, unsigned char *, long, DES_key_schedule *, DES_key_schedule *, DES_key_schedule *, DES_cblock *, int *, int )

IMPORT_C voidDES_ede3_cfb64_encrypt(const unsigned char *in,
unsigned char *out,
longlength,
DES_key_schedule *ks1,
DES_key_schedule *ks2,
DES_key_schedule *ks3,
DES_cblock *ivec,
int *num,
intenc
)

DES_ede3_cfb_encrypt ( const unsigned char *, unsigned char *, int, long, DES_key_schedule *, DES_key_schedule *, DES_key_schedule *, DES_cblock *, int )

IMPORT_C voidDES_ede3_cfb_encrypt(const unsigned char *in,
unsigned char *out,
intnumbits,
longlength,
DES_key_schedule *ks1,
DES_key_schedule *ks2,
DES_key_schedule *ks3,
DES_cblock *ivec,
intenc
)

DES_ede3_ofb64_encrypt ( const unsigned char *, unsigned char *, long, DES_key_schedule *, DES_key_schedule *, DES_key_schedule *, DES_cblock *, int * )

IMPORT_C voidDES_ede3_ofb64_encrypt(const unsigned char *in,
unsigned char *out,
longlength,
DES_key_schedule *ks1,
DES_key_schedule *ks2,
DES_key_schedule *ks3,
DES_cblock *ivec,
int *num
)

DES_xwhite_in2out ( const_DES_cblock *, const_DES_cblock *, DES_cblock * )

IMPORT_C voidDES_xwhite_in2out(const_DES_cblock *DES_key,
const_DES_cblock *in_white,
DES_cblock *out_white
)

DES_enc_read ( int, void *, int, DES_key_schedule *, DES_cblock * )

IMPORT_C intDES_enc_read(intfd,
void *buf,
intlen,
DES_key_schedule *sched,
DES_cblock *iv
)

DES_enc_write ( int, const void *, int, DES_key_schedule *, DES_cblock * )

IMPORT_C intDES_enc_write(intfd,
const void *buf,
intlen,
DES_key_schedule *sched,
DES_cblock *iv
)

DES_fcrypt ( const char *, const char *, char * )

IMPORT_C char *DES_fcrypt(const char *buf,
const char *salt,
char *ret
)

DES_crypt ( const char *, const char * )

IMPORT_C char *DES_crypt(const char *buf,
const char *salt
)

DES_ofb_encrypt ( const unsigned char *, unsigned char *, int, long, DES_key_schedule *, DES_cblock * )

IMPORT_C voidDES_ofb_encrypt(const unsigned char *in,
unsigned char *out,
intnumbits,
longlength,
DES_key_schedule *schedule,
DES_cblock *ivec
)

DES_pcbc_encrypt ( const unsigned char *, unsigned char *, long, DES_key_schedule *, DES_cblock *, int )

IMPORT_C voidDES_pcbc_encrypt(const unsigned char *input,
unsigned char *output,
longlength,
DES_key_schedule *schedule,
DES_cblock *ivec,
intenc
)

DES_quad_cksum ( const unsigned char *, DES_cblock, long, int, DES_cblock * )

IMPORT_C DES_LONGDES_quad_cksum(const unsigned char *input,
DES_cblockoutput,
longlength,
intout_count,
DES_cblock *seed
)

DES_random_key ( DES_cblock * )

IMPORT_C intDES_random_key(DES_cblock *ret)

DES_set_odd_parity ( DES_cblock * )

IMPORT_C voidDES_set_odd_parity(DES_cblock *key)

DES_check_key_parity ( const_DES_cblock * )

IMPORT_C intDES_check_key_parity(const_DES_cblock *key)

DES_is_weak_key ( const_DES_cblock * )

IMPORT_C intDES_is_weak_key(const_DES_cblock *key)

DES_set_key ( const_DES_cblock *, DES_key_schedule * )

IMPORT_C intDES_set_key(const_DES_cblock *key,
DES_key_schedule *schedule
)

DES_key_sched ( const_DES_cblock *, DES_key_schedule * )

IMPORT_C intDES_key_sched(const_DES_cblock *key,
DES_key_schedule *schedule
)

DES_set_key_checked ( const_DES_cblock *, DES_key_schedule * )

IMPORT_C intDES_set_key_checked(const_DES_cblock *key,
DES_key_schedule *schedule
)

DES_set_key_unchecked ( const_DES_cblock *, DES_key_schedule * )

IMPORT_C voidDES_set_key_unchecked(const_DES_cblock *key,
DES_key_schedule *schedule
)

DES_string_to_key ( const char *, DES_cblock * )

IMPORT_C voidDES_string_to_key(const char *str,
DES_cblock *key
)

DES_string_to_2keys ( const char *, DES_cblock *, DES_cblock * )

IMPORT_C voidDES_string_to_2keys(const char *str,
DES_cblock *key1,
DES_cblock *key2
)

DES_cfb64_encrypt ( const unsigned char *, unsigned char *, long, DES_key_schedule *, DES_cblock *, int *, int )

IMPORT_C voidDES_cfb64_encrypt(const unsigned char *in,
unsigned char *out,
longlength,
DES_key_schedule *schedule,
DES_cblock *ivec,
int *num,
intenc
)

DES_ofb64_encrypt ( const unsigned char *, unsigned char *, long, DES_key_schedule *, DES_cblock *, int * )

IMPORT_C voidDES_ofb64_encrypt(const unsigned char *in,
unsigned char *out,
longlength,
DES_key_schedule *schedule,
DES_cblock *ivec,
int *num
)

DES_read_password ( DES_cblock *, const char *, int )

IMPORT_C intDES_read_password(DES_cblock *key,
const char *prompt,
intverify
)

DES_read_2passwords ( DES_cblock *, DES_cblock *, const char *, int )

IMPORT_C intDES_read_2passwords(DES_cblock *key1,
DES_cblock *key2,
const char *prompt,
intverify
)

DES_fixup_key_parity