Location:
Search - USB FH
Search list
Description: MPC8248LINUX下USB主机控制器驱动,软件模拟OHCI规范实现-MPC8248LINUX under the USB host controller driver, software simulation OHCI specification to achieve
Platform: |
Size: 192512 |
Author: frank |
Hits:
Description: 曾经在某公司做过的代码,虽然代码并不美观,但却是稳定的用在产品中的,经过了大量测试。
功能:
解密蓝光磁碟(蓝光碟放在专用的蓝光光驱中,usb接口连接电脑)
提供了如下接口:
size_t fread_xl(char* key, void *buffer, size_t size, size_t count, int fh ,int vertpye )
来直接读取加密碟,内部实现了透明解密,函数接口极力模仿fread函数。
另配合GetKey 函数来获取密钥。具体使用方法见测试函数test_decrypt_file_3,其中测试了N多蓝光加密磁碟(解密后写成明文视频)
核心解密代码是汇编实现,并最终以C接口形式封装给外部使用,就是上边提到的两个函数
注意:编译需要另外下载安装masm32 (http://www.movsd.com/),因为汇编代码需要其中提供的汇编形式的头文件-Ever done in a company code, although the code is not pretty, but it is stable products after extensive testing. Features: decrypt Blu-ray disk (Blu-ray on the dedicated Blu-ray drive, usb interface connected to the computer) provides the following interface: size_t fread_xl (char* key, void* buffer, size_t size, size_t count, int fh, int vertpye) to directly read the encrypted disc, internal transparent decryption function interface to emulate fread function. Another tie GetKey function to get the key. Specific use, see the test function test_decrypt_file_3, which tested more than N Blu-ray encryption disk (the decrypted written expressly video) core decryption code compilation to achieve, and the final package to the external form of C interface, is on top of the two functions mentioned Note: Compile require additional download and install masm32 (http://www.movsd.com/), because the assembly code requires assembly which provides in the form of header files
Platform: |
Size: 831488 |
Author: f |
Hits: