World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
Файл SDL_test_md5.h

См. исходные тексты.

Классы

struct  SDLTest_Md5Context
 

Определения типов

typedef unsigned long int MD5UINT4
 

Функции

void SDLTest_Md5Init (SDLTest_Md5Context *mdContext)
 initialize the context Подробнее...
 
void SDLTest_Md5Update (SDLTest_Md5Context *mdContext, unsigned char *inBuf, unsigned int inLen)
 update digest from variable length data Подробнее...
 
void SDLTest_Md5Final (SDLTest_Md5Context *mdContext)
 complete digest computation Подробнее...
 

Подробное описание

Include file for SDL test framework.

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

См. определение в файле SDL_test_md5.h

Типы

◆ MD5UINT4

typedef unsigned long int MD5UINT4

См. определение в файле SDL_test_md5.h строка 68

Функции

◆ SDLTest_Md5Init()

void SDLTest_Md5Init ( SDLTest_Md5Context mdContext)

initialize the context

Аргументы
mdContextpointer 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.

◆ SDLTest_Md5Update()

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

update digest from variable length data

Аргументы
mdContextpointer to context variable
inBufpointer to data array/string
inLenlength 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.

◆ SDLTest_Md5Final()

void SDLTest_Md5Final ( SDLTest_Md5Context mdContext)

complete digest computation

Аргументы
mdContextpointer to context variable

Note: The function terminates the message-digest computation and ends with the desired message digest in mdContext.digest[0..15]. Always call before using the digest[] variable.