Leaked source code of windows server 2003
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.

14 lines
380 B

  1. #ifndef CryptoHelpers_h
  2. #define CryptoHelpers_h
  3. #include "CBCKey.h"
  4. class CryptoHelpers{
  5. public:
  6. static DRM_STATUS InitMac(CBCKey& macKey, CBCState& macState,BYTE* Data, DWORD DatSize);
  7. static DRM_STATUS Mac(CBCKey& Key, BYTE* Data, DWORD DatLen, OUT DRMDIGEST& Digest);
  8. static DRM_STATUS Xcrypt(STREAMKEY& Key, BYTE* Data, DWORD DatLen);
  9. protected:
  10. };
  11. #endif