World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
+ Граф связей класса RIPEMD:

Файлы

файл  ripemd.h
 

Функции

struct AVRIPEMD * av_ripemd_alloc (void)
 
int av_ripemd_init (struct AVRIPEMD *context, int bits)
 
void av_ripemd_update (struct AVRIPEMD *context, const uint8_t *data, unsigned int len)
 
void av_ripemd_final (struct AVRIPEMD *context, uint8_t *digest)
 

Переменные

const int av_ripemd_size
 

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

RIPEMD hash function implementation.

Функции

◆ av_ripemd_alloc()

struct AVRIPEMD* av_ripemd_alloc ( void  )

◆ av_ripemd_init()

int av_ripemd_init ( struct AVRIPEMD *  context,
int  bits 
)

#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/ripemd.h>

Initialize RIPEMD hashing.

Аргументы
contextpointer to the function context (of size av_ripemd_size)
bitsnumber of bits in digest (128, 160, 256 or 320 bits)
Возвращает
zero if initialization succeeded, -1 otherwise

◆ av_ripemd_update()

void av_ripemd_update ( struct AVRIPEMD *  context,
const uint8_t data,
unsigned int  len 
)

#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/ripemd.h>

Update hash value.

Аргументы
contexthash function context
datainput data to update hash with
leninput data length

◆ av_ripemd_final()

void av_ripemd_final ( struct AVRIPEMD *  context,
uint8_t digest 
)

#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/ripemd.h>

Finish hashing and output digest value.

Аргументы
contexthash function context
digestbuffer where output digest value is stored

Переменные

◆ av_ripemd_size