GF_Crypt 82 include/gpac/crypt.h typedef struct _tag_crypt_stream GF_Crypt; GF_Crypt 94 include/gpac/crypt.h GF_Crypt *gf_crypt_open(const char *algorithm, const char *mode); GF_Crypt 96 include/gpac/crypt.h void gf_crypt_close(GF_Crypt *gfc); GF_Crypt 101 include/gpac/crypt.h GF_Err gf_crypt_set_state(GF_Crypt *gfc, const void *iv, int size); GF_Crypt 105 include/gpac/crypt.h GF_Err gf_crypt_get_state(GF_Crypt *gfc, void *iv, int *size); GF_Crypt 107 include/gpac/crypt.h Bool gf_crypt_is_block_algorithm(GF_Crypt *gfc); GF_Crypt 109 include/gpac/crypt.h Bool gf_crypt_is_block_algorithm_mode(GF_Crypt *gfc); GF_Crypt 111 include/gpac/crypt.h Bool gf_crypt_is_block_mode(GF_Crypt *gfc); GF_Crypt 113 include/gpac/crypt.h u32 gf_crypt_get_block_size(GF_Crypt *gfc); GF_Crypt 115 include/gpac/crypt.h u32 gf_crypt_get_key_size(GF_Crypt *gfc); GF_Crypt 118 include/gpac/crypt.h u32 gf_crypt_get_supported_key_sizes(GF_Crypt *gfc, u32 *key_sizes); GF_Crypt 123 include/gpac/crypt.h u32 gf_crypt_get_iv_size(GF_Crypt *gfc); GF_Crypt 127 include/gpac/crypt.h Bool gf_crypt_mode_has_iv(GF_Crypt *gfc); GF_Crypt 130 include/gpac/crypt.h const char *gf_crypt_get_algorithm_name(GF_Crypt *gfc); GF_Crypt 131 include/gpac/crypt.h u32 gf_crypt_get_algorithm_version(GF_Crypt *gfc); GF_Crypt 132 include/gpac/crypt.h const char *gf_crypt_get_mode_name(GF_Crypt *gfc); GF_Crypt 133 include/gpac/crypt.h u32 gf_crypt_get_mode_version(GF_Crypt *gfc); GF_Crypt 146 include/gpac/crypt.h GF_Err gf_crypt_init(GF_Crypt *gfc, void *key, u32 lenofkey, const void *IV); GF_Crypt 148 include/gpac/crypt.h void gf_crypt_deinit(GF_Crypt *gfc); GF_Crypt 150 include/gpac/crypt.h GF_Err gf_crypt_set_key(GF_Crypt *gfc, void *key, u32 keysize, const void *iv); GF_Crypt 158 include/gpac/crypt.h GF_Err gf_crypt_encrypt(GF_Crypt *gfc, void *plaintext, int len); GF_Crypt 160 include/gpac/crypt.h GF_Err gf_crypt_decrypt(GF_Crypt *gfc, void *ciphertext, int len); GF_Crypt 87 include/gpac/internal/crypt_dev.h void gf_crypt_register_cbc(GF_Crypt *td); GF_Crypt 88 include/gpac/internal/crypt_dev.h void gf_crypt_register_cfb(GF_Crypt *td); GF_Crypt 89 include/gpac/internal/crypt_dev.h void gf_crypt_register_ctr(GF_Crypt *td); GF_Crypt 90 include/gpac/internal/crypt_dev.h void gf_crypt_register_ecb(GF_Crypt *td); GF_Crypt 91 include/gpac/internal/crypt_dev.h void gf_crypt_register_ncfb(GF_Crypt *td); GF_Crypt 92 include/gpac/internal/crypt_dev.h void gf_crypt_register_nofb(GF_Crypt *td); GF_Crypt 93 include/gpac/internal/crypt_dev.h void gf_crypt_register_ofb(GF_Crypt *td); GF_Crypt 94 include/gpac/internal/crypt_dev.h void gf_crypt_register_stream(GF_Crypt *td); GF_Crypt 96 include/gpac/internal/crypt_dev.h void gf_crypt_register_des(GF_Crypt *td); GF_Crypt 97 include/gpac/internal/crypt_dev.h void gf_crypt_register_3des(GF_Crypt *td); GF_Crypt 98 include/gpac/internal/crypt_dev.h void gf_crypt_register_rijndael_128(GF_Crypt *td); GF_Crypt 99 include/gpac/internal/crypt_dev.h void gf_crypt_register_rijndael_192(GF_Crypt *td); GF_Crypt 100 include/gpac/internal/crypt_dev.h void gf_crypt_register_rijndael_256(GF_Crypt *td); GF_Crypt 47 modules/ismacryp/isma_ea.c GF_Crypt *crypt; GF_Crypt 311 modules/ismacryp/isma_ea.c GF_Crypt *mc; GF_Crypt 156 src/mcrypt/cbc.c void gf_crypt_register_cbc(GF_Crypt *td) GF_Crypt 142 src/mcrypt/cfb.c void gf_crypt_register_cfb(GF_Crypt *td) GF_Crypt 221 src/mcrypt/ctr.c void gf_crypt_register_ctr(GF_Crypt *td) GF_Crypt 573 src/mcrypt/des.c void gf_crypt_register_des(GF_Crypt *td) GF_Crypt 71 src/mcrypt/ecb.c void gf_crypt_register_ecb(GF_Crypt *td) GF_Crypt 32 src/mcrypt/g_crypt.c static Bool gf_crypt_assign_algo(GF_Crypt *td, const char *algorithm) GF_Crypt 58 src/mcrypt/g_crypt.c static Bool gf_crypt_assign_mode(GF_Crypt *td, const char *mode) GF_Crypt 97 src/mcrypt/g_crypt.c static GF_Crypt *gf_crypt_open_intern(const char *algorithm, const char *mode, Bool is_check) GF_Crypt 99 src/mcrypt/g_crypt.c GF_Crypt *td; GF_Crypt 102 src/mcrypt/g_crypt.c GF_SAFEALLOC(td, GF_Crypt); GF_Crypt 129 src/mcrypt/g_crypt.c static void internal_end_mcrypt(GF_Crypt *td) GF_Crypt 148 src/mcrypt/g_crypt.c GF_Crypt *gf_crypt_open(const char *algorithm, const char *mode) GF_Crypt 154 src/mcrypt/g_crypt.c void gf_crypt_close(GF_Crypt *td) GF_Crypt 161 src/mcrypt/g_crypt.c GF_Err gf_crypt_set_key(GF_Crypt *td, void *key, u32 keysize, const void *IV) GF_Crypt 179 src/mcrypt/g_crypt.c GF_Err gf_crypt_set_state(GF_Crypt *td, const void *iv, int size) GF_Crypt 185 src/mcrypt/g_crypt.c GF_Err gf_crypt_get_state(GF_Crypt *td, void *iv, int *size) GF_Crypt 191 src/mcrypt/g_crypt.c u32 gf_crypt_get_block_size(GF_Crypt *td) { GF_Crypt 195 src/mcrypt/g_crypt.c u32 gf_crypt_get_iv_size(GF_Crypt *td) GF_Crypt 202 src/mcrypt/g_crypt.c u32 gf_crypt_get_key_size(GF_Crypt *td) { GF_Crypt 206 src/mcrypt/g_crypt.c u32 gf_crypt_get_supported_key_sizes(GF_Crypt *td, u32 *key_sizes) GF_Crypt 214 src/mcrypt/g_crypt.c Bool gf_crypt_is_block_algorithm(GF_Crypt *td) { GF_Crypt 217 src/mcrypt/g_crypt.c const char *gf_crypt_get_algorithm_name(GF_Crypt *td) { GF_Crypt 220 src/mcrypt/g_crypt.c const char *gf_crypt_get_mode_name(GF_Crypt *td) { GF_Crypt 223 src/mcrypt/g_crypt.c Bool gf_crypt_is_block_mode(GF_Crypt *td) { GF_Crypt 226 src/mcrypt/g_crypt.c Bool gf_crypt_mode_has_iv(GF_Crypt *td) { GF_Crypt 229 src/mcrypt/g_crypt.c Bool gf_crypt_is_block_algorithm_mode(GF_Crypt *td) { GF_Crypt 232 src/mcrypt/g_crypt.c u32 gf_crypt_get_algorithm_version(GF_Crypt *td) { GF_Crypt 235 src/mcrypt/g_crypt.c u32 gf_crypt_get_mode_version(GF_Crypt *td) { GF_Crypt 242 src/mcrypt/g_crypt.c GF_Err gf_crypt_init(GF_Crypt *td, void *key, u32 lenofkey, const void *IV) GF_Crypt 306 src/mcrypt/g_crypt.c void gf_crypt_deinit(GF_Crypt *td) GF_Crypt 312 src/mcrypt/g_crypt.c GF_Err gf_crypt_encrypt(GF_Crypt *td, void *plaintext, int len) GF_Crypt 319 src/mcrypt/g_crypt.c GF_Err gf_crypt_decrypt(GF_Crypt *td, void *ciphertext, int len) GF_Crypt 329 src/mcrypt/g_crypt.c GF_Crypt *td = gf_crypt_open_intern(algorithm, NULL, 1); GF_Crypt 337 src/mcrypt/g_crypt.c GF_Crypt *td = gf_crypt_open_intern(NULL, mode, 1); GF_Crypt 345 src/mcrypt/g_crypt.c GF_Crypt *td = gf_crypt_open_intern(algorithm, NULL, 1); GF_Crypt 353 src/mcrypt/g_crypt.c GF_Crypt *td = gf_crypt_open_intern(algorithm, NULL, 1); GF_Crypt 361 src/mcrypt/g_crypt.c GF_Crypt *td = gf_crypt_open_intern(NULL, mode, 1); GF_Crypt 369 src/mcrypt/g_crypt.c GF_Crypt *td = gf_crypt_open_intern(algorithm, NULL, 1); GF_Crypt 377 src/mcrypt/g_crypt.c GF_Crypt *td = gf_crypt_open_intern(algorithm, NULL, 1); GF_Crypt 385 src/mcrypt/g_crypt.c GF_Crypt *td = gf_crypt_open_intern(algorithm, NULL, 1); GF_Crypt 303 src/mcrypt/ncfb.c void gf_crypt_register_ncfb(GF_Crypt *td) GF_Crypt 194 src/mcrypt/nofb.c void gf_crypt_register_nofb(GF_Crypt *td) GF_Crypt 145 src/mcrypt/ofb.c void gf_crypt_register_ofb(GF_Crypt *td) GF_Crypt 400 src/mcrypt/rijndael-128.c void gf_crypt_register_rijndael_128(GF_Crypt *td) GF_Crypt 400 src/mcrypt/rijndael-192.c void gf_crypt_register_rijndael_192(GF_Crypt *td) GF_Crypt 399 src/mcrypt/rijndael-256.c void gf_crypt_register_rijndael_256(GF_Crypt *td) GF_Crypt 57 src/mcrypt/stream.c void gf_crypt_register_stream(GF_Crypt *td) GF_Crypt 752 src/mcrypt/tripledes.c void gf_crypt_register_3des(GF_Crypt *td) GF_Crypt 400 src/media_tools/ismacryp.c static GFINLINE void isma_resync_IV(GF_Crypt *mc, u64 BSO, char *salt) GF_Crypt 432 src/media_tools/ismacryp.c GF_Crypt *mc; GF_Crypt 576 src/media_tools/ismacryp.c GF_Crypt *mc; GF_Crypt 874 src/media_tools/ismacryp.c static void cenc_resync_IV(GF_Crypt *mc, char IV[16], u8 IV_size) { GF_Crypt 913 src/media_tools/ismacryp.c static GF_Err gf_cenc_encrypt_sample_ctr(GF_Crypt *mc, GF_ISOSample *samp, Bool is_nalu_video, u32 nalu_size_length, char IV[16], u32 IV_size, char **sai, u32 *saiz, GF_Crypt 1008 src/media_tools/ismacryp.c static GF_Err gf_cenc_encrypt_sample_cbc(GF_Crypt *mc, GF_ISOSample *samp, Bool is_nalu_video, u32 nalu_size_length, char IV[16], u32 IV_size, char **sai, u32 *saiz, GF_Crypt 1127 src/media_tools/ismacryp.c GF_Crypt *mc; GF_Crypt 1382 src/media_tools/ismacryp.c GF_Crypt *mc; GF_Crypt 1630 src/media_tools/ismacryp.c GF_Crypt *mc; GF_Crypt 1761 src/media_tools/ismacryp.c GF_Crypt *mc; GF_Crypt 2109 src/media_tools/ismacryp.c GF_Crypt *mc;