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

#ifndef CryptoHelpers_h
#define CryptoHelpers_h
#include "CBCKey.h"
class CryptoHelpers{
public:
static DRM_STATUS InitMac(CBCKey& macKey, CBCState& macState,BYTE* Data, DWORD DatSize);
static DRM_STATUS Mac(CBCKey& Key, BYTE* Data, DWORD DatLen, OUT DRMDIGEST& Digest);
static DRM_STATUS Xcrypt(STREAMKEY& Key, BYTE* Data, DWORD DatLen);
protected:
};
#endif