libgpac
Documentation of the core library of GPAC
|
#include <gpac/internal/crypt_dev.h>
Functions | |
GF_EXPORT GF_Crypt * | gf_crypt_open (GF_CRYPTO_ALGO algorithm, GF_CRYPTO_MODE mode) |
GF_EXPORT void | gf_crypt_close (GF_Crypt *td) |
GF_EXPORT GF_Err | gf_crypt_set_key (GF_Crypt *td, void *key) |
GF_EXPORT GF_Err | gf_crypt_set_IV (GF_Crypt *td, const void *iv, u32 size) |
GF_EXPORT GF_Err | gf_crypt_get_IV (GF_Crypt *td, void *iv, u32 *size) |
GF_EXPORT GF_Err | gf_crypt_init (GF_Crypt *td, void *key, const void *IV) |
GF_EXPORT GF_Err | gf_crypt_encrypt (GF_Crypt *td, void *plaintext, u32 len) |
GF_EXPORT GF_Err | gf_crypt_decrypt (GF_Crypt *td, void *ciphertext, u32 len) |