stormlib 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/stormlib/StormLib/CMakeFiles/3.22.1/CMakeCCompiler.cmake +72 -0
- data/ext/stormlib/StormLib/CMakeFiles/3.22.1/CMakeCXXCompiler.cmake +83 -0
- data/ext/stormlib/StormLib/CMakeFiles/3.22.1/CMakeDetermineCompilerABI_C.bin +0 -0
- data/ext/stormlib/StormLib/CMakeFiles/3.22.1/CMakeDetermineCompilerABI_CXX.bin +0 -0
- data/ext/stormlib/StormLib/CMakeFiles/3.22.1/CMakeSystem.cmake +15 -0
- data/ext/stormlib/StormLib/CMakeFiles/3.22.1/CompilerIdC/CMakeCCompilerId.c +803 -0
- data/ext/stormlib/StormLib/CMakeFiles/3.22.1/CompilerIdC/a.out +0 -0
- data/ext/stormlib/StormLib/CMakeFiles/3.22.1/CompilerIdCXX/CMakeCXXCompilerId.cpp +791 -0
- data/ext/stormlib/StormLib/CMakeFiles/3.22.1/CompilerIdCXX/a.out +0 -0
- data/ext/stormlib/StormLib/CMakeFiles/CMakeDirectoryInformation.cmake +16 -0
- data/ext/stormlib/StormLib/CMakeFiles/CMakeOutput.log +478 -0
- data/ext/stormlib/StormLib/CMakeFiles/Export/share/StormLib/StormLibConfig-noconfig.cmake +19 -0
- data/ext/stormlib/StormLib/CMakeFiles/Export/share/StormLib/StormLibConfig.cmake +99 -0
- data/ext/stormlib/StormLib/CMakeFiles/Makefile.cmake +61 -0
- data/ext/stormlib/StormLib/CMakeFiles/Makefile2 +112 -0
- data/ext/stormlib/StormLib/CMakeFiles/TargetDirectories.txt +9 -0
- data/ext/stormlib/StormLib/CMakeFiles/cmake.check_cache +1 -0
- data/ext/stormlib/StormLib/CMakeFiles/progress.marks +1 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/DependInfo.cmake +243 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/build.make +3695 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/cmake_clean.cmake +459 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/cmake_clean_target.cmake +3 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/compiler_depend.make +2 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/compiler_depend.ts +2 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/depend.make +2 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/flags.make +17 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/link.txt +2 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/progress.make +227 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/FileStream.cpp.o.d +160 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SBaseCommon.cpp.o.d +159 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SBaseDumpData.cpp.o.d +159 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SBaseFileTable.cpp.o.d +159 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SBaseSubTypes.cpp.o.d +159 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SCompression.cpp.o.d +159 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SFileAddFile.cpp.o.d +159 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SFileAttributes.cpp.o.d +159 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SFileCompactArchive.cpp.o.d +159 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SFileCreateArchive.cpp.o.d +159 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SFileExtractFile.cpp.o.d +159 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SFileFindFile.cpp.o.d +159 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SFileGetFileInfo.cpp.o.d +159 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SFileListFile.cpp.o.d +159 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SFileOpenArchive.cpp.o.d +159 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SFileOpenFileEx.cpp.o.d +159 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SFilePatchArchives.cpp.o.d +159 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SFileReadFile.cpp.o.d +159 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SFileVerify.cpp.o.d +159 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/adpcm/adpcm.cpp.o.d +12 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/huffman/huff.cpp.o.d +16 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/jenkins/lookup3.c.o.d +88 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/hashes/hash_memory.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/hashes/md5.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/hashes/sha1.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/hashes/sha256.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/math/ltm_desc.c.o.d +105 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/math/multi.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/math/rand_prime.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/misc/base64_decode.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/misc/crypt_argchk.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/misc/crypt_find_hash.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/misc/crypt_find_prng.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/misc/crypt_hash_descriptor.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/misc/crypt_hash_is_valid.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/misc/crypt_libc.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/misc/crypt_ltc_mp_descriptor.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/misc/crypt_prng_descriptor.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/misc/crypt_prng_is_valid.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/misc/crypt_register_hash.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/misc/crypt_register_prng.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/misc/zeromem.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_decode_bit_string.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_decode_boolean.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_decode_choice.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_decode_ia5_string.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_decode_integer.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_decode_object_identifier.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_decode_octet_string.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_decode_printable_string.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_decode_sequence_ex.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_decode_sequence_flexi.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_decode_sequence_multi.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_decode_short_integer.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_decode_utctime.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_decode_utf8_string.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_encode_bit_string.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_encode_boolean.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_encode_ia5_string.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_encode_integer.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_encode_object_identifier.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_encode_octet_string.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_encode_printable_string.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_encode_sequence_ex.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_encode_sequence_multi.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_encode_set.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_encode_setof.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_encode_short_integer.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_encode_utctime.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_encode_utf8_string.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_length_bit_string.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_length_boolean.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_length_ia5_string.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_length_integer.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_length_object_identifier.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_length_octet_string.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_length_printable_string.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_length_sequence.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_length_short_integer.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_length_utctime.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_length_utf8_string.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_sequence_free.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/ecc/ltc_ecc_map.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/ecc/ltc_ecc_mul2add.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/ecc/ltc_ecc_mulmod.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/ecc/ltc_ecc_points.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/ecc/ltc_ecc_projective_add_point.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/ecc/ltc_ecc_projective_dbl_point.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/pkcs1/pkcs_1_mgf1.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/pkcs1/pkcs_1_oaep_decode.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/pkcs1/pkcs_1_pss_decode.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/pkcs1/pkcs_1_pss_encode.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/pkcs1/pkcs_1_v1_5_decode.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/pkcs1/pkcs_1_v1_5_encode.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/rsa/rsa_exptmod.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/rsa/rsa_free.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/rsa/rsa_import.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/rsa/rsa_make_key.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/rsa/rsa_sign_hash.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/rsa/rsa_verify_hash.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/rsa/rsa_verify_simple.c.o.d +102 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_fast_mp_invmod.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_fast_mp_montgomery_reduce.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_fast_s_mp_mul_digs.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_fast_s_mp_mul_high_digs.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_fast_s_mp_sqr.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_2expt.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_abs.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_add.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_add_d.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_addmod.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_and.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_clamp.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_clear.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_clear_multi.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_cmp.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_cmp_d.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_cmp_mag.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_cnt_lsb.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_copy.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_count_bits.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_div.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_div_2.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_div_2d.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_div_3.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_div_d.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_dr_is_modulus.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_dr_reduce.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_dr_setup.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_exch.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_expt_d.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_exptmod.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_exptmod_fast.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_exteuclid.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_fread.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_fwrite.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_gcd.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_get_int.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_grow.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_init.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_init_copy.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_init_multi.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_init_set.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_init_set_int.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_init_size.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_invmod.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_invmod_slow.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_is_square.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_jacobi.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_karatsuba_mul.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_karatsuba_sqr.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_lcm.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_lshd.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_mod.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_mod_2d.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_mod_d.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_montgomery_calc_normalization.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_montgomery_reduce.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_montgomery_setup.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_mul.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_mul_2.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_mul_2d.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_mul_d.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_mulmod.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_n_root.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_neg.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_or.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_prime_fermat.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_prime_is_divisible.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_prime_is_prime.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_prime_miller_rabin.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_prime_next_prime.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_prime_rabin_miller_trials.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_prime_random_ex.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_radix_size.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_radix_smap.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_rand.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_read_radix.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_read_signed_bin.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_read_unsigned_bin.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_reduce.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_reduce_2k.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_reduce_2k_l.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_reduce_2k_setup.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_reduce_2k_setup_l.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_reduce_is_2k.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_reduce_is_2k_l.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_reduce_setup.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_rshd.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_set.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_set_int.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_shrink.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_signed_bin_size.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_sqr.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_sqrmod.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_sqrt.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_sub.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_sub_d.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_submod.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_to_signed_bin.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_to_signed_bin_n.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_to_unsigned_bin.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_to_unsigned_bin_n.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_toom_mul.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_toom_sqr.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_toradix.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_toradix_n.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_unsigned_bin_size.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_xor.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_zero.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_prime_tab.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_reverse.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_s_mp_add.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_s_mp_exptmod.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_s_mp_mul_digs.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_s_mp_mul_high_digs.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_s_mp_sqr.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_s_mp_sub.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bncore.c.o.d +65 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/lzma/C/LzFind.c.o.d +18 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/lzma/C/LzmaDec.c.o.d +17 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/lzma/C/LzmaEnc.c.o.d +18 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/pklib/explode.c.o.d +16 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/pklib/implode.c.o.d +23 -0
- data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/sparse/sparse.cpp.o.d +16 -0
- data/ext/stormlib/StormLib/CMakeLists.txt +418 -0
- data/ext/stormlib/StormLib/Info.plist +22 -0
- data/ext/stormlib/StormLib/LICENSE +21 -0
- data/ext/stormlib/StormLib/Premake5.lua +132 -0
- data/ext/stormlib/StormLib/README.md +39 -0
- data/ext/stormlib/StormLib/StormLib.sln +162 -0
- data/ext/stormlib/StormLib/StormLib.vcxproj +1024 -0
- data/ext/stormlib/StormLib/StormLib.vcxproj.filters +221 -0
- data/ext/stormlib/StormLib/StormLib.xcodeproj/project.pbxproj +2104 -0
- data/ext/stormlib/StormLib/StormLib_dll.vcxproj +348 -0
- data/ext/stormlib/StormLib/StormLib_dll.vcxproj.filters +229 -0
- data/ext/stormlib/StormLib/StormLib_test.vcxproj +360 -0
- data/ext/stormlib/StormLib/StormLib_test.vcxproj.filters +230 -0
- data/ext/stormlib/StormLib/StormLib_vs08.sln +139 -0
- data/ext/stormlib/StormLib/StormLib_vs08.vcproj +4205 -0
- data/ext/stormlib/StormLib/StormLib_vs08_dll.vcproj +1851 -0
- data/ext/stormlib/StormLib/StormLib_vs08_test.vcproj +1289 -0
- data/ext/stormlib/StormLib/doc/History.txt +78 -0
- data/ext/stormlib/StormLib/doc/The MoPaQ File Format 0.9.txt +318 -0
- data/ext/stormlib/StormLib/doc/The MoPaQ File Format 1.0.txt +433 -0
- data/ext/stormlib/StormLib/doc/d3-authenticationcode/d3-authenticationcode-deDE.txt +1 -0
- data/ext/stormlib/StormLib/doc/d3-authenticationcode/d3-authenticationcode-enGB.txt +1 -0
- data/ext/stormlib/StormLib/doc/d3-authenticationcode/d3-authenticationcode-enSG.txt +1 -0
- data/ext/stormlib/StormLib/doc/d3-authenticationcode/d3-authenticationcode-enUS.txt +1 -0
- data/ext/stormlib/StormLib/doc/d3-authenticationcode/d3-authenticationcode-esES.txt +1 -0
- data/ext/stormlib/StormLib/doc/d3-authenticationcode/d3-authenticationcode-esMX.txt +1 -0
- data/ext/stormlib/StormLib/doc/d3-authenticationcode/d3-authenticationcode-frFR.txt +1 -0
- data/ext/stormlib/StormLib/doc/d3-authenticationcode/d3-authenticationcode-itIT.txt +1 -0
- data/ext/stormlib/StormLib/doc/d3-authenticationcode/d3-authenticationcode-koKR.txt +1 -0
- data/ext/stormlib/StormLib/doc/d3-authenticationcode/d3-authenticationcode-plPL.txt +1 -0
- data/ext/stormlib/StormLib/doc/d3-authenticationcode/d3-authenticationcode-ptBR.txt +1 -0
- data/ext/stormlib/StormLib/doc/d3-authenticationcode/d3-authenticationcode-zhTW.txt +1 -0
- data/ext/stormlib/StormLib/doc/hots-authenticationcode/hots-authenticationcode-bgdl.txt +1 -0
- data/ext/stormlib/StormLib/doc/sc2-authenticationcode/sc2-authenticationcode-deDE.txt +1 -0
- data/ext/stormlib/StormLib/doc/sc2-authenticationcode/sc2-authenticationcode-enGB.txt +1 -0
- data/ext/stormlib/StormLib/doc/sc2-authenticationcode/sc2-authenticationcode-enUS.txt +1 -0
- data/ext/stormlib/StormLib/doc/sc2-authenticationcode/sc2-authenticationcode-esES.txt +1 -0
- data/ext/stormlib/StormLib/doc/sc2-authenticationcode/sc2-authenticationcode-esMX.txt +1 -0
- data/ext/stormlib/StormLib/doc/sc2-authenticationcode/sc2-authenticationcode-frFR.txt +1 -0
- data/ext/stormlib/StormLib/doc/sc2-authenticationcode/sc2-authenticationcode-itIT.txt +1 -0
- data/ext/stormlib/StormLib/doc/sc2-authenticationcode/sc2-authenticationcode-koKR.txt +1 -0
- data/ext/stormlib/StormLib/doc/sc2-authenticationcode/sc2-authenticationcode-plPL.txt +1 -0
- data/ext/stormlib/StormLib/doc/sc2-authenticationcode/sc2-authenticationcode-ptBR.txt +1 -0
- data/ext/stormlib/StormLib/doc/sc2-authenticationcode/sc2-authenticationcode-ruRU.txt +1 -0
- data/ext/stormlib/StormLib/doc/sc2-authenticationcode/sc2-authenticationcode-zhTW.txt +1 -0
- data/ext/stormlib/StormLib/make-msvc.bat +95 -0
- data/ext/stormlib/StormLib/make.bat +46 -0
- data/ext/stormlib/StormLib/sources +14 -0
- data/ext/stormlib/StormLib/src/DllMain.c +24 -0
- data/ext/stormlib/StormLib/src/DllMain.def +79 -0
- data/ext/stormlib/StormLib/src/DllMain.rc +110 -0
- data/ext/stormlib/StormLib/src/FileStream.cpp +2928 -0
- data/ext/stormlib/StormLib/src/FileStream.h +217 -0
- data/ext/stormlib/StormLib/src/LibTomCrypt.c +85 -0
- data/ext/stormlib/StormLib/src/LibTomMath.c +125 -0
- data/ext/stormlib/StormLib/src/LibTomMathDesc.c +4 -0
- data/ext/stormlib/StormLib/src/SBaseCommon.cpp +1970 -0
- data/ext/stormlib/StormLib/src/SBaseDumpData.cpp +183 -0
- data/ext/stormlib/StormLib/src/SBaseFileTable.cpp +3194 -0
- data/ext/stormlib/StormLib/src/SBaseSubTypes.cpp +688 -0
- data/ext/stormlib/StormLib/src/SCompression.cpp +1183 -0
- data/ext/stormlib/StormLib/src/SFileAddFile.cpp +1337 -0
- data/ext/stormlib/StormLib/src/SFileAttributes.cpp +573 -0
- data/ext/stormlib/StormLib/src/SFileCompactArchive.cpp +654 -0
- data/ext/stormlib/StormLib/src/SFileCreateArchive.cpp +285 -0
- data/ext/stormlib/StormLib/src/SFileExtractFile.cpp +64 -0
- data/ext/stormlib/StormLib/src/SFileFindFile.cpp +484 -0
- data/ext/stormlib/StormLib/src/SFileGetFileInfo.cpp +627 -0
- data/ext/stormlib/StormLib/src/SFileListFile.cpp +750 -0
- data/ext/stormlib/StormLib/src/SFileOpenArchive.cpp +723 -0
- data/ext/stormlib/StormLib/src/SFileOpenFileEx.cpp +423 -0
- data/ext/stormlib/StormLib/src/SFilePatchArchives.cpp +1175 -0
- data/ext/stormlib/StormLib/src/SFileReadFile.cpp +922 -0
- data/ext/stormlib/StormLib/src/SFileVerify.cpp +1059 -0
- data/ext/stormlib/StormLib/src/StormCommon.h +450 -0
- data/ext/stormlib/StormLib/src/StormLib.exp +74 -0
- data/ext/stormlib/StormLib/src/StormLib.h +1157 -0
- data/ext/stormlib/StormLib/src/StormPort.h +474 -0
- data/ext/stormlib/StormLib/src/adpcm/adpcm.cpp +539 -0
- data/ext/stormlib/StormLib/src/adpcm/adpcm.h +27 -0
- data/ext/stormlib/StormLib/src/bzip2/blocksort.c +1094 -0
- data/ext/stormlib/StormLib/src/bzip2/bzlib.c +1573 -0
- data/ext/stormlib/StormLib/src/bzip2/bzlib.h +282 -0
- data/ext/stormlib/StormLib/src/bzip2/bzlib_private.h +509 -0
- data/ext/stormlib/StormLib/src/bzip2/compress.c +672 -0
- data/ext/stormlib/StormLib/src/bzip2/crctable.c +104 -0
- data/ext/stormlib/StormLib/src/bzip2/decompress.c +626 -0
- data/ext/stormlib/StormLib/src/bzip2/huffman.c +205 -0
- data/ext/stormlib/StormLib/src/bzip2/randtable.c +84 -0
- data/ext/stormlib/StormLib/src/huffman/huff.cpp +915 -0
- data/ext/stormlib/StormLib/src/huffman/huff.h +143 -0
- data/ext/stormlib/StormLib/src/jenkins/lookup.h +24 -0
- data/ext/stormlib/StormLib/src/jenkins/lookup3.c +1003 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/hashes/hash_memory.c +69 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/hashes/md5.c +368 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/hashes/sha1.c +288 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/hashes/sha256.c +340 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/headers/tomcrypt.h +91 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/headers/tomcrypt_argchk.h +38 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/headers/tomcrypt_cfg.h +144 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/headers/tomcrypt_cipher.h +891 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/headers/tomcrypt_custom.h +424 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/headers/tomcrypt_hash.h +378 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/headers/tomcrypt_mac.h +384 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/headers/tomcrypt_macros.h +424 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/headers/tomcrypt_math.h +500 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/headers/tomcrypt_misc.h +23 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/headers/tomcrypt_pk.h +558 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/headers/tomcrypt_pkcs.h +89 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/headers/tomcrypt_prng.h +199 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/math/ltm_desc.c +483 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/math/multi.c +61 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/math/rand_prime.c +87 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/misc/base64_decode.c +104 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/misc/crypt_argchk.c +30 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/misc/crypt_find_hash.c +40 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/misc/crypt_find_prng.c +41 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/misc/crypt_hash_descriptor.c +27 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/misc/crypt_hash_is_valid.c +36 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/misc/crypt_libc.c +43 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/misc/crypt_ltc_mp_descriptor.c +13 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/misc/crypt_prng_descriptor.c +26 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/misc/crypt_prng_is_valid.c +36 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/misc/crypt_register_hash.c +54 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/misc/crypt_register_prng.c +54 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/misc/zeromem.c +34 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_decode_bit_string.c +102 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_decode_boolean.c +47 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_decode_choice.c +182 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_decode_ia5_string.c +96 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_decode_integer.c +110 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_decode_object_identifier.c +99 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_decode_octet_string.c +91 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_decode_printable_string.c +96 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_decode_sequence_ex.c +287 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_decode_sequence_flexi.c +386 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_decode_sequence_multi.c +139 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_decode_short_integer.c +68 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_decode_utctime.c +127 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_decode_utf8_string.c +111 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_encode_bit_string.c +89 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_encode_boolean.c +51 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_encode_ia5_string.c +85 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_encode_integer.c +130 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_encode_object_identifier.c +111 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_encode_octet_string.c +86 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_encode_printable_string.c +85 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_encode_sequence_ex.c +335 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_encode_sequence_multi.c +138 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_encode_set.c +103 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_encode_setof.c +162 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_encode_short_integer.c +97 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_encode_utctime.c +83 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_encode_utf8_string.c +105 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_length_bit_string.c +54 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_length_boolean.c +35 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_length_ia5_string.c +194 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_length_integer.c +82 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_length_object_identifier.c +89 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_length_octet_string.c +53 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_length_printable_string.c +166 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_length_sequence.c +169 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_length_short_integer.c +70 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_length_utctime.c +46 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_length_utf8_string.c +83 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_sequence_free.c +65 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/ecc/ltc_ecc_map.c +76 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/ecc/ltc_ecc_mul2add.c +207 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/ecc/ltc_ecc_mulmod.c +222 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/ecc/ltc_ecc_points.c +60 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/ecc/ltc_ecc_projective_add_point.c +196 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/ecc/ltc_ecc_projective_dbl_point.c +147 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/pkcs1/pkcs_1_mgf1.c +108 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/pkcs1/pkcs_1_oaep_decode.c +189 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/pkcs1/pkcs_1_pss_decode.c +177 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/pkcs1/pkcs_1_pss_encode.c +175 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/pkcs1/pkcs_1_v1_5_decode.c +110 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/pkcs1/pkcs_1_v1_5_encode.c +111 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/rsa/rsa_exptmod.c +113 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/rsa/rsa_free.c +34 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/rsa/rsa_import.c +143 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/rsa/rsa_make_key.c +112 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/rsa/rsa_sign_hash.c +134 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/rsa/rsa_verify_hash.c +167 -0
- data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/rsa/rsa_verify_simple.c +87 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_fast_mp_invmod.c +148 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_fast_mp_montgomery_reduce.c +172 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_fast_s_mp_mul_digs.c +107 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_fast_s_mp_mul_high_digs.c +98 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_fast_s_mp_sqr.c +114 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_2expt.c +48 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_abs.c +43 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_add.c +53 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_add_d.c +112 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_addmod.c +41 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_and.c +57 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_clamp.c +44 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_clear.c +44 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_clear_multi.c +34 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_cmp.c +43 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_cmp_d.c +44 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_cmp_mag.c +55 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_cnt_lsb.c +53 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_copy.c +68 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_count_bits.c +45 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_div.c +292 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_div_2.c +68 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_div_2d.c +97 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_div_3.c +79 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_div_d.c +115 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_dr_is_modulus.c +43 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_dr_reduce.c +94 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_dr_setup.c +32 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_exch.c +34 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_expt_d.c +57 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_exptmod.c +112 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_exptmod_fast.c +321 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_exteuclid.c +82 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_fread.c +67 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_fwrite.c +52 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_gcd.c +105 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_get_int.c +45 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_grow.c +57 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_init.c +46 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_init_copy.c +32 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_init_multi.c +59 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_init_set.c +32 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_init_set_int.c +31 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_init_size.c +48 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_invmod.c +43 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_invmod_slow.c +175 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_is_square.c +109 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_jacobi.c +105 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_karatsuba_mul.c +167 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_karatsuba_sqr.c +121 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_lcm.c +60 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_lshd.c +67 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_mod.c +48 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_mod_2d.c +55 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_mod_d.c +27 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_montgomery_calc_normalization.c +59 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_montgomery_reduce.c +118 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_montgomery_setup.c +59 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_mul.c +66 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_mul_2.c +82 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_mul_2d.c +85 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_mul_d.c +79 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_mulmod.c +40 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_n_root.c +132 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_neg.c +40 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_or.c +50 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_prime_fermat.c +62 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_prime_is_divisible.c +50 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_prime_is_prime.c +83 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_prime_miller_rabin.c +103 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_prime_next_prime.c +170 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_prime_rabin_miller_trials.c +52 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_prime_random_ex.c +125 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_radix_size.c +78 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_radix_smap.c +24 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_rand.c +55 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_read_radix.c +85 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_read_signed_bin.c +41 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_read_unsigned_bin.c +55 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_reduce.c +100 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_reduce_2k.c +61 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_reduce_2k_l.c +62 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_reduce_2k_setup.c +47 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_reduce_2k_setup_l.c +44 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_reduce_is_2k.c +52 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_reduce_is_2k_l.c +44 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_reduce_setup.c +34 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_rshd.c +72 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_set.c +29 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_set_int.c +48 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_shrink.c +35 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_signed_bin_size.c +27 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_sqr.c +58 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_sqrmod.c +41 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_sqrt.c +81 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_sub.c +59 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_sub_d.c +93 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_submod.c +42 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_to_signed_bin.c +33 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_to_signed_bin_n.c +31 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_to_unsigned_bin.c +48 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_to_unsigned_bin_n.c +31 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_toom_mul.c +284 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_toom_sqr.c +226 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_toradix.c +75 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_toradix_n.c +88 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_unsigned_bin_size.c +28 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_xor.c +51 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_mp_zero.c +36 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_prime_tab.c +61 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_reverse.c +39 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_s_mp_add.c +109 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_s_mp_exptmod.c +252 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_s_mp_mul_digs.c +90 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_s_mp_mul_high_digs.c +81 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_s_mp_sqr.c +84 -0
- data/ext/stormlib/StormLib/src/libtommath/bn_s_mp_sub.c +89 -0
- data/ext/stormlib/StormLib/src/libtommath/bncore.c +36 -0
- data/ext/stormlib/StormLib/src/libtommath/tommath.h +584 -0
- data/ext/stormlib/StormLib/src/libtommath/tommath_class.h +999 -0
- data/ext/stormlib/StormLib/src/libtommath/tommath_superclass.h +76 -0
- data/ext/stormlib/StormLib/src/lzma/C/LzFind.c +761 -0
- data/ext/stormlib/StormLib/src/lzma/C/LzFind.h +115 -0
- data/ext/stormlib/StormLib/src/lzma/C/LzFindMt.c +793 -0
- data/ext/stormlib/StormLib/src/lzma/C/LzFindMt.h +105 -0
- data/ext/stormlib/StormLib/src/lzma/C/LzHash.h +54 -0
- data/ext/stormlib/StormLib/src/lzma/C/LzmaDec.c +999 -0
- data/ext/stormlib/StormLib/src/lzma/C/LzmaDec.h +231 -0
- data/ext/stormlib/StormLib/src/lzma/C/LzmaEnc.c +2268 -0
- data/ext/stormlib/StormLib/src/lzma/C/LzmaEnc.h +80 -0
- data/ext/stormlib/StormLib/src/lzma/C/Threads.c +84 -0
- data/ext/stormlib/StormLib/src/lzma/C/Threads.h +59 -0
- data/ext/stormlib/StormLib/src/lzma/C/Types.h +236 -0
- data/ext/stormlib/StormLib/src/lzma/info.txt +1 -0
- data/ext/stormlib/StormLib/src/pklib/crc32.c +66 -0
- data/ext/stormlib/StormLib/src/pklib/explode.c +521 -0
- data/ext/stormlib/StormLib/src/pklib/implode.c +674 -0
- data/ext/stormlib/StormLib/src/pklib/pklib.h +160 -0
- data/ext/stormlib/StormLib/src/resource.h +15 -0
- data/ext/stormlib/StormLib/src/sparse/sparse.cpp +287 -0
- data/ext/stormlib/StormLib/src/sparse/sparse.h +17 -0
- data/ext/stormlib/StormLib/src/wdk/sources-cpp.cpp +26 -0
- data/ext/stormlib/StormLib/src/wdk/sources-wdk-bzip2.c +13 -0
- data/ext/stormlib/StormLib/src/wdk/sources-wdk-ltc.c +4 -0
- data/ext/stormlib/StormLib/src/wdk/sources-wdk-lzma.c +8 -0
- data/ext/stormlib/StormLib/src/wdk/sources-wdk-misc.c +6 -0
- data/ext/stormlib/StormLib/src/wdk/sources-wdk-tomcrypt.c +82 -0
- data/ext/stormlib/StormLib/src/wdk/sources-wdk-tommath.c +123 -0
- data/ext/stormlib/StormLib/src/wdk/sources-wdk-zlib.c +21 -0
- data/ext/stormlib/StormLib/src/zlib/adler32.c +169 -0
- data/ext/stormlib/StormLib/src/zlib/compress.c +80 -0
- data/ext/stormlib/StormLib/src/zlib/compress_zlib.c +5 -0
- data/ext/stormlib/StormLib/src/zlib/crc32.c +442 -0
- data/ext/stormlib/StormLib/src/zlib/crc32.h +441 -0
- data/ext/stormlib/StormLib/src/zlib/deflate.c +1834 -0
- data/ext/stormlib/StormLib/src/zlib/deflate.h +342 -0
- data/ext/stormlib/StormLib/src/zlib/gzguts.h +218 -0
- data/ext/stormlib/StormLib/src/zlib/inffast.c +340 -0
- data/ext/stormlib/StormLib/src/zlib/inffast.h +11 -0
- data/ext/stormlib/StormLib/src/zlib/inffixed.h +94 -0
- data/ext/stormlib/StormLib/src/zlib/inflate.c +1480 -0
- data/ext/stormlib/StormLib/src/zlib/inflate.h +130 -0
- data/ext/stormlib/StormLib/src/zlib/inftrees.c +330 -0
- data/ext/stormlib/StormLib/src/zlib/inftrees.h +67 -0
- data/ext/stormlib/StormLib/src/zlib/trees.c +1244 -0
- data/ext/stormlib/StormLib/src/zlib/trees.h +128 -0
- data/ext/stormlib/StormLib/src/zlib/zconf.h +428 -0
- data/ext/stormlib/StormLib/src/zlib/zlib.h +1613 -0
- data/ext/stormlib/StormLib/src/zlib/zutil.c +318 -0
- data/ext/stormlib/StormLib/src/zlib/zutil.h +274 -0
- data/ext/stormlib/StormLib/storm_dll/storm.cpp +117 -0
- data/ext/stormlib/StormLib/storm_dll/storm.def +25 -0
- data/ext/stormlib/StormLib/storm_dll/storm.h +65 -0
- data/ext/stormlib/StormLib/storm_dll/storm.vcxproj +209 -0
- data/ext/stormlib/StormLib/storm_dll/storm.vcxproj.filters +28 -0
- data/ext/stormlib/StormLib/storm_dll/storm_test.cpp +182 -0
- data/ext/stormlib/StormLib/storm_dll/storm_test.vcxproj +202 -0
- data/ext/stormlib/StormLib/storm_dll/storm_test.vcxproj.filters +22 -0
- data/ext/stormlib/StormLib/test/StormTest.cpp +4393 -0
- data/ext/stormlib/StormLib/test/TLogHelper.cpp +567 -0
- data/ext/stormlib/StormLib/test/stormlib-test-001.txt +164 -0
- data/ext/stormlib/extconf.rb +0 -2
- data/lib/stormlib/version.rb +1 -1
- data/stormlib.gemspec +1 -1
- metadata +621 -2
@@ -0,0 +1,160 @@
|
|
1
|
+
/*****************************************************************************/
|
2
|
+
/* pklib.h Copyright (c) Ladislav Zezula 2003 */
|
3
|
+
/*---------------------------------------------------------------------------*/
|
4
|
+
/* Header file for PKWARE Data Compression Library */
|
5
|
+
/*---------------------------------------------------------------------------*/
|
6
|
+
/* Date Ver Who Comment */
|
7
|
+
/* -------- ---- --- ------- */
|
8
|
+
/* 31.03.03 1.00 Lad Created */
|
9
|
+
/*****************************************************************************/
|
10
|
+
|
11
|
+
#ifndef __PKLIB_H__
|
12
|
+
#define __PKLIB_H__
|
13
|
+
|
14
|
+
#pragma once
|
15
|
+
|
16
|
+
//-----------------------------------------------------------------------------
|
17
|
+
// Defines
|
18
|
+
|
19
|
+
#define CMP_BINARY 0 // Binary compression
|
20
|
+
#define CMP_ASCII 1 // Ascii compression
|
21
|
+
|
22
|
+
#define CMP_NO_ERROR 0
|
23
|
+
#define CMP_INVALID_DICTSIZE 1
|
24
|
+
#define CMP_INVALID_MODE 2
|
25
|
+
#define CMP_BAD_DATA 3
|
26
|
+
#define CMP_ABORT 4
|
27
|
+
|
28
|
+
#define CMP_IMPLODE_DICT_SIZE1 1024 // Dictionary size of 1024
|
29
|
+
#define CMP_IMPLODE_DICT_SIZE2 2048 // Dictionary size of 2048
|
30
|
+
#define CMP_IMPLODE_DICT_SIZE3 4096 // Dictionary size of 4096
|
31
|
+
|
32
|
+
//-----------------------------------------------------------------------------
|
33
|
+
// Define calling convention
|
34
|
+
|
35
|
+
#ifndef PKEXPORT
|
36
|
+
#ifdef WIN32
|
37
|
+
#define PKEXPORT __cdecl // Use for normal __cdecl calling
|
38
|
+
#else
|
39
|
+
#define PKEXPORT
|
40
|
+
#endif
|
41
|
+
#endif
|
42
|
+
|
43
|
+
//-----------------------------------------------------------------------------
|
44
|
+
// Internal structures
|
45
|
+
|
46
|
+
// Compression structure
|
47
|
+
typedef struct
|
48
|
+
{
|
49
|
+
unsigned int distance; // 0000: Backward distance of the currently found repetition, decreased by 1
|
50
|
+
unsigned int out_bytes; // 0004: # bytes available in out_buff
|
51
|
+
unsigned int out_bits; // 0008: # of bits available in the last out byte
|
52
|
+
unsigned int dsize_bits; // 000C: Number of bits needed for dictionary size. 4 = 0x400, 5 = 0x800, 6 = 0x1000
|
53
|
+
unsigned int dsize_mask; // 0010: Bit mask for dictionary. 0x0F = 0x400, 0x1F = 0x800, 0x3F = 0x1000
|
54
|
+
unsigned int ctype; // 0014: Compression type (CMP_ASCII or CMP_BINARY)
|
55
|
+
unsigned int dsize_bytes; // 0018: Dictionary size in bytes
|
56
|
+
unsigned char dist_bits[0x40]; // 001C: Distance bits
|
57
|
+
unsigned char dist_codes[0x40]; // 005C: Distance codes
|
58
|
+
unsigned char nChBits[0x306]; // 009C: Table of literal bit lengths to be put to the output stream
|
59
|
+
unsigned short nChCodes[0x306]; // 03A2: Table of literal codes to be put to the output stream
|
60
|
+
unsigned short offs09AE; // 09AE:
|
61
|
+
|
62
|
+
void * param; // 09B0: User parameter
|
63
|
+
unsigned int (*read_buf)(char *buf, unsigned int *size, void *param); // 9B4
|
64
|
+
void (*write_buf)(char *buf, unsigned int *size, void *param); // 9B8
|
65
|
+
|
66
|
+
unsigned short offs09BC[0x204]; // 09BC:
|
67
|
+
unsigned long offs0DC4; // 0DC4:
|
68
|
+
unsigned short phash_to_index[0x900]; // 0DC8: Array of indexes (one for each PAIR_HASH) to the "pair_hash_offsets" table
|
69
|
+
unsigned short phash_to_index_end; // 1FC8: End marker for "phash_to_index" table
|
70
|
+
char out_buff[0x802]; // 1FCA: Compressed data
|
71
|
+
unsigned char work_buff[0x2204]; // 27CC: Work buffer
|
72
|
+
// + DICT_OFFSET => Dictionary
|
73
|
+
// + UNCMP_OFFSET => Uncompressed data
|
74
|
+
unsigned short phash_offs[0x2204]; // 49D0: Table of offsets for each PAIR_HASH
|
75
|
+
} TCmpStruct;
|
76
|
+
|
77
|
+
#define CMP_BUFFER_SIZE sizeof(TCmpStruct) // Size of compression structure.
|
78
|
+
// Defined as 36312 in pkware header file
|
79
|
+
|
80
|
+
|
81
|
+
// Decompression structure
|
82
|
+
typedef struct
|
83
|
+
{
|
84
|
+
unsigned long offs0000; // 0000
|
85
|
+
unsigned long ctype; // 0004: Compression type (CMP_BINARY or CMP_ASCII)
|
86
|
+
unsigned long outputPos; // 0008: Position in output buffer
|
87
|
+
unsigned long dsize_bits; // 000C: Dict size (4, 5, 6 for 0x400, 0x800, 0x1000)
|
88
|
+
unsigned long dsize_mask; // 0010: Dict size bitmask (0x0F, 0x1F, 0x3F for 0x400, 0x800, 0x1000)
|
89
|
+
unsigned long bit_buff; // 0014: 16-bit buffer for processing input data
|
90
|
+
unsigned long extra_bits; // 0018: Number of extra (above 8) bits in bit buffer
|
91
|
+
unsigned int in_pos; // 001C: Position in in_buff
|
92
|
+
unsigned long in_bytes; // 0020: Number of bytes in input buffer
|
93
|
+
void * param; // 0024: Custom parameter
|
94
|
+
unsigned int (*read_buf)(char *buf, unsigned int *size, void *param); // Pointer to function that reads data from the input stream
|
95
|
+
void (*write_buf)(char *buf, unsigned int *size, void *param);// Pointer to function that writes data to the output stream
|
96
|
+
|
97
|
+
unsigned char out_buff[0x2204]; // 0030: Output circle buffer.
|
98
|
+
// 0x0000 - 0x0FFF: Previous uncompressed data, kept for repetitions
|
99
|
+
// 0x1000 - 0x1FFF: Currently decompressed data
|
100
|
+
// 0x2000 - 0x2203: Reserve space for the longest possible repetition
|
101
|
+
unsigned char in_buff[0x800]; // 2234: Buffer for data to be decompressed
|
102
|
+
unsigned char DistPosCodes[0x100]; // 2A34: Table of distance position codes
|
103
|
+
unsigned char LengthCodes[0x100]; // 2B34: Table of length codes
|
104
|
+
unsigned char offs2C34[0x100]; // 2C34: Buffer for
|
105
|
+
unsigned char offs2D34[0x100]; // 2D34: Buffer for
|
106
|
+
unsigned char offs2E34[0x80]; // 2E34: Buffer for
|
107
|
+
unsigned char offs2EB4[0x100]; // 2EB4: Buffer for
|
108
|
+
unsigned char ChBitsAsc[0x100]; // 2FB4: Buffer for
|
109
|
+
unsigned char DistBits[0x40]; // 30B4: Numbers of bytes to skip copied block length
|
110
|
+
unsigned char LenBits[0x10]; // 30F4: Numbers of bits for skip copied block length
|
111
|
+
unsigned char ExLenBits[0x10]; // 3104: Number of valid bits for copied block
|
112
|
+
unsigned short LenBase[0x10]; // 3114: Buffer for
|
113
|
+
} TDcmpStruct;
|
114
|
+
|
115
|
+
#define EXP_BUFFER_SIZE sizeof(TDcmpStruct) // Size of decompression structure
|
116
|
+
// Defined as 12596 in pkware headers
|
117
|
+
|
118
|
+
//-----------------------------------------------------------------------------
|
119
|
+
// Tables (in explode.c)
|
120
|
+
|
121
|
+
extern const unsigned char DistBits[0x40];
|
122
|
+
extern const unsigned char DistCode[0x40];
|
123
|
+
extern const unsigned char ExLenBits[0x10];
|
124
|
+
extern const unsigned short LenBase[0x10];
|
125
|
+
extern const unsigned char LenBits[0x10];
|
126
|
+
extern const unsigned char LenCode[0x10];
|
127
|
+
extern const unsigned char ChBitsAsc[0x100];
|
128
|
+
extern const unsigned short ChCodeAsc[0x100];
|
129
|
+
|
130
|
+
//-----------------------------------------------------------------------------
|
131
|
+
// Public functions
|
132
|
+
|
133
|
+
#ifdef __cplusplus
|
134
|
+
extern "C" {
|
135
|
+
#endif
|
136
|
+
|
137
|
+
unsigned int PKEXPORT implode(
|
138
|
+
unsigned int (*read_buf)(char *buf, unsigned int *size, void *param),
|
139
|
+
void (*write_buf)(char *buf, unsigned int *size, void *param),
|
140
|
+
char *work_buf,
|
141
|
+
void *param,
|
142
|
+
unsigned int *type,
|
143
|
+
unsigned int *dsize);
|
144
|
+
|
145
|
+
|
146
|
+
unsigned int PKEXPORT explode(
|
147
|
+
unsigned int (*read_buf)(char *buf, unsigned int *size, void *param),
|
148
|
+
void (*write_buf)(char *buf, unsigned int *size, void *param),
|
149
|
+
char *work_buf,
|
150
|
+
void *param);
|
151
|
+
|
152
|
+
// The original name "crc32" was changed to "crc32_pklib" due
|
153
|
+
// to compatibility with zlib
|
154
|
+
unsigned long PKEXPORT crc32_pklib(char *buffer, unsigned int *size, unsigned long *old_crc);
|
155
|
+
|
156
|
+
#ifdef __cplusplus
|
157
|
+
} // End of 'extern "C"' declaration
|
158
|
+
#endif
|
159
|
+
|
160
|
+
#endif // __PKLIB_H__
|
@@ -0,0 +1,15 @@
|
|
1
|
+
//{{NO_DEPENDENCIES}}
|
2
|
+
// Microsoft Visual C++ generated include file.
|
3
|
+
// Used by DllMain.rc
|
4
|
+
//
|
5
|
+
|
6
|
+
// Next default values for new objects
|
7
|
+
//
|
8
|
+
#ifdef APSTUDIO_INVOKED
|
9
|
+
#ifndef APSTUDIO_READONLY_SYMBOLS
|
10
|
+
#define _APS_NEXT_RESOURCE_VALUE 101
|
11
|
+
#define _APS_NEXT_COMMAND_VALUE 40001
|
12
|
+
#define _APS_NEXT_CONTROL_VALUE 1000
|
13
|
+
#define _APS_NEXT_SYMED_VALUE 101
|
14
|
+
#endif
|
15
|
+
#endif
|
@@ -0,0 +1,287 @@
|
|
1
|
+
/*****************************************************************************/
|
2
|
+
/* huffman.cpp Copyright (c) Ladislav Zezula 1998-2003 */
|
3
|
+
/*---------------------------------------------------------------------------*/
|
4
|
+
/* This module contains Huffmann (de)compression methods */
|
5
|
+
/* */
|
6
|
+
/* Authors : Ladislav Zezula (ladik.zezula.net) */
|
7
|
+
/* ShadowFlare (BlakFlare@hotmail.com) */
|
8
|
+
/* */
|
9
|
+
/*---------------------------------------------------------------------------*/
|
10
|
+
/* Date Ver Who Comment */
|
11
|
+
/* -------- ---- --- ------- */
|
12
|
+
/* xx.xx.xx 1.00 Lad The first version of dcmp.cpp */
|
13
|
+
/* 03.05.03 1.00 Lad Added compression methods */
|
14
|
+
/* 19.11.03 1.01 Dan Big endian handling */
|
15
|
+
/* 08.12.03 2.01 Dan High-memory handling (> 0x80000000) */
|
16
|
+
/*****************************************************************************/
|
17
|
+
|
18
|
+
#include <assert.h>
|
19
|
+
#include <string.h>
|
20
|
+
|
21
|
+
#include "sparse.h"
|
22
|
+
|
23
|
+
//-----------------------------------------------------------------------------
|
24
|
+
// Public functions
|
25
|
+
|
26
|
+
void CompressSparse(void * pvOutBuffer, int * pcbOutBuffer, void * pvInBuffer, int cbInBuffer)
|
27
|
+
{
|
28
|
+
unsigned char * pbOutBufferEnd = (unsigned char *)pvOutBuffer + *pcbOutBuffer;
|
29
|
+
unsigned char * pbInBufferEnd = (unsigned char *)pvInBuffer + cbInBuffer;
|
30
|
+
unsigned char * pbLastNonZero = (unsigned char *)pvInBuffer;
|
31
|
+
unsigned char * pbOutBuffer0 = (unsigned char *)pvOutBuffer;
|
32
|
+
unsigned char * pbInBuffPtr = (unsigned char *)pvInBuffer;
|
33
|
+
unsigned char * pbOutBuffer = (unsigned char *)pvOutBuffer;
|
34
|
+
unsigned char * pbInBuffer = (unsigned char *)pvInBuffer;
|
35
|
+
size_t NumberOfNonZeros;
|
36
|
+
size_t NumberOfZeros;
|
37
|
+
|
38
|
+
// There must be at least 4 bytes of free space in the output buffer now
|
39
|
+
if((pbInBuffer + 4) >= pbInBufferEnd)
|
40
|
+
return;
|
41
|
+
|
42
|
+
// Put the original data length (in little endian)
|
43
|
+
*pbOutBuffer++ = (unsigned char)(cbInBuffer >> 0x18);
|
44
|
+
*pbOutBuffer++ = (unsigned char)(cbInBuffer >> 0x10);
|
45
|
+
*pbOutBuffer++ = (unsigned char)(cbInBuffer >> 0x08);
|
46
|
+
*pbOutBuffer++ = (unsigned char)(cbInBuffer >> 0x00);
|
47
|
+
|
48
|
+
// If there is at least 3 bytes in the input buffer, do this loop
|
49
|
+
while(pbInBuffer < (pbInBufferEnd - 3))
|
50
|
+
{
|
51
|
+
// Reset the zero count and frontal pointer
|
52
|
+
pbLastNonZero = pbInBuffer;
|
53
|
+
pbInBuffPtr = pbInBuffer;
|
54
|
+
NumberOfZeros = 0;
|
55
|
+
|
56
|
+
if(pbInBuffPtr < pbInBufferEnd)
|
57
|
+
{
|
58
|
+
do
|
59
|
+
{
|
60
|
+
// Count number of zeros
|
61
|
+
if(*pbInBuffPtr == 0)
|
62
|
+
{
|
63
|
+
NumberOfZeros++;
|
64
|
+
}
|
65
|
+
else
|
66
|
+
{
|
67
|
+
// Were there at least 3 zeros before? If yes, we need to flush the data
|
68
|
+
if(NumberOfZeros >= 3)
|
69
|
+
break;
|
70
|
+
pbLastNonZero = pbInBuffPtr + 1;
|
71
|
+
NumberOfZeros = 0;
|
72
|
+
}
|
73
|
+
}
|
74
|
+
while(++pbInBuffPtr < pbInBufferEnd);
|
75
|
+
}
|
76
|
+
|
77
|
+
// Get number of nonzeros that we found so far and flush them
|
78
|
+
NumberOfNonZeros = pbLastNonZero - pbInBuffer;
|
79
|
+
if(NumberOfNonZeros != 0)
|
80
|
+
{
|
81
|
+
// Process blocks that are longer than 0x81 nonzero bytes
|
82
|
+
while(NumberOfNonZeros > 0x81)
|
83
|
+
{
|
84
|
+
// Verify if we still have enough space in output buffer
|
85
|
+
if((pbOutBuffer + 0x81) >= pbOutBufferEnd)
|
86
|
+
return;
|
87
|
+
|
88
|
+
// Put marker that means "0x80 of nonzeros"
|
89
|
+
*pbOutBuffer++ = 0xFF;
|
90
|
+
memcpy(pbOutBuffer, pbInBuffer, 0x80);
|
91
|
+
|
92
|
+
// Adjust counter of nonzeros and both pointers
|
93
|
+
NumberOfNonZeros -= 0x80;
|
94
|
+
pbOutBuffer += 0x80;
|
95
|
+
pbInBuffer += 0x80;
|
96
|
+
}
|
97
|
+
|
98
|
+
// BUGBUG: The following code will be triggered if the NumberOfNonZeros
|
99
|
+
// was 0x81 before. It will copy just one byte. This seems like a bug to me,
|
100
|
+
// but since I want StormLib to be exact like Blizzard code is, I will keep
|
101
|
+
// it that way here
|
102
|
+
if(NumberOfNonZeros > 0x80)
|
103
|
+
{
|
104
|
+
// Verify if we still have enough space in output buffer
|
105
|
+
if((pbOutBuffer + 2) >= pbOutBufferEnd)
|
106
|
+
return;
|
107
|
+
|
108
|
+
// Put marker that means "1 nonzero byte"
|
109
|
+
*pbOutBuffer++ = 0x80;
|
110
|
+
memcpy(pbOutBuffer, pbInBuffer, 1);
|
111
|
+
|
112
|
+
// Adjust counter of nonzeros and both pointers
|
113
|
+
NumberOfNonZeros--;
|
114
|
+
pbOutBuffer++;
|
115
|
+
pbInBuffer++;
|
116
|
+
}
|
117
|
+
|
118
|
+
// If there is 1 nonzero or more, put the block
|
119
|
+
if(NumberOfNonZeros >= 0x01)
|
120
|
+
{
|
121
|
+
// Verify if we still have enough space in output buffer
|
122
|
+
if((pbOutBuffer + NumberOfNonZeros + 1) >= pbOutBufferEnd)
|
123
|
+
return;
|
124
|
+
|
125
|
+
// Put marker that means "Several nonzero bytes"
|
126
|
+
*pbOutBuffer++ = (unsigned char)(0x80 | (NumberOfNonZeros - 1));
|
127
|
+
memcpy(pbOutBuffer, pbInBuffer, NumberOfNonZeros);
|
128
|
+
|
129
|
+
// Adjust pointers
|
130
|
+
pbOutBuffer += NumberOfNonZeros;
|
131
|
+
pbInBuffer += NumberOfNonZeros;
|
132
|
+
}
|
133
|
+
}
|
134
|
+
|
135
|
+
// Now flush all zero bytes
|
136
|
+
while(NumberOfZeros > 0x85)
|
137
|
+
{
|
138
|
+
// Do we have at least 2 bytes in the output buffer ?
|
139
|
+
if((pbOutBuffer + 1) >= pbOutBufferEnd)
|
140
|
+
return;
|
141
|
+
|
142
|
+
// Put marker that means "0x82 zeros"
|
143
|
+
*pbOutBuffer++ = 0x7F;
|
144
|
+
|
145
|
+
// Adjust zero counter and input pointer
|
146
|
+
NumberOfZeros -= 0x82;
|
147
|
+
pbInBuffer += 0x82;
|
148
|
+
}
|
149
|
+
|
150
|
+
// If we got more than 0x82 zeros, flush 3 of them now
|
151
|
+
if(NumberOfZeros > 0x82)
|
152
|
+
{
|
153
|
+
// Do we have at least 2 bytes in the output buffer ?
|
154
|
+
if((pbOutBuffer + 1) >= pbOutBufferEnd)
|
155
|
+
return;
|
156
|
+
|
157
|
+
// Put marker that means "0x03 zeros"
|
158
|
+
*pbOutBuffer++ = 0;
|
159
|
+
|
160
|
+
// Adjust zero counter and input pointer
|
161
|
+
NumberOfZeros -= 0x03;
|
162
|
+
pbInBuffer += 0x03;
|
163
|
+
}
|
164
|
+
|
165
|
+
// Is there at least three zeros ?
|
166
|
+
if(NumberOfZeros >= 3)
|
167
|
+
{
|
168
|
+
// Do we have at least 2 bytes in the output buffer ?
|
169
|
+
if((pbOutBuffer + 1) >= pbOutBufferEnd)
|
170
|
+
return;
|
171
|
+
|
172
|
+
// Put marker that means "Several zeros"
|
173
|
+
*pbOutBuffer++ = (unsigned char)(NumberOfZeros - 3);
|
174
|
+
|
175
|
+
// Adjust pointer
|
176
|
+
pbInBuffer += NumberOfZeros;
|
177
|
+
}
|
178
|
+
}
|
179
|
+
|
180
|
+
// Flush last three bytes
|
181
|
+
if(pbInBuffer < pbInBufferEnd)
|
182
|
+
{
|
183
|
+
pbInBuffPtr = pbInBuffer;
|
184
|
+
|
185
|
+
for(;;)
|
186
|
+
{
|
187
|
+
if(*pbInBuffPtr++ != 0)
|
188
|
+
{
|
189
|
+
// Get number of bytes remaining
|
190
|
+
NumberOfNonZeros = (pbInBufferEnd - pbInBuffer);
|
191
|
+
|
192
|
+
// Not enough space in the output buffer ==> exit
|
193
|
+
if((pbOutBuffer + NumberOfNonZeros + 1) >= pbOutBufferEnd)
|
194
|
+
return;
|
195
|
+
|
196
|
+
// Terminate with a marker that means "0x80 of nonzeros"
|
197
|
+
*pbOutBuffer++ = 0xFF;
|
198
|
+
memcpy(pbOutBuffer, pbInBuffer, NumberOfNonZeros);
|
199
|
+
|
200
|
+
// Adjust pointer
|
201
|
+
pbOutBuffer += NumberOfNonZeros;
|
202
|
+
break;
|
203
|
+
}
|
204
|
+
else
|
205
|
+
{
|
206
|
+
// Is there are more chars in the input buffer
|
207
|
+
if(pbInBuffPtr < pbInBufferEnd)
|
208
|
+
continue;
|
209
|
+
|
210
|
+
// If the compression will not compress it by even 1 byte, do nothing
|
211
|
+
if((pbOutBuffer + 1) >= pbOutBufferEnd)
|
212
|
+
return;
|
213
|
+
|
214
|
+
// Terminate with a chunk that means "0x82 of zeros"
|
215
|
+
*pbOutBuffer++ = 0x7F;
|
216
|
+
break;
|
217
|
+
}
|
218
|
+
}
|
219
|
+
}
|
220
|
+
|
221
|
+
// Out the length of the output buffer
|
222
|
+
*pcbOutBuffer = (int)(pbOutBuffer - pbOutBuffer0);
|
223
|
+
}
|
224
|
+
|
225
|
+
int DecompressSparse(void * pvOutBuffer, int * pcbOutBuffer, void * pvInBuffer, int cbInBuffer)
|
226
|
+
{
|
227
|
+
unsigned char * pbInBufferEnd = (unsigned char *)pvInBuffer + cbInBuffer;
|
228
|
+
unsigned char * pbOutBuffer = (unsigned char *)pvOutBuffer;
|
229
|
+
unsigned char * pbInBuffer = (unsigned char *)pvInBuffer;
|
230
|
+
unsigned int cbChunkSize;
|
231
|
+
unsigned int cbOutBuffer = 0;
|
232
|
+
unsigned int OneByte;
|
233
|
+
|
234
|
+
// Don't decompress anything that is shorter than 5 bytes
|
235
|
+
if(cbInBuffer < 5)
|
236
|
+
return 0;
|
237
|
+
|
238
|
+
// Get the 32-bits from the input stream
|
239
|
+
OneByte = *pbInBuffer++;
|
240
|
+
cbOutBuffer |= (OneByte << 0x18);
|
241
|
+
OneByte = *pbInBuffer++;
|
242
|
+
cbOutBuffer |= (OneByte << 0x10);
|
243
|
+
OneByte = *pbInBuffer++;
|
244
|
+
cbOutBuffer |= (OneByte << 0x08);
|
245
|
+
OneByte = *pbInBuffer++;
|
246
|
+
cbOutBuffer |= (OneByte << 0x00);
|
247
|
+
|
248
|
+
// Verify the size of the stream against the output buffer size
|
249
|
+
if(cbOutBuffer > (unsigned int)*pcbOutBuffer)
|
250
|
+
return 0;
|
251
|
+
|
252
|
+
// Put the output size to the buffer
|
253
|
+
*pcbOutBuffer = cbOutBuffer;
|
254
|
+
|
255
|
+
// Process the input buffer
|
256
|
+
while(pbInBuffer < pbInBufferEnd)
|
257
|
+
{
|
258
|
+
// Get (next) byte from the stream
|
259
|
+
OneByte = *pbInBuffer++;
|
260
|
+
|
261
|
+
// If highest bit, it means that that normal data follow
|
262
|
+
if(OneByte & 0x80)
|
263
|
+
{
|
264
|
+
// Check the length of one chunk. Check for overflows
|
265
|
+
cbChunkSize = (OneByte & 0x7F) + 1;
|
266
|
+
if((pbInBuffer + cbChunkSize) > pbInBufferEnd)
|
267
|
+
return 0;
|
268
|
+
|
269
|
+
// Copy the chunk. Make sure that the buffer won't overflow
|
270
|
+
cbChunkSize = (cbChunkSize < cbOutBuffer) ? cbChunkSize : cbOutBuffer;
|
271
|
+
memcpy(pbOutBuffer, pbInBuffer, cbChunkSize);
|
272
|
+
pbInBuffer += cbChunkSize;
|
273
|
+
}
|
274
|
+
else
|
275
|
+
{
|
276
|
+
cbChunkSize = (OneByte & 0x7F) + 3;
|
277
|
+
cbChunkSize = (cbChunkSize < cbOutBuffer) ? cbChunkSize : cbOutBuffer;
|
278
|
+
memset(pbOutBuffer, 0, cbChunkSize);
|
279
|
+
}
|
280
|
+
|
281
|
+
// Increment output buffer pointer
|
282
|
+
pbOutBuffer += cbChunkSize;
|
283
|
+
cbOutBuffer -= cbChunkSize;
|
284
|
+
}
|
285
|
+
|
286
|
+
return 1;
|
287
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/*****************************************************************************/
|
2
|
+
/* sparse.h Copyright (c) Ladislav Zezula 2010 */
|
3
|
+
/*---------------------------------------------------------------------------*/
|
4
|
+
/* implementation of Sparse compression, used in Starcraft II */
|
5
|
+
/*---------------------------------------------------------------------------*/
|
6
|
+
/* Date Ver Who Comment */
|
7
|
+
/* -------- ---- --- ------- */
|
8
|
+
/* 05.03.10 1.00 Lad The first version of sparse.h */
|
9
|
+
/*****************************************************************************/
|
10
|
+
|
11
|
+
#ifndef __SPARSE_H__
|
12
|
+
#define __SPARSE_H__
|
13
|
+
|
14
|
+
void CompressSparse(void * pvOutBuffer, int * pcbOutBuffer, void * pvInBuffer, int cbInBuffer);
|
15
|
+
int DecompressSparse(void * pvOutBuffer, int * pcbOutBuffer, void * pvInBuffer, int cbInBuffer);
|
16
|
+
|
17
|
+
#endif // __SPARSE_H__
|
@@ -0,0 +1,26 @@
|
|
1
|
+
// This is a source file for WDK build of StormLib
|
2
|
+
// It is copied to the root folder during the build process
|
3
|
+
|
4
|
+
#include "src\adpcm\adpcm.cpp"
|
5
|
+
#include "src\huffman\huff.cpp"
|
6
|
+
#include "src\sparse\sparse.cpp"
|
7
|
+
|
8
|
+
#include "src\FileStream.cpp"
|
9
|
+
#include "src\SBaseCommon.cpp"
|
10
|
+
#include "src\SBaseDumpData.cpp"
|
11
|
+
#include "src\SBaseFileTable.cpp"
|
12
|
+
#include "src\SBaseSubTypes.cpp"
|
13
|
+
#include "src\SCompression.cpp"
|
14
|
+
#include "src\SFileAddFile.cpp"
|
15
|
+
#include "src\SFileAttributes.cpp"
|
16
|
+
#include "src\SFileCompactArchive.cpp"
|
17
|
+
#include "src\SFileCreateArchive.cpp"
|
18
|
+
#include "src\SFileExtractFile.cpp"
|
19
|
+
#include "src\SFileFindFile.cpp"
|
20
|
+
#include "src\SFileGetFileInfo.cpp"
|
21
|
+
#include "src\SFileListFile.cpp"
|
22
|
+
#include "src\SFileOpenArchive.cpp"
|
23
|
+
#include "src\SFileOpenFileEx.cpp"
|
24
|
+
#include "src\SFilePatchArchives.cpp"
|
25
|
+
#include "src\SFileReadFile.cpp"
|
26
|
+
#include "src\SFileVerify.cpp"
|
@@ -0,0 +1,13 @@
|
|
1
|
+
// This is a source file for WDK build of StormLib
|
2
|
+
// It is copied to the root folder during the build process
|
3
|
+
|
4
|
+
#pragma warning(disable: 4242) // '=' : conversion from 'Int32' to 'UChar', possible loss of data
|
5
|
+
#pragma warning(disable: 4244) // '=' : conversion from '__int64' to 'Int32', possible loss of data
|
6
|
+
|
7
|
+
#include "src\bzip2\blocksort.c"
|
8
|
+
#include "src\bzip2\bzlib.c"
|
9
|
+
#include "src\bzip2\compress.c"
|
10
|
+
#include "src\bzip2\crctable.c"
|
11
|
+
#include "src\bzip2\decompress.c"
|
12
|
+
#include "src\bzip2\huffman.c"
|
13
|
+
#include "src\bzip2\randtable.c"
|
@@ -0,0 +1,8 @@
|
|
1
|
+
// This is a source file for WDK build of StormLib
|
2
|
+
// It is copied to the root folder during the build process
|
3
|
+
|
4
|
+
#include "src\lzma\C\LzFind.c"
|
5
|
+
#include "src\lzma\C\LzFindMt.c"
|
6
|
+
#include "src\lzma\C\LzmaDec.c"
|
7
|
+
#include "src\lzma\C\LzmaEnc.c"
|
8
|
+
#include "src\lzma\C\Threads.c"
|
@@ -0,0 +1,82 @@
|
|
1
|
+
// This is a source file for WDK build of StormLib
|
2
|
+
// It is copied to the root folder during the build process
|
3
|
+
|
4
|
+
#pragma warning(disable:4242) // der_decode_ia5_string.c(84) : warning C4242: '=' : conversion from 'int' to 'unsigned char', possible loss of data
|
5
|
+
|
6
|
+
#include "src\libtomcrypt\src\hashes\hash_memory.c"
|
7
|
+
#include "src\libtomcrypt\src\hashes\md5.c"
|
8
|
+
#include "src\libtomcrypt\src\hashes\sha1.c"
|
9
|
+
#include "src\libtomcrypt\src\math\multi.c"
|
10
|
+
#include "src\libtomcrypt\src\math\rand_prime.c"
|
11
|
+
#include "src\libtomcrypt\src\misc\base64_decode.c"
|
12
|
+
#include "src\libtomcrypt\src\misc\crypt_argchk.c"
|
13
|
+
#include "src\libtomcrypt\src\misc\crypt_find_hash.c"
|
14
|
+
#include "src\libtomcrypt\src\misc\crypt_find_prng.c"
|
15
|
+
#include "src\libtomcrypt\src\misc\crypt_hash_descriptor.c"
|
16
|
+
#include "src\libtomcrypt\src\misc\crypt_hash_is_valid.c"
|
17
|
+
#include "src\libtomcrypt\src\misc\crypt_libc.c"
|
18
|
+
#include "src\libtomcrypt\src\misc\crypt_ltc_mp_descriptor.c"
|
19
|
+
#include "src\libtomcrypt\src\misc\crypt_prng_descriptor.c"
|
20
|
+
#include "src\libtomcrypt\src\misc\crypt_prng_is_valid.c"
|
21
|
+
#include "src\libtomcrypt\src\misc\crypt_register_hash.c"
|
22
|
+
#include "src\libtomcrypt\src\misc\crypt_register_prng.c"
|
23
|
+
#include "src\libtomcrypt\src\misc\zeromem.c"
|
24
|
+
#include "src\libtomcrypt\src\pk\asn1\der_decode_bit_string.c"
|
25
|
+
#include "src\libtomcrypt\src\pk\asn1\der_decode_boolean.c"
|
26
|
+
#include "src\libtomcrypt\src\pk\asn1\der_decode_choice.c"
|
27
|
+
#include "src\libtomcrypt\src\pk\asn1\der_decode_ia5_string.c"
|
28
|
+
#include "src\libtomcrypt\src\pk\asn1\der_decode_integer.c"
|
29
|
+
#include "src\libtomcrypt\src\pk\asn1\der_decode_object_identifier.c"
|
30
|
+
#include "src\libtomcrypt\src\pk\asn1\der_decode_octet_string.c"
|
31
|
+
#include "src\libtomcrypt\src\pk\asn1\der_decode_printable_string.c"
|
32
|
+
#include "src\libtomcrypt\src\pk\asn1\der_decode_sequence_ex.c"
|
33
|
+
#include "src\libtomcrypt\src\pk\asn1\der_decode_sequence_flexi.c"
|
34
|
+
#include "src\libtomcrypt\src\pk\asn1\der_decode_sequence_multi.c"
|
35
|
+
#include "src\libtomcrypt\src\pk\asn1\der_decode_short_integer.c"
|
36
|
+
#include "src\libtomcrypt\src\pk\asn1\der_decode_utctime.c"
|
37
|
+
#include "src\libtomcrypt\src\pk\asn1\der_decode_utf8_string.c"
|
38
|
+
#include "src\libtomcrypt\src\pk\asn1\der_encode_bit_string.c"
|
39
|
+
#include "src\libtomcrypt\src\pk\asn1\der_encode_boolean.c"
|
40
|
+
#include "src\libtomcrypt\src\pk\asn1\der_encode_ia5_string.c"
|
41
|
+
#include "src\libtomcrypt\src\pk\asn1\der_encode_integer.c"
|
42
|
+
#include "src\libtomcrypt\src\pk\asn1\der_encode_object_identifier.c"
|
43
|
+
#include "src\libtomcrypt\src\pk\asn1\der_encode_octet_string.c"
|
44
|
+
#include "src\libtomcrypt\src\pk\asn1\der_encode_printable_string.c"
|
45
|
+
#include "src\libtomcrypt\src\pk\asn1\der_encode_sequence_ex.c"
|
46
|
+
#include "src\libtomcrypt\src\pk\asn1\der_encode_sequence_multi.c"
|
47
|
+
#include "src\libtomcrypt\src\pk\asn1\der_encode_set.c"
|
48
|
+
#include "src\libtomcrypt\src\pk\asn1\der_encode_setof.c"
|
49
|
+
#include "src\libtomcrypt\src\pk\asn1\der_encode_short_integer.c"
|
50
|
+
#include "src\libtomcrypt\src\pk\asn1\der_encode_utctime.c"
|
51
|
+
#include "src\libtomcrypt\src\pk\asn1\der_encode_utf8_string.c"
|
52
|
+
#include "src\libtomcrypt\src\pk\asn1\der_length_bit_string.c"
|
53
|
+
#include "src\libtomcrypt\src\pk\asn1\der_length_boolean.c"
|
54
|
+
#include "src\libtomcrypt\src\pk\asn1\der_length_ia5_string.c"
|
55
|
+
#include "src\libtomcrypt\src\pk\asn1\der_length_integer.c"
|
56
|
+
#include "src\libtomcrypt\src\pk\asn1\der_length_object_identifier.c"
|
57
|
+
#include "src\libtomcrypt\src\pk\asn1\der_length_octet_string.c"
|
58
|
+
#include "src\libtomcrypt\src\pk\asn1\der_length_printable_string.c"
|
59
|
+
#include "src\libtomcrypt\src\pk\asn1\der_length_sequence.c"
|
60
|
+
#include "src\libtomcrypt\src\pk\asn1\der_length_short_integer.c"
|
61
|
+
#include "src\libtomcrypt\src\pk\asn1\der_length_utctime.c"
|
62
|
+
#include "src\libtomcrypt\src\pk\asn1\der_length_utf8_string.c"
|
63
|
+
#include "src\libtomcrypt\src\pk\asn1\der_sequence_free.c"
|
64
|
+
#include "src\libtomcrypt\src\pk\ecc\ltc_ecc_map.c"
|
65
|
+
#include "src\libtomcrypt\src\pk\ecc\ltc_ecc_mul2add.c"
|
66
|
+
#include "src\libtomcrypt\src\pk\ecc\ltc_ecc_mulmod.c"
|
67
|
+
#include "src\libtomcrypt\src\pk\ecc\ltc_ecc_points.c"
|
68
|
+
#include "src\libtomcrypt\src\pk\ecc\ltc_ecc_projective_add_point.c"
|
69
|
+
#include "src\libtomcrypt\src\pk\ecc\ltc_ecc_projective_dbl_point.c"
|
70
|
+
#include "src\libtomcrypt\src\pk\pkcs1\pkcs_1_mgf1.c"
|
71
|
+
#include "src\libtomcrypt\src\pk\pkcs1\pkcs_1_oaep_decode.c"
|
72
|
+
#include "src\libtomcrypt\src\pk\pkcs1\pkcs_1_pss_decode.c"
|
73
|
+
#include "src\libtomcrypt\src\pk\pkcs1\pkcs_1_pss_encode.c"
|
74
|
+
#include "src\libtomcrypt\src\pk\pkcs1\pkcs_1_v1_5_decode.c"
|
75
|
+
#include "src\libtomcrypt\src\pk\pkcs1\pkcs_1_v1_5_encode.c"
|
76
|
+
#include "src\libtomcrypt\src\pk\rsa\rsa_exptmod.c"
|
77
|
+
#include "src\libtomcrypt\src\pk\rsa\rsa_free.c"
|
78
|
+
#include "src\libtomcrypt\src\pk\rsa\rsa_import.c"
|
79
|
+
#include "src\libtomcrypt\src\pk\rsa\rsa_make_key.c"
|
80
|
+
#include "src\libtomcrypt\src\pk\rsa\rsa_sign_hash.c"
|
81
|
+
#include "src\libtomcrypt\src\pk\rsa\rsa_verify_hash.c"
|
82
|
+
#include "src\libtomcrypt\src\pk\rsa\rsa_verify_simple.c"
|