FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
rc4.c File Reference
#include "avutil.h"
#include "common.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...