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.

43 lines
703 B

  1. #ifndef __NT_RSA_H__
  2. #define __NT_RSA_H__
  3. #include "md2.h"
  4. #include "md4.h"
  5. #include "md5.h"
  6. #include "sha.h"
  7. #include "rc2.h"
  8. #include "rc4.h"
  9. #include "des.h"
  10. #include "modes.h"
  11. /* nt_rsa.h
  12. *
  13. * Stuff local to NameTag, but necessary for the RSA library.
  14. */
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. // This structure keeps state for MD4 hashing.
  19. typedef struct MD4stuff
  20. {
  21. MDstruct MD; // MD4's state
  22. BOOL FinishFlag;
  23. DWORD BufLen;
  24. BYTE Buf[MD4BLOCKSIZE];// staging buffer
  25. } MD4_object;
  26. typedef struct MD2stuff
  27. {
  28. MD2_CTX MD; // MD2's state
  29. BOOL FinishFlag;
  30. } MD2_object;
  31. #define MD2DIGESTLEN 16
  32. #ifdef __cplusplus
  33. }
  34. #endif
  35. #endif // __NT_RSA_H__