GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
cbc.c File Reference
+ Include dependency graph for cbc.c:

Data Structures

struct  CBC_BUFFER
 

Functions

static GF_Err _init_mcrypt (CBC_BUFFER *buf, void *key, int lenofkey, void *IV, int size)
 
static GF_Err _mcrypt_set_state (CBC_BUFFER *buf, void *IV, int size)
 
static GF_Err _mcrypt_get_state (CBC_BUFFER *buf, void *IV, int *size)
 
static void _end_mcrypt (CBC_BUFFER *buf)
 
static GF_Err _mcrypt (CBC_BUFFER *buf, void *plaintext, int len, int blocksize, void *akey, void(*func)(void *, void *), void(*func2)(void *, void *))
 
static GF_Err _mdecrypt (CBC_BUFFER *buf, void *ciphertext, int len, int blocksize, void *akey, void(*func)(void *, void *), void(*func2)(void *, void *))
 
void gf_crypt_register_cbc (GF_Crypt *td)
 

Data Structure Documentation

struct CBC_BUFFER
+ Collaboration diagram for CBC_BUFFER:
Data Fields
u32 * previous_ciphertext
u32 * previous_cipher
int blocksize

Function Documentation

static GF_Err _init_mcrypt ( CBC_BUFFER buf,
void *  key,
int  lenofkey,
void *  IV,
int  size 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err _mcrypt_set_state ( CBC_BUFFER buf,
void *  IV,
int  size 
)
static

+ Here is the caller graph for this function:

static GF_Err _mcrypt_get_state ( CBC_BUFFER buf,
void *  IV,
int *  size 
)
static

+ Here is the caller graph for this function:

static void _end_mcrypt ( CBC_BUFFER buf)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err _mcrypt ( CBC_BUFFER buf,
void *  plaintext,
int  len,
int  blocksize,
void *  akey,
void(*)(void *, void *)  func,
void(*)(void *, void *)  func2 
)
static

+ Here is the caller graph for this function:

static GF_Err _mdecrypt ( CBC_BUFFER buf,
void *  ciphertext,
int  len,
int  blocksize,
void *  akey,
void(*)(void *, void *)  func,
void(*)(void *, void *)  func2 
)
static

+ Here is the caller graph for this function:

void gf_crypt_register_cbc ( GF_Crypt td)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: