Source code of Windows XP (NT5)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#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
|