windows-nt/Source/XPSP1/NT/net/sfm/uam/uam5src/uamsrc/descrypt.h

1 line
1.1 KiB
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
#include "ntlmsspi.h" #ifdef __cplusplus extern "C" { #endif #define ENCRYPT 0 #define DECRYPT 1 #ifndef DECR_KEY #define DECR_KEY 0 #define ENCR_KEY 1 #define ENCR_STD 2 #define ENCR_SES 4 #endif #define CRYPT_ERR 1 #define CRYPT_OK 0 unsigned //FAR DES_CBC( unsigned Option, const char FAR * Key, unsigned char FAR * IV, unsigned char FAR * Source, unsigned char FAR * Dest, unsigned Size); unsigned FAR DES_CBC_LM( unsigned Option, const char FAR * Key, unsigned char FAR * IV, unsigned char FAR * Source, unsigned char FAR * Dest, unsigned Size); unsigned FAR DES_ECB( unsigned Option, const char FAR * Key, unsigned char FAR * Src, unsigned char FAR * Dst); unsigned FAR DES_ECB_LM( DWORD /* unsigned */ Option, const char FAR * Key, unsigned char FAR * Src, unsigned char FAR * Dst); #ifdef __cplusplus } #endif