|
World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
Граф связей класса RC4:Классы | |
| struct | AVRC4 |
Определения типов | |
| typedef struct AVRC4 | AVRC4 |
Функции | |
| AVRC4 * | av_rc4_alloc (void) |
| int | av_rc4_init (struct AVRC4 *d, const uint8_t *key, int key_bits, int decrypt) |
| Initializes an AVRC4 context. Подробнее... | |
| void | av_rc4_crypt (struct AVRC4 *d, uint8_t *dst, const uint8_t *src, int count, uint8_t *iv, int decrypt) |
| Encrypts / decrypts using the RC4 algorithm. Подробнее... | |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/rc4.h>
Allocate an AVRC4 context.
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/rc4.h>
Initializes an AVRC4 context.
| key_bits | must be a multiple of 8 |
| decrypt | 0 for encryption, 1 for decryption, currently has no effect |
| void av_rc4_crypt | ( | struct AVRC4 * | d, |
| uint8_t * | dst, | ||
| const uint8_t * | src, | ||
| int | count, | ||
| uint8_t * | iv, | ||
| int | decrypt | ||
| ) |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/rc4.h>
Encrypts / decrypts using the RC4 algorithm.
| count | number of bytes |
| dst | destination array, can be equal to src |
| src | source array, can be equal to dst, may be NULL |
| iv | not (yet) used for RC4, should be NULL |
| decrypt | 0 for encryption, 1 for decryption, not (yet) used |