├── .gitignore ├── .gitmodules ├── Makefile ├── README ├── System └── i386 │ └── cpu_capabilities.h ├── corecrypto ├── arm │ ├── aes_cbc.s │ ├── aesdata.s │ ├── aesdecbc.s │ ├── aesencbc.s │ ├── aeskey.s │ ├── arm_aes.h │ ├── ccaes_arm_cbc_decrypt_mode.c │ ├── ccaes_arm_cbc_encrypt_mode.c │ ├── ccarm_intrinsic_compatability.h │ ├── ccn_add.s │ ├── ccn_addmul1.s │ ├── ccn_cmp-arm64.s │ ├── ccn_cmp.s │ ├── ccn_mul.s │ ├── ccn_mul1.s │ ├── ccn_n-arm64.s │ ├── ccn_n.s │ ├── ccn_set.s │ └── ccn_sub.s ├── cc.h ├── cc_clear.c ├── cc_cmp_safe.c ├── cc_config.h ├── cc_debug.h ├── cc_macros.h ├── cc_memory.h ├── cc_priv.h ├── cc_runtime_config.h ├── ccaes.h ├── ccaes_cbc_decrypt_mode.c ├── ccaes_cbc_encrypt_mode.c ├── ccasn1.h ├── ccdigest.c ├── ccdigest.h ├── ccdigest_final_64be.c ├── ccdigest_init.c ├── ccdigest_priv.h ├── ccdigest_update.c ├── ccmode.h ├── ccmode_impl.h ├── ccn.h ├── ccn_add.c ├── ccn_bitlen.c ├── ccn_cmp.c ├── ccn_mul.c ├── ccn_n.c ├── ccn_priv.h ├── ccn_read_uint.c ├── ccn_set.c ├── ccn_shift_right.c ├── ccn_shift_right_multi.c ├── ccn_sqr.c ├── ccn_sub.c ├── ccn_write_uint.c ├── ccrng.h ├── ccrsa.h ├── ccrsa_emsa_pkcs1v15_verify.c ├── ccrsa_priv.h ├── ccrsa_pub_crypt.c ├── ccrsa_verify_pkcs1v15.c ├── ccsha1.h ├── ccsha1_initial_state.c ├── ccsha1_ltc.c ├── ccsha2.h ├── cczp.h ├── cczp_init.c ├── cczp_mod.c ├── cczp_mul.c ├── cczp_power_fast.c ├── cczp_priv.h ├── cczp_sqr.c ├── gladman │ ├── aescrypt.c │ ├── aeskey.c │ ├── aesopt.h │ ├── aestab.c │ ├── aestab.h │ ├── ccaes_gladman_cbc_decrypt.c │ ├── ccaes_gladman_cbc_encrypt.c │ └── gladman_aes.h └── intel │ ├── ccn_add.s │ ├── ccn_cmp-x86_64.s │ ├── ccn_mul.s │ ├── ccn_n-x86_64.s │ └── ccn_sub.s ├── img4.c ├── img4test.c ├── libDER ├── DER_Decode.c ├── DER_Decode.h ├── DER_Encode.c ├── DER_Encode.h ├── asn1Types.h ├── libDER.h ├── libDER_config.h ├── oids.c └── oids.h ├── libvfs ├── validate_ca.h ├── vfs.h ├── vfs_enc.c ├── vfs_file.c ├── vfs_img4.c ├── vfs_internal.h ├── vfs_lzfse.c ├── vfs_lzss.c ├── vfs_lzvn.c ├── vfs_mem.c └── vfs_sub.c ├── lzss.c └── lzss.h /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/img4lib/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/img4lib/HEAD/.gitmodules -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/img4lib/HEAD/Makefile -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/img4lib/HEAD/README -------------------------------------------------------------------------------- /System/i386/cpu_capabilities.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/img4lib/HEAD/System/i386/cpu_capabilities.h -------------------------------------------------------------------------------- /corecrypto/arm/aes_cbc.s: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/arm/aesdata.s: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/arm/aesdecbc.s: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/arm/aesencbc.s: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/arm/aeskey.s: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/arm/arm_aes.h: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/arm/ccaes_arm_cbc_decrypt_mode.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/arm/ccaes_arm_cbc_encrypt_mode.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/arm/ccarm_intrinsic_compatability.h: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/arm/ccn_add.s: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/arm/ccn_addmul1.s: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/arm/ccn_cmp-arm64.s: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/arm/ccn_cmp.s: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/arm/ccn_mul.s: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/arm/ccn_mul1.s: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/arm/ccn_n-arm64.s: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/arm/ccn_n.s: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/arm/ccn_set.s: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/arm/ccn_sub.s: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/cc.h: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/cc_clear.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/cc_cmp_safe.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/cc_config.h: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/cc_debug.h: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/cc_macros.h: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/cc_memory.h: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/cc_priv.h: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/cc_runtime_config.h: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccaes.h: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccaes_cbc_decrypt_mode.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccaes_cbc_encrypt_mode.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccasn1.h: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccdigest.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccdigest.h: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccdigest_final_64be.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccdigest_init.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccdigest_priv.h: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccdigest_update.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccmode.h: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccmode_impl.h: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccn.h: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccn_add.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccn_bitlen.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccn_cmp.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccn_mul.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccn_n.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccn_priv.h: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccn_read_uint.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccn_set.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccn_shift_right.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccn_shift_right_multi.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccn_sqr.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccn_sub.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccn_write_uint.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccrng.h: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccrsa.h: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccrsa_emsa_pkcs1v15_verify.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccrsa_priv.h: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccrsa_pub_crypt.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccrsa_verify_pkcs1v15.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccsha1.h: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccsha1_initial_state.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccsha1_ltc.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/ccsha2.h: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/cczp.h: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/cczp_init.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/cczp_mod.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/cczp_mul.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/cczp_power_fast.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/cczp_priv.h: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/cczp_sqr.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/gladman/aescrypt.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/gladman/aeskey.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/gladman/aesopt.h: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/gladman/aestab.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/gladman/aestab.h: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/gladman/ccaes_gladman_cbc_decrypt.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/gladman/ccaes_gladman_cbc_encrypt.c: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/gladman/gladman_aes.h: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/intel/ccn_add.s: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/intel/ccn_cmp-x86_64.s: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/intel/ccn_mul.s: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/intel/ccn_n-x86_64.s: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /corecrypto/intel/ccn_sub.s: -------------------------------------------------------------------------------- 1 | https://developer.apple.com/security/ 2 | -------------------------------------------------------------------------------- /img4.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/img4lib/HEAD/img4.c -------------------------------------------------------------------------------- /img4test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/img4lib/HEAD/img4test.c -------------------------------------------------------------------------------- /libDER/DER_Decode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/img4lib/HEAD/libDER/DER_Decode.c -------------------------------------------------------------------------------- /libDER/DER_Decode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/img4lib/HEAD/libDER/DER_Decode.h -------------------------------------------------------------------------------- /libDER/DER_Encode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/img4lib/HEAD/libDER/DER_Encode.c -------------------------------------------------------------------------------- /libDER/DER_Encode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/img4lib/HEAD/libDER/DER_Encode.h -------------------------------------------------------------------------------- /libDER/asn1Types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/img4lib/HEAD/libDER/asn1Types.h -------------------------------------------------------------------------------- /libDER/libDER.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/img4lib/HEAD/libDER/libDER.h -------------------------------------------------------------------------------- /libDER/libDER_config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/img4lib/HEAD/libDER/libDER_config.h -------------------------------------------------------------------------------- /libDER/oids.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/img4lib/HEAD/libDER/oids.c -------------------------------------------------------------------------------- /libDER/oids.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/img4lib/HEAD/libDER/oids.h -------------------------------------------------------------------------------- /libvfs/validate_ca.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/img4lib/HEAD/libvfs/validate_ca.h -------------------------------------------------------------------------------- /libvfs/vfs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/img4lib/HEAD/libvfs/vfs.h -------------------------------------------------------------------------------- /libvfs/vfs_enc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/img4lib/HEAD/libvfs/vfs_enc.c -------------------------------------------------------------------------------- /libvfs/vfs_file.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/img4lib/HEAD/libvfs/vfs_file.c -------------------------------------------------------------------------------- /libvfs/vfs_img4.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/img4lib/HEAD/libvfs/vfs_img4.c -------------------------------------------------------------------------------- /libvfs/vfs_internal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/img4lib/HEAD/libvfs/vfs_internal.h -------------------------------------------------------------------------------- /libvfs/vfs_lzfse.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/img4lib/HEAD/libvfs/vfs_lzfse.c -------------------------------------------------------------------------------- /libvfs/vfs_lzss.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/img4lib/HEAD/libvfs/vfs_lzss.c -------------------------------------------------------------------------------- /libvfs/vfs_lzvn.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/img4lib/HEAD/libvfs/vfs_lzvn.c -------------------------------------------------------------------------------- /libvfs/vfs_mem.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/img4lib/HEAD/libvfs/vfs_mem.c -------------------------------------------------------------------------------- /libvfs/vfs_sub.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/img4lib/HEAD/libvfs/vfs_sub.c -------------------------------------------------------------------------------- /lzss.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/img4lib/HEAD/lzss.c -------------------------------------------------------------------------------- /lzss.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerub/img4lib/HEAD/lzss.h --------------------------------------------------------------------------------