EC600U_esp32_iap_uart/EC600U_uart1/inc/md5_hash.h
2024-02-05 17:39:56 +08:00

28 lines
590 B
C

/*
* MD5 hash implementation and interface functions
* Copyright (c) 2003-2005, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#pragma once
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
struct MD5Context {
uint32_t buf[4];
uint32_t bits[2];
uint8_t in[64];
};
// void MD5Init(struct MD5Context *ctx);
// void MD5Update(struct MD5Context *ctx, unsigned char const *buf, unsigned len);
// void MD5Final(unsigned char digest[16], struct MD5Context *ctx);
#ifdef __cplusplus
}
#endif