|
World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
Граф связей класса HMAC:Определения типов | |
| typedef struct AVHMAC | AVHMAC |
Перечисления | |
| enum | AVHMACType { AV_HMAC_MD5, AV_HMAC_SHA1, AV_HMAC_SHA224, AV_HMAC_SHA256, AV_HMAC_SHA384, AV_HMAC_SHA512 } |
Функции | |
| AVHMAC * | av_hmac_alloc (enum AVHMACType type) |
| void | av_hmac_free (AVHMAC *ctx) |
| void | av_hmac_init (AVHMAC *ctx, const uint8_t *key, unsigned int keylen) |
| void | av_hmac_update (AVHMAC *ctx, const uint8_t *data, unsigned int len) |
| int | av_hmac_final (AVHMAC *ctx, uint8_t *out, unsigned int outlen) |
| int | av_hmac_calc (AVHMAC *ctx, const uint8_t *data, unsigned int len, const uint8_t *key, unsigned int keylen, uint8_t *out, unsigned int outlen) |
| enum AVHMACType |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/hmac.h>
| Элементы перечислений | |
|---|---|
| AV_HMAC_MD5 | |
| AV_HMAC_SHA1 | |
| AV_HMAC_SHA224 | |
| AV_HMAC_SHA256 | |
| AV_HMAC_SHA384 | |
| AV_HMAC_SHA512 | |
См. определение в файле hmac.h строка 33
| AVHMAC* av_hmac_alloc | ( | enum AVHMACType | type | ) |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/hmac.h>
Allocate an AVHMAC context.
| type | The hash function used for the HMAC. |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/hmac.h>
Free an AVHMAC context.
| ctx | The context to free, may be NULL |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/hmac.h>
Initialize an AVHMAC context with an authentication key.
| ctx | The HMAC context |
| key | The authentication key |
| keylen | The length of the key, in bytes |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/hmac.h>
Hash data with the HMAC.
| ctx | The HMAC context |
| data | The data to hash |
| len | The length of the data, in bytes |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/hmac.h>
Finish hashing and output the HMAC digest.
| ctx | The HMAC context |
| out | The output buffer to write the digest into |
| outlen | The length of the out buffer, in bytes |
| int av_hmac_calc | ( | AVHMAC * | ctx, |
| const uint8_t * | data, | ||
| unsigned int | len, | ||
| const uint8_t * | key, | ||
| unsigned int | keylen, | ||
| uint8_t * | out, | ||
| unsigned int | outlen | ||
| ) |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/hmac.h>
Hash an array of data with a key.
| ctx | The HMAC context |
| data | The data to hash |
| len | The length of the data, in bytes |
| key | The authentication key |
| keylen | The length of the key, in bytes |
| out | The output buffer to write the digest into |
| outlen | The length of the out buffer, in bytes |