59#include <openssl/md5.h>
Logic for creating an MD5 hash.
static void MD5_Init(MD5_CTX *ctx)
Initializes the MD5 context to its default starting state.
static void MD5_Final(unsigned char *result, MD5_CTX *ctx)
Finalizes the MD5 computation and writes the 16-byte digest.
static void MD5_Update(MD5_CTX *ctx, const void *data, unsigned long size)
Feeds data into the MD5 context for hashing.
The primary namespace for the NDEVR SDK.
unsigned int MD5_u32plus
Unsigned 32-bit integer type used internally by the MD5 algorithm.
Struct for storing md5 information.
MD5_u32plus hi
High 32 bits of the total message length in bytes.
MD5_u32plus b
MD5 state variable B.
MD5_u32plus block[16]
Decoded 32-bit words from the current 64-byte input block.
unsigned char buffer[64]
Input buffer for accumulating data before processing a full 64-byte block.
MD5_u32plus c
MD5 state variable C.
MD5_u32plus lo
Low 32 bits of the total message length in bytes.
MD5_u32plus d
MD5 state variable D.
MD5_u32plus a
MD5 state variable A.