SDL standard library

Dependents:   H261_encoder

Embed: (wiki syntax)

« Back to documentation index

SDL_test_md5.h File Reference

SDL_test_md5.h File Reference

Include file for SDL test framework. More...

Go to the source code of this file.

Functions

void SDLTest_Md5Init (SDLTest_Md5Context *mdContext)
 /brief initialize the context
void SDLTest_Md5Update (SDLTest_Md5Context *mdContext, unsigned char *inBuf, unsigned int inLen)
 /brief update digest from variable length data

Detailed Description

Include file for SDL test framework.

This code is a part of the SDL2_test library, not the main SDL library.

Definition in file SDL_test_md5.h.


Function Documentation

void SDLTest_Md5Init ( SDLTest_Md5Context *  mdContext )

/brief initialize the context

/param mdContext pointer to context variable

Note: The function initializes the message-digest context mdContext. Call before each new use of the context - all fields are set to zero.

void SDLTest_Md5Update ( SDLTest_Md5Context *  mdContext,
unsigned char *  inBuf,
unsigned int  inLen 
)

/brief update digest from variable length data

/param mdContext pointer to context variable /param inBuf pointer to data array/string /param inLen length of data array/string

Note: The function updates the message-digest context to account for the presence of each of the characters inBuf[0..inLen-1] in the message whose digest is being computed.