FFmpeg
Functions
rc4.c File Reference
#include "error.h"
#include "macros.h"
#include "mem.h"
#include "rc4.h"

Go to the source code of this file.

Functions

AVRC4av_rc4_alloc (void)
 Allocate an AVRC4 context. More...
 
int av_rc4_init (AVRC4 *r, const uint8_t *key, int key_bits, int decrypt)
 Initializes an AVRC4 context. More...
 
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. More...