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/apps/public/dropbear/md5_interface.h
2024-07-22 01:58:46 -03:00

30 lines
752 B
C

/***************************************************************
*
* 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 DES_ENCRYPT 1
#define DES_DECRYPT 0
#define MD5_DIGEST_LEN 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);
#endif /* _MD5_INTERFACE_H_ */