chipcss.h

来自「这是DVD中伺服部分的核心代码」· C头文件 代码 · 共 49 行

H
49
字号
/*****************************************************************************
******************************************************************************
**                                                                          **
**  Copyright (c) 2002 Videon Central, Inc.                                 **
**  All rights reserved.                                                    **
**                                                                          **
**  The computer program contained herein contains proprietary information  **
**  which is the property of Videon Central, Inc.  The program may be used  **
**  and/or copied only with the written permission of Videon Central, Inc.  **
**  or in accordance with the terms and conditions stipulated in the        **
**  agreement/contract under which the programs have been supplied.         **
**                                                                          **
******************************************************************************
*****************************************************************************/

/**
 * @file chipcss.h
 *
 * Platform specific DVD CSS decryption API
 *
 * $Revision: 1.3 $ 
 */

#ifndef CHIPCSS_H
#define CHIPCSS_H

    #ifdef __cplusplus
    extern "C" {
    #endif

        #include <vcitypes.h>

        #define CHIPCSS_SUCCESS     FALSE
        #define CHIPCSS_FAILURE     TRUE

        BOOLEAN CHIPCSSGetChallenge         ( BYTE *pbData );
        BOOLEAN CHIPCSSSendKey1             ( BYTE *pbData );
        BOOLEAN CHIPCSSGetKey2              ( BYTE *pbChallData, BYTE *pbKey2Data );
        BOOLEAN CHIPCSSUnencryptDiskKey     ( BYTE *pbDiskKey );
        BOOLEAN CHIPCSSUnencryptTitleKey    ( BYTE *pbTitleKey, BYTE *pbDecodeKey );
        BOOLEAN CHIPCSSDescramble           ( BYTE *pbSector, BYTE *pbKey);


    #ifdef __cplusplus
        }
    #endif

#endif

⌨️ 快捷键说明

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