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.
30 lines
493 B
30 lines
493 B
#ifndef __DESCRYPT_H__
|
|
#define __DESCRYPT_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#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 __cdecl
|
|
DES_ECB_LM( unsigned Option,
|
|
const char FAR * Key,
|
|
unsigned char FAR * Src,
|
|
unsigned char FAR * Dst);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // __DESCRYPT_H__
|
|
|