xntlm-des

xntlm-des — DES encryption/decryption

Synopsis

typedef             XNTLM_DES_KS;
void                xntlm_deskey                        (XNTLM_DES_KS ks,
                                                         const guchar *key,
                                                         gint decrypt);
void                xntlm_des                           (XNTLM_DES_KS ks,
                                                         guchar block[8]);

Description

These routines implement DES encryption and decryption. They are here primarly for xntlm-internal use, but can also be used by other code.

Details

XNTLM_DES_KS

typedef guint32 XNTLM_DES_KS[16][2];


xntlm_deskey ()

void                xntlm_deskey                        (XNTLM_DES_KS ks,
                                                         const guchar *key,
                                                         gint decrypt);

ks :

key :

decrypt :


xntlm_des ()

void                xntlm_des                           (XNTLM_DES_KS ks,
                                                         guchar block[8]);

ks :

block :