⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 drm_local.h

📁 SAMSUNG 5009的源代码
💻 H
字号:
/*
// $Header: /Mux_Demux_SDK/libDrmDecrypt/src/DrmLocal.h 6     8/15/03 4:13p Wiley $
// Copyright (c) DivXNetworks, Inc. http://www.divxnetworks.com
// All rights reserved.
//
// This software is the confidential and proprietary information of DivxNetworks
// Inc. ("Confidential Information").  You shall not disclose such Confidential
// Information and shall use it only in accordance with the terms of the license
// agreement you entered into with DivXNetworks, Inc.
*/

/*
These function are the actual implementation to read and write from
the persistent memory.

Production players need to implement these functions according to 
how the memory is stored in the product.
*/

#ifndef DRMLOCAL_H_INCLUDE
#define DRMLOCAL_H_INCLUDE


#define DEFAULT_STORAGE_FILE "dmem.txt"

#ifdef __cplusplus
extern "C" {
#endif

UCHAR localLoadDrmMemory(DrmMemory *memory);
UCHAR localSaveDrmMemory(DrmMemory *memory);
VOID localInitDrmMemory(VOID); //<<< @: 5010.joe.kang 060210

UCHAR localGetRapidUpdater(void);
VOID	localWaitSecond(void);

/* <<< @: 5010-xxx.HoJune_Byun 06/02/15 : Additional Requirement for Divx Certification */
UCHAR	localGetHardwareKey(UCHAR *hardwareKey);
/* <<< @: 5010-xxx.HoJune_Byun 06/02/15 : Additional Requirement for Divx Certification */
////////////// API ///////////////////////
void DRM_Set3RandomSamples(void);
UCHAR DRM_GetRegistrationCodeString(char *registrationCodeString);


/////////////////////////////////////////

//*------------------------LWH added this for testing
void won_test(void);
void won_test_CleanDRM_EEPROM(void);
void won_test_DelaySome(void);
void won_test_Clock(void);
void won_test_LocalWaitSecond(void);
UCHAR won_test_GetDivXRegisterationNumber(void);
void	won_test_PrintSessionKey(char* sessionKey);
//----------------------------------------------*

#ifdef __cplusplus
};
#endif

#endif //DRMLOCAL_H_INCLUDE

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -