41 for (
i = 0;
i < 256;
i++)
45 for (j = 0,
i = 0;
i < 256;
i++, j++) {
46 if (j == keylen) j = 0;
56 uint8_t x =
r->x, y =
r->y;
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
#define i(width, name, range_min, range_max)
static struct @346255127015250356166251341105367306144006377143 state
int av_rc4_init(AVRC4 *r, const uint8_t *key, int key_bits, int decrypt)
Initializes an AVRC4 context.
AVRC4 * av_rc4_alloc(void)
Allocate an AVRC4 context.
void av_rc4_crypt(AVRC4 *r, uint8_t *dst, const uint8_t *src, int count, uint8_t *iv, int decrypt)
Encrypts / decrypts using the RC4 algorithm.
Utility Preprocessor macros.
#define FFSWAP(type, a, b)
Memory handling functions.