World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
Файлы | |
файл | 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.
struct AVRIPEMD* av_ripemd_alloc | ( | void | ) |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/ripemd.h>
Allocate an AVRIPEMD context.
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.
context | pointer to the function context (of size av_ripemd_size) |
bits | number of bits in digest (128, 160, 256 or 320 bits) |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/ripemd.h>
Update hash value.
context | hash function context |
data | input data to update hash with |
len | input data length |
#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.
context | hash function context |
digest | buffer where output digest value is stored |
const int av_ripemd_size |