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

📄 sha1.h

📁 Zoran V966 DVD 解码 Soc芯片的源程序
💻 H
字号:
// $Header: /I76/I76_Common/I76_Reference/Playcore/Nav_Clips/AviDrm/LibDrmCommon/sha1.h 1     20/01/04 12:15 Lotan $
// Copyright (c) 2003 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.

#ifndef SHA_1_H
#define SHA_1_H

#include "Config.h"		// Global Configuration - do not remove!
#include "Include\sysdefs.h"

#ifdef AVI_DRM_SUPPORT

#include <stdlib.h>
//#include <memory.h>

#ifdef __cplusplus
extern "C" {
#endif

//
// sha1GetHash
//
// Gets the SHA1 hash string for
// the given buffer (should be at 
// least a few hundreds bytes long)
//
//

char *sha1GetHash(unsigned char *buffer, 
				  unsigned int length, 
				  unsigned int *outlength);

#ifdef __cplusplus
};
#endif

#endif // AVI_DRM_SUPPORT

#endif // SHA_1_H

⌨️ 快捷键说明

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