1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
TP-Link_Archer-XR500v/BBA1.5_platform/host_tools/src3/md5_interface.h
2024-07-22 01:58:46 -03:00

32 lines
901 B
C
Executable File

/***************************************************************
*
* Copyright(c) 2005-2007 Shenzhen TP-Link Technologies Co. Ltd.
* All right reserved.
*
* Filename : md5_interface.h
* Version : 1.0
* Abstract : md5 make and verify response interface
* Author : LI SHAOZHANG (lishaozhang@tp-link.net)
* Created Date : 07/11/2007
*
* Modified History:
***************************************************************/
#ifndef _MD5_INTERFACE_H_
#define _MD5_INTERFACE_H_
#define MD5_HASH_SIZE 16
void md5_make_digest(unsigned char* digest, unsigned char* input, int len);
int md5_verify_digest(unsigned char* digest, unsigned char* input, int len);
void hmac_md5(unsigned char* text, int text_len, unsigned char* key,
int key_len, unsigned char * digest);
unsigned long calc_crc32(const char *buf, size_t len);
#endif /* _MD5_INTERFACE_H_ */