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.

30 lines
463 B

  1. #ifndef __DESCRYPT_H__
  2. #define __DESCRYPT_H__
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #ifndef DECR_KEY
  7. #define DECR_KEY 0
  8. #define ENCR_KEY 1
  9. #define ENCR_STD 2
  10. #define ENCR_SES 4
  11. #endif
  12. #define CRYPT_ERR 1
  13. #define CRYPT_OK 0
  14. unsigned FAR __cdecl
  15. DES_ECB_LM( unsigned Option,
  16. const char FAR * Key,
  17. unsigned char FAR * Src,
  18. unsigned char FAR * Dst);
  19. #ifdef __cplusplus
  20. }
  21. #endif
  22. #endif // __DESCRYPT_H__