ronnie
2022-10-14 1504bb53e29d3d46222c0b3ea994fc494b48e153
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
///*****************************************
//  Copyright (C) 2009-2016
//  ITE Tech. Inc. All Rights Reserved
//  Proprietary and Confidential
///*****************************************
//   @file   <sha1.h>
//   @author Jau-Chih.Tseng@ite.com.tw
//   @date   2016/06/21
//   @fileversion: ITE_HDMITX_SAMPLE_3.21
//******************************************/
 
#ifndef _SHA_1_H_
#define _SHA_1_H_
 
#ifdef _MCU_8051_
   #include "Mcu.h"
#endif
 
#ifdef Debug_message
// #include <stdio.h>
#endif
// #include <string.h>
#include "debug.h"
#include "config.h"
#include "typedef.h"
 
#ifndef HDCP_DEBUG_PRINTF
   #define HDCP_DEBUG_PRINTF(x)
#endif //HDCP_DEBUG_PRINTF
 
#ifndef HDCP_DEBUG_PRINTF1
   #define HDCP_DEBUG_PRINTF1(x)
#endif //HDCP_DEBUG_PRINTF1
 
#ifndef HDCP_DEBUG_PRINTF2
   #define HDCP_DEBUG_PRINTF2(x)
#endif //HDCP_DEBUG_PRINTF2
 
 
#ifndef DISABLE_HDCP
void SHA_Simple(void *p,WORD len,BYTE *output);
void SHATransform(ULONG * h);
#endif
 
#endif // _SHA_1_H_