libgpac
Documentation of the core library of GPAC
GF_Crypt Struct Reference

#include <crypt_dev.h>

Data Fields

GF_CRYPTO_ALGO algo
 
GF_CRYPTO_MODE mode
 
void * context
 
GF_Err(* _init_crypt )(GF_Crypt *ctx, void *, const void *)
 
void(* _deinit_crypt )(GF_Crypt *ctx)
 
void(* _end_crypt )(GF_Crypt *ctx)
 
void(* _set_key )(GF_Crypt *ctx, void *)
 
GF_Err(* _crypt )(GF_Crypt *ctx, u8 *buffer, u32 size)
 
GF_Err(* _decrypt )(GF_Crypt *, u8 *buffer, u32 size)
 
GF_Err(* _set_state )(GF_Crypt *, const u8 *IV, u32 IV_size)
 
GF_Err(* _get_state )(GF_Crypt *, u8 *IV, u32 *IV_size)
 

Detailed Description

cryptographic context object

Field Documentation

◆ algo

GF_CRYPTO_ALGO GF_Crypt::algo

◆ mode

GF_CRYPTO_MODE GF_Crypt::mode

◆ context

void* GF_Crypt::context

◆ _init_crypt

GF_Err(* GF_Crypt::_init_crypt) (GF_Crypt *ctx, void *, const void *)

◆ _deinit_crypt

void(* GF_Crypt::_deinit_crypt) (GF_Crypt *ctx)

◆ _end_crypt

void(* GF_Crypt::_end_crypt) (GF_Crypt *ctx)

◆ _set_key

void(* GF_Crypt::_set_key) (GF_Crypt *ctx, void *)

◆ _crypt

GF_Err(* GF_Crypt::_crypt) (GF_Crypt *ctx, u8 *buffer, u32 size)

◆ _decrypt

GF_Err(* GF_Crypt::_decrypt) (GF_Crypt *, u8 *buffer, u32 size)

◆ _set_state

GF_Err(* GF_Crypt::_set_state) (GF_Crypt *, const u8 *IV, u32 IV_size)

◆ _get_state

GF_Err(* GF_Crypt::_get_state) (GF_Crypt *, u8 *IV, u32 *IV_size)