UPnPsdk 0.1
Universal Plug and Play +, Software Development Kit
 
Loading...
Searching...
No Matches

This code implements the MD5 message-digest algorithm. More...

#include <stddef.h>
#include <stdint.h>
+ Include dependency graph for md5.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MD5_CTX
 MD5 Context. More...
 

Functions

void MD5Init (MD5_CTX *)
 MD5 Initialisation.
 
void MD5Update (MD5_CTX *, const void *, size_t)
 MD5 Update.
 
void MD5Final (unsigned char digest[MD5_DIGEST_LENGTH], MD5_CTX *ctx)
 MD5 Final.
 
void MD5Transform (uint32_t state[4], const uint8_t block[MD5_BLOCK_LENGTH])
 MD5 Transform.
 

Detailed Description

This code implements the MD5 message-digest algorithm.

The algorithm is due to Ron Rivest. This code was written by Colin Plumb in 1993, no copyright is claimed. This code is in the public domain; do with it what you wish.

Definition in file md5.hpp.


Class Documentation

◆ MD5_CTX

struct MD5_CTX

MD5 Context.

Definition at line 38 of file md5.hpp.

Function Documentation

◆ MD5Init()

void MD5Init ( MD5_CTX ctx)

MD5 Initialisation.

Definition at line 70 of file md5.cpp.

+ Here is the caller graph for this function:

◆ MD5Update()

void MD5Update ( MD5_CTX ctx,
const void *  inputptr,
size_t  len 
)

MD5 Update.

Definition at line 82 of file md5.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ MD5Final()

void MD5Final ( unsigned char  digest[MD5_DIGEST_LENGTH],
MD5_CTX ctx 
)

MD5 Final.

Definition at line 119 of file md5.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ MD5Transform()

void MD5Transform ( uint32_t  state[4],
const uint8_t  block[MD5_BLOCK_LENGTH] 
)

MD5 Transform.

Definition at line 158 of file md5.cpp.

+ Here is the caller graph for this function: