/* * MD5 hash implementation and interface functions * Copyright (c) 2003-2005, Jouni Malinen * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #pragma once #include #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