|
World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
Граф связей класса SHA-512:Файлы | |
| файл | sha512.h |
Функции | |
| struct AVSHA512 * | av_sha512_alloc (void) |
| int | av_sha512_init (struct AVSHA512 *context, int bits) |
| void | av_sha512_update (struct AVSHA512 *context, const uint8_t *data, unsigned int len) |
| void | av_sha512_final (struct AVSHA512 *context, uint8_t *digest) |
Переменные | |
| const int | av_sha512_size |
SHA-512 (Secure Hash Algorithm) hash function implementations.
This module supports the following SHA-2 hash functions:
| struct AVSHA512* av_sha512_alloc | ( | void | ) |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/sha512.h>
Allocate an AVSHA512 context.
| int av_sha512_init | ( | struct AVSHA512 * | context, |
| int | bits | ||
| ) |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/sha512.h>
Initialize SHA-2 512 hashing.
| context | pointer to the function context (of size av_sha512_size) |
| bits | number of bits in digest (224, 256, 384 or 512 bits) |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/sha512.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/sha512.h>
Finish hashing and output digest value.
| context | hash function context |
| digest | buffer where output digest value is stored |
| const int av_sha512_size |