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,284 @@
|
|
1
|
+
#include "tommath.h"
|
2
|
+
#ifdef BN_MP_TOOM_MUL_C
|
3
|
+
/* LibTomMath, multiple-precision integer library -- Tom St Denis
|
4
|
+
*
|
5
|
+
* LibTomMath is a library that provides multiple-precision
|
6
|
+
* integer arithmetic as well as number theoretic functionality.
|
7
|
+
*
|
8
|
+
* The library was designed directly after the MPI library by
|
9
|
+
* Michael Fromberger but has been written from scratch with
|
10
|
+
* additional optimizations in place.
|
11
|
+
*
|
12
|
+
* The library is free for all purposes without any express
|
13
|
+
* guarantee it works.
|
14
|
+
*
|
15
|
+
* Tom St Denis, tomstdenis@gmail.com, http://libtom.org
|
16
|
+
*/
|
17
|
+
|
18
|
+
/* multiplication using the Toom-Cook 3-way algorithm
|
19
|
+
*
|
20
|
+
* Much more complicated than Karatsuba but has a lower
|
21
|
+
* asymptotic running time of O(N**1.464). This algorithm is
|
22
|
+
* only particularly useful on VERY large inputs
|
23
|
+
* (we're talking 1000s of digits here...).
|
24
|
+
*/
|
25
|
+
int mp_toom_mul(mp_int *a, mp_int *b, mp_int *c)
|
26
|
+
{
|
27
|
+
mp_int w0, w1, w2, w3, w4, tmp1, tmp2, a0, a1, a2, b0, b1, b2;
|
28
|
+
int res, B;
|
29
|
+
|
30
|
+
/* init temps */
|
31
|
+
if ((res = mp_init_multi(&w0, &w1, &w2, &w3, &w4,
|
32
|
+
&a0, &a1, &a2, &b0, &b1,
|
33
|
+
&b2, &tmp1, &tmp2, NULL)) != MP_OKAY) {
|
34
|
+
return res;
|
35
|
+
}
|
36
|
+
|
37
|
+
/* B */
|
38
|
+
B = MIN(a->used, b->used) / 3;
|
39
|
+
|
40
|
+
/* a = a2 * B**2 + a1 * B + a0 */
|
41
|
+
if ((res = mp_mod_2d(a, DIGIT_BIT * B, &a0)) != MP_OKAY) {
|
42
|
+
goto ERR;
|
43
|
+
}
|
44
|
+
|
45
|
+
if ((res = mp_copy(a, &a1)) != MP_OKAY) {
|
46
|
+
goto ERR;
|
47
|
+
}
|
48
|
+
mp_rshd(&a1, B);
|
49
|
+
mp_mod_2d(&a1, DIGIT_BIT * B, &a1);
|
50
|
+
|
51
|
+
if ((res = mp_copy(a, &a2)) != MP_OKAY) {
|
52
|
+
goto ERR;
|
53
|
+
}
|
54
|
+
mp_rshd(&a2, B*2);
|
55
|
+
|
56
|
+
/* b = b2 * B**2 + b1 * B + b0 */
|
57
|
+
if ((res = mp_mod_2d(b, DIGIT_BIT * B, &b0)) != MP_OKAY) {
|
58
|
+
goto ERR;
|
59
|
+
}
|
60
|
+
|
61
|
+
if ((res = mp_copy(b, &b1)) != MP_OKAY) {
|
62
|
+
goto ERR;
|
63
|
+
}
|
64
|
+
mp_rshd(&b1, B);
|
65
|
+
mp_mod_2d(&b1, DIGIT_BIT * B, &b1);
|
66
|
+
|
67
|
+
if ((res = mp_copy(b, &b2)) != MP_OKAY) {
|
68
|
+
goto ERR;
|
69
|
+
}
|
70
|
+
mp_rshd(&b2, B*2);
|
71
|
+
|
72
|
+
/* w0 = a0*b0 */
|
73
|
+
if ((res = mp_mul(&a0, &b0, &w0)) != MP_OKAY) {
|
74
|
+
goto ERR;
|
75
|
+
}
|
76
|
+
|
77
|
+
/* w4 = a2 * b2 */
|
78
|
+
if ((res = mp_mul(&a2, &b2, &w4)) != MP_OKAY) {
|
79
|
+
goto ERR;
|
80
|
+
}
|
81
|
+
|
82
|
+
/* w1 = (a2 + 2(a1 + 2a0))(b2 + 2(b1 + 2b0)) */
|
83
|
+
if ((res = mp_mul_2(&a0, &tmp1)) != MP_OKAY) {
|
84
|
+
goto ERR;
|
85
|
+
}
|
86
|
+
if ((res = mp_add(&tmp1, &a1, &tmp1)) != MP_OKAY) {
|
87
|
+
goto ERR;
|
88
|
+
}
|
89
|
+
if ((res = mp_mul_2(&tmp1, &tmp1)) != MP_OKAY) {
|
90
|
+
goto ERR;
|
91
|
+
}
|
92
|
+
if ((res = mp_add(&tmp1, &a2, &tmp1)) != MP_OKAY) {
|
93
|
+
goto ERR;
|
94
|
+
}
|
95
|
+
|
96
|
+
if ((res = mp_mul_2(&b0, &tmp2)) != MP_OKAY) {
|
97
|
+
goto ERR;
|
98
|
+
}
|
99
|
+
if ((res = mp_add(&tmp2, &b1, &tmp2)) != MP_OKAY) {
|
100
|
+
goto ERR;
|
101
|
+
}
|
102
|
+
if ((res = mp_mul_2(&tmp2, &tmp2)) != MP_OKAY) {
|
103
|
+
goto ERR;
|
104
|
+
}
|
105
|
+
if ((res = mp_add(&tmp2, &b2, &tmp2)) != MP_OKAY) {
|
106
|
+
goto ERR;
|
107
|
+
}
|
108
|
+
|
109
|
+
if ((res = mp_mul(&tmp1, &tmp2, &w1)) != MP_OKAY) {
|
110
|
+
goto ERR;
|
111
|
+
}
|
112
|
+
|
113
|
+
/* w3 = (a0 + 2(a1 + 2a2))(b0 + 2(b1 + 2b2)) */
|
114
|
+
if ((res = mp_mul_2(&a2, &tmp1)) != MP_OKAY) {
|
115
|
+
goto ERR;
|
116
|
+
}
|
117
|
+
if ((res = mp_add(&tmp1, &a1, &tmp1)) != MP_OKAY) {
|
118
|
+
goto ERR;
|
119
|
+
}
|
120
|
+
if ((res = mp_mul_2(&tmp1, &tmp1)) != MP_OKAY) {
|
121
|
+
goto ERR;
|
122
|
+
}
|
123
|
+
if ((res = mp_add(&tmp1, &a0, &tmp1)) != MP_OKAY) {
|
124
|
+
goto ERR;
|
125
|
+
}
|
126
|
+
|
127
|
+
if ((res = mp_mul_2(&b2, &tmp2)) != MP_OKAY) {
|
128
|
+
goto ERR;
|
129
|
+
}
|
130
|
+
if ((res = mp_add(&tmp2, &b1, &tmp2)) != MP_OKAY) {
|
131
|
+
goto ERR;
|
132
|
+
}
|
133
|
+
if ((res = mp_mul_2(&tmp2, &tmp2)) != MP_OKAY) {
|
134
|
+
goto ERR;
|
135
|
+
}
|
136
|
+
if ((res = mp_add(&tmp2, &b0, &tmp2)) != MP_OKAY) {
|
137
|
+
goto ERR;
|
138
|
+
}
|
139
|
+
|
140
|
+
if ((res = mp_mul(&tmp1, &tmp2, &w3)) != MP_OKAY) {
|
141
|
+
goto ERR;
|
142
|
+
}
|
143
|
+
|
144
|
+
|
145
|
+
/* w2 = (a2 + a1 + a0)(b2 + b1 + b0) */
|
146
|
+
if ((res = mp_add(&a2, &a1, &tmp1)) != MP_OKAY) {
|
147
|
+
goto ERR;
|
148
|
+
}
|
149
|
+
if ((res = mp_add(&tmp1, &a0, &tmp1)) != MP_OKAY) {
|
150
|
+
goto ERR;
|
151
|
+
}
|
152
|
+
if ((res = mp_add(&b2, &b1, &tmp2)) != MP_OKAY) {
|
153
|
+
goto ERR;
|
154
|
+
}
|
155
|
+
if ((res = mp_add(&tmp2, &b0, &tmp2)) != MP_OKAY) {
|
156
|
+
goto ERR;
|
157
|
+
}
|
158
|
+
if ((res = mp_mul(&tmp1, &tmp2, &w2)) != MP_OKAY) {
|
159
|
+
goto ERR;
|
160
|
+
}
|
161
|
+
|
162
|
+
/* now solve the matrix
|
163
|
+
|
164
|
+
0 0 0 0 1
|
165
|
+
1 2 4 8 16
|
166
|
+
1 1 1 1 1
|
167
|
+
16 8 4 2 1
|
168
|
+
1 0 0 0 0
|
169
|
+
|
170
|
+
using 12 subtractions, 4 shifts,
|
171
|
+
2 small divisions and 1 small multiplication
|
172
|
+
*/
|
173
|
+
|
174
|
+
/* r1 - r4 */
|
175
|
+
if ((res = mp_sub(&w1, &w4, &w1)) != MP_OKAY) {
|
176
|
+
goto ERR;
|
177
|
+
}
|
178
|
+
/* r3 - r0 */
|
179
|
+
if ((res = mp_sub(&w3, &w0, &w3)) != MP_OKAY) {
|
180
|
+
goto ERR;
|
181
|
+
}
|
182
|
+
/* r1/2 */
|
183
|
+
if ((res = mp_div_2(&w1, &w1)) != MP_OKAY) {
|
184
|
+
goto ERR;
|
185
|
+
}
|
186
|
+
/* r3/2 */
|
187
|
+
if ((res = mp_div_2(&w3, &w3)) != MP_OKAY) {
|
188
|
+
goto ERR;
|
189
|
+
}
|
190
|
+
/* r2 - r0 - r4 */
|
191
|
+
if ((res = mp_sub(&w2, &w0, &w2)) != MP_OKAY) {
|
192
|
+
goto ERR;
|
193
|
+
}
|
194
|
+
if ((res = mp_sub(&w2, &w4, &w2)) != MP_OKAY) {
|
195
|
+
goto ERR;
|
196
|
+
}
|
197
|
+
/* r1 - r2 */
|
198
|
+
if ((res = mp_sub(&w1, &w2, &w1)) != MP_OKAY) {
|
199
|
+
goto ERR;
|
200
|
+
}
|
201
|
+
/* r3 - r2 */
|
202
|
+
if ((res = mp_sub(&w3, &w2, &w3)) != MP_OKAY) {
|
203
|
+
goto ERR;
|
204
|
+
}
|
205
|
+
/* r1 - 8r0 */
|
206
|
+
if ((res = mp_mul_2d(&w0, 3, &tmp1)) != MP_OKAY) {
|
207
|
+
goto ERR;
|
208
|
+
}
|
209
|
+
if ((res = mp_sub(&w1, &tmp1, &w1)) != MP_OKAY) {
|
210
|
+
goto ERR;
|
211
|
+
}
|
212
|
+
/* r3 - 8r4 */
|
213
|
+
if ((res = mp_mul_2d(&w4, 3, &tmp1)) != MP_OKAY) {
|
214
|
+
goto ERR;
|
215
|
+
}
|
216
|
+
if ((res = mp_sub(&w3, &tmp1, &w3)) != MP_OKAY) {
|
217
|
+
goto ERR;
|
218
|
+
}
|
219
|
+
/* 3r2 - r1 - r3 */
|
220
|
+
if ((res = mp_mul_d(&w2, 3, &w2)) != MP_OKAY) {
|
221
|
+
goto ERR;
|
222
|
+
}
|
223
|
+
if ((res = mp_sub(&w2, &w1, &w2)) != MP_OKAY) {
|
224
|
+
goto ERR;
|
225
|
+
}
|
226
|
+
if ((res = mp_sub(&w2, &w3, &w2)) != MP_OKAY) {
|
227
|
+
goto ERR;
|
228
|
+
}
|
229
|
+
/* r1 - r2 */
|
230
|
+
if ((res = mp_sub(&w1, &w2, &w1)) != MP_OKAY) {
|
231
|
+
goto ERR;
|
232
|
+
}
|
233
|
+
/* r3 - r2 */
|
234
|
+
if ((res = mp_sub(&w3, &w2, &w3)) != MP_OKAY) {
|
235
|
+
goto ERR;
|
236
|
+
}
|
237
|
+
/* r1/3 */
|
238
|
+
if ((res = mp_div_3(&w1, &w1, NULL)) != MP_OKAY) {
|
239
|
+
goto ERR;
|
240
|
+
}
|
241
|
+
/* r3/3 */
|
242
|
+
if ((res = mp_div_3(&w3, &w3, NULL)) != MP_OKAY) {
|
243
|
+
goto ERR;
|
244
|
+
}
|
245
|
+
|
246
|
+
/* at this point shift W[n] by B*n */
|
247
|
+
if ((res = mp_lshd(&w1, 1*B)) != MP_OKAY) {
|
248
|
+
goto ERR;
|
249
|
+
}
|
250
|
+
if ((res = mp_lshd(&w2, 2*B)) != MP_OKAY) {
|
251
|
+
goto ERR;
|
252
|
+
}
|
253
|
+
if ((res = mp_lshd(&w3, 3*B)) != MP_OKAY) {
|
254
|
+
goto ERR;
|
255
|
+
}
|
256
|
+
if ((res = mp_lshd(&w4, 4*B)) != MP_OKAY) {
|
257
|
+
goto ERR;
|
258
|
+
}
|
259
|
+
|
260
|
+
if ((res = mp_add(&w0, &w1, c)) != MP_OKAY) {
|
261
|
+
goto ERR;
|
262
|
+
}
|
263
|
+
if ((res = mp_add(&w2, &w3, &tmp1)) != MP_OKAY) {
|
264
|
+
goto ERR;
|
265
|
+
}
|
266
|
+
if ((res = mp_add(&w4, &tmp1, &tmp1)) != MP_OKAY) {
|
267
|
+
goto ERR;
|
268
|
+
}
|
269
|
+
if ((res = mp_add(&tmp1, c, c)) != MP_OKAY) {
|
270
|
+
goto ERR;
|
271
|
+
}
|
272
|
+
|
273
|
+
ERR:
|
274
|
+
mp_clear_multi(&w0, &w1, &w2, &w3, &w4,
|
275
|
+
&a0, &a1, &a2, &b0, &b1,
|
276
|
+
&b2, &tmp1, &tmp2, NULL);
|
277
|
+
return res;
|
278
|
+
}
|
279
|
+
|
280
|
+
#endif
|
281
|
+
|
282
|
+
/* $Source: /cvs/libtom/libtommath/bn_mp_toom_mul.c,v $ */
|
283
|
+
/* $Revision: 1.4 $ */
|
284
|
+
/* $Date: 2006/12/28 01:25:13 $ */
|
@@ -0,0 +1,226 @@
|
|
1
|
+
#include "tommath.h"
|
2
|
+
#ifdef BN_MP_TOOM_SQR_C
|
3
|
+
/* LibTomMath, multiple-precision integer library -- Tom St Denis
|
4
|
+
*
|
5
|
+
* LibTomMath is a library that provides multiple-precision
|
6
|
+
* integer arithmetic as well as number theoretic functionality.
|
7
|
+
*
|
8
|
+
* The library was designed directly after the MPI library by
|
9
|
+
* Michael Fromberger but has been written from scratch with
|
10
|
+
* additional optimizations in place.
|
11
|
+
*
|
12
|
+
* The library is free for all purposes without any express
|
13
|
+
* guarantee it works.
|
14
|
+
*
|
15
|
+
* Tom St Denis, tomstdenis@gmail.com, http://libtom.org
|
16
|
+
*/
|
17
|
+
|
18
|
+
/* squaring using Toom-Cook 3-way algorithm */
|
19
|
+
int
|
20
|
+
mp_toom_sqr(mp_int *a, mp_int *b)
|
21
|
+
{
|
22
|
+
mp_int w0, w1, w2, w3, w4, tmp1, a0, a1, a2;
|
23
|
+
int res, B;
|
24
|
+
|
25
|
+
/* init temps */
|
26
|
+
if ((res = mp_init_multi(&w0, &w1, &w2, &w3, &w4, &a0, &a1, &a2, &tmp1, NULL)) != MP_OKAY) {
|
27
|
+
return res;
|
28
|
+
}
|
29
|
+
|
30
|
+
/* B */
|
31
|
+
B = a->used / 3;
|
32
|
+
|
33
|
+
/* a = a2 * B**2 + a1 * B + a0 */
|
34
|
+
if ((res = mp_mod_2d(a, DIGIT_BIT * B, &a0)) != MP_OKAY) {
|
35
|
+
goto ERR;
|
36
|
+
}
|
37
|
+
|
38
|
+
if ((res = mp_copy(a, &a1)) != MP_OKAY) {
|
39
|
+
goto ERR;
|
40
|
+
}
|
41
|
+
mp_rshd(&a1, B);
|
42
|
+
mp_mod_2d(&a1, DIGIT_BIT * B, &a1);
|
43
|
+
|
44
|
+
if ((res = mp_copy(a, &a2)) != MP_OKAY) {
|
45
|
+
goto ERR;
|
46
|
+
}
|
47
|
+
mp_rshd(&a2, B*2);
|
48
|
+
|
49
|
+
/* w0 = a0*a0 */
|
50
|
+
if ((res = mp_sqr(&a0, &w0)) != MP_OKAY) {
|
51
|
+
goto ERR;
|
52
|
+
}
|
53
|
+
|
54
|
+
/* w4 = a2 * a2 */
|
55
|
+
if ((res = mp_sqr(&a2, &w4)) != MP_OKAY) {
|
56
|
+
goto ERR;
|
57
|
+
}
|
58
|
+
|
59
|
+
/* w1 = (a2 + 2(a1 + 2a0))**2 */
|
60
|
+
if ((res = mp_mul_2(&a0, &tmp1)) != MP_OKAY) {
|
61
|
+
goto ERR;
|
62
|
+
}
|
63
|
+
if ((res = mp_add(&tmp1, &a1, &tmp1)) != MP_OKAY) {
|
64
|
+
goto ERR;
|
65
|
+
}
|
66
|
+
if ((res = mp_mul_2(&tmp1, &tmp1)) != MP_OKAY) {
|
67
|
+
goto ERR;
|
68
|
+
}
|
69
|
+
if ((res = mp_add(&tmp1, &a2, &tmp1)) != MP_OKAY) {
|
70
|
+
goto ERR;
|
71
|
+
}
|
72
|
+
|
73
|
+
if ((res = mp_sqr(&tmp1, &w1)) != MP_OKAY) {
|
74
|
+
goto ERR;
|
75
|
+
}
|
76
|
+
|
77
|
+
/* w3 = (a0 + 2(a1 + 2a2))**2 */
|
78
|
+
if ((res = mp_mul_2(&a2, &tmp1)) != MP_OKAY) {
|
79
|
+
goto ERR;
|
80
|
+
}
|
81
|
+
if ((res = mp_add(&tmp1, &a1, &tmp1)) != MP_OKAY) {
|
82
|
+
goto ERR;
|
83
|
+
}
|
84
|
+
if ((res = mp_mul_2(&tmp1, &tmp1)) != MP_OKAY) {
|
85
|
+
goto ERR;
|
86
|
+
}
|
87
|
+
if ((res = mp_add(&tmp1, &a0, &tmp1)) != MP_OKAY) {
|
88
|
+
goto ERR;
|
89
|
+
}
|
90
|
+
|
91
|
+
if ((res = mp_sqr(&tmp1, &w3)) != MP_OKAY) {
|
92
|
+
goto ERR;
|
93
|
+
}
|
94
|
+
|
95
|
+
|
96
|
+
/* w2 = (a2 + a1 + a0)**2 */
|
97
|
+
if ((res = mp_add(&a2, &a1, &tmp1)) != MP_OKAY) {
|
98
|
+
goto ERR;
|
99
|
+
}
|
100
|
+
if ((res = mp_add(&tmp1, &a0, &tmp1)) != MP_OKAY) {
|
101
|
+
goto ERR;
|
102
|
+
}
|
103
|
+
if ((res = mp_sqr(&tmp1, &w2)) != MP_OKAY) {
|
104
|
+
goto ERR;
|
105
|
+
}
|
106
|
+
|
107
|
+
/* now solve the matrix
|
108
|
+
|
109
|
+
0 0 0 0 1
|
110
|
+
1 2 4 8 16
|
111
|
+
1 1 1 1 1
|
112
|
+
16 8 4 2 1
|
113
|
+
1 0 0 0 0
|
114
|
+
|
115
|
+
using 12 subtractions, 4 shifts, 2 small divisions and 1 small multiplication.
|
116
|
+
*/
|
117
|
+
|
118
|
+
/* r1 - r4 */
|
119
|
+
if ((res = mp_sub(&w1, &w4, &w1)) != MP_OKAY) {
|
120
|
+
goto ERR;
|
121
|
+
}
|
122
|
+
/* r3 - r0 */
|
123
|
+
if ((res = mp_sub(&w3, &w0, &w3)) != MP_OKAY) {
|
124
|
+
goto ERR;
|
125
|
+
}
|
126
|
+
/* r1/2 */
|
127
|
+
if ((res = mp_div_2(&w1, &w1)) != MP_OKAY) {
|
128
|
+
goto ERR;
|
129
|
+
}
|
130
|
+
/* r3/2 */
|
131
|
+
if ((res = mp_div_2(&w3, &w3)) != MP_OKAY) {
|
132
|
+
goto ERR;
|
133
|
+
}
|
134
|
+
/* r2 - r0 - r4 */
|
135
|
+
if ((res = mp_sub(&w2, &w0, &w2)) != MP_OKAY) {
|
136
|
+
goto ERR;
|
137
|
+
}
|
138
|
+
if ((res = mp_sub(&w2, &w4, &w2)) != MP_OKAY) {
|
139
|
+
goto ERR;
|
140
|
+
}
|
141
|
+
/* r1 - r2 */
|
142
|
+
if ((res = mp_sub(&w1, &w2, &w1)) != MP_OKAY) {
|
143
|
+
goto ERR;
|
144
|
+
}
|
145
|
+
/* r3 - r2 */
|
146
|
+
if ((res = mp_sub(&w3, &w2, &w3)) != MP_OKAY) {
|
147
|
+
goto ERR;
|
148
|
+
}
|
149
|
+
/* r1 - 8r0 */
|
150
|
+
if ((res = mp_mul_2d(&w0, 3, &tmp1)) != MP_OKAY) {
|
151
|
+
goto ERR;
|
152
|
+
}
|
153
|
+
if ((res = mp_sub(&w1, &tmp1, &w1)) != MP_OKAY) {
|
154
|
+
goto ERR;
|
155
|
+
}
|
156
|
+
/* r3 - 8r4 */
|
157
|
+
if ((res = mp_mul_2d(&w4, 3, &tmp1)) != MP_OKAY) {
|
158
|
+
goto ERR;
|
159
|
+
}
|
160
|
+
if ((res = mp_sub(&w3, &tmp1, &w3)) != MP_OKAY) {
|
161
|
+
goto ERR;
|
162
|
+
}
|
163
|
+
/* 3r2 - r1 - r3 */
|
164
|
+
if ((res = mp_mul_d(&w2, 3, &w2)) != MP_OKAY) {
|
165
|
+
goto ERR;
|
166
|
+
}
|
167
|
+
if ((res = mp_sub(&w2, &w1, &w2)) != MP_OKAY) {
|
168
|
+
goto ERR;
|
169
|
+
}
|
170
|
+
if ((res = mp_sub(&w2, &w3, &w2)) != MP_OKAY) {
|
171
|
+
goto ERR;
|
172
|
+
}
|
173
|
+
/* r1 - r2 */
|
174
|
+
if ((res = mp_sub(&w1, &w2, &w1)) != MP_OKAY) {
|
175
|
+
goto ERR;
|
176
|
+
}
|
177
|
+
/* r3 - r2 */
|
178
|
+
if ((res = mp_sub(&w3, &w2, &w3)) != MP_OKAY) {
|
179
|
+
goto ERR;
|
180
|
+
}
|
181
|
+
/* r1/3 */
|
182
|
+
if ((res = mp_div_3(&w1, &w1, NULL)) != MP_OKAY) {
|
183
|
+
goto ERR;
|
184
|
+
}
|
185
|
+
/* r3/3 */
|
186
|
+
if ((res = mp_div_3(&w3, &w3, NULL)) != MP_OKAY) {
|
187
|
+
goto ERR;
|
188
|
+
}
|
189
|
+
|
190
|
+
/* at this point shift W[n] by B*n */
|
191
|
+
if ((res = mp_lshd(&w1, 1*B)) != MP_OKAY) {
|
192
|
+
goto ERR;
|
193
|
+
}
|
194
|
+
if ((res = mp_lshd(&w2, 2*B)) != MP_OKAY) {
|
195
|
+
goto ERR;
|
196
|
+
}
|
197
|
+
if ((res = mp_lshd(&w3, 3*B)) != MP_OKAY) {
|
198
|
+
goto ERR;
|
199
|
+
}
|
200
|
+
if ((res = mp_lshd(&w4, 4*B)) != MP_OKAY) {
|
201
|
+
goto ERR;
|
202
|
+
}
|
203
|
+
|
204
|
+
if ((res = mp_add(&w0, &w1, b)) != MP_OKAY) {
|
205
|
+
goto ERR;
|
206
|
+
}
|
207
|
+
if ((res = mp_add(&w2, &w3, &tmp1)) != MP_OKAY) {
|
208
|
+
goto ERR;
|
209
|
+
}
|
210
|
+
if ((res = mp_add(&w4, &tmp1, &tmp1)) != MP_OKAY) {
|
211
|
+
goto ERR;
|
212
|
+
}
|
213
|
+
if ((res = mp_add(&tmp1, b, b)) != MP_OKAY) {
|
214
|
+
goto ERR;
|
215
|
+
}
|
216
|
+
|
217
|
+
ERR:
|
218
|
+
mp_clear_multi(&w0, &w1, &w2, &w3, &w4, &a0, &a1, &a2, &tmp1, NULL);
|
219
|
+
return res;
|
220
|
+
}
|
221
|
+
|
222
|
+
#endif
|
223
|
+
|
224
|
+
/* $Source: /cvs/libtom/libtommath/bn_mp_toom_sqr.c,v $ */
|
225
|
+
/* $Revision: 1.4 $ */
|
226
|
+
/* $Date: 2006/12/28 01:25:13 $ */
|
@@ -0,0 +1,75 @@
|
|
1
|
+
#include "tommath.h"
|
2
|
+
#ifdef BN_MP_TORADIX_C
|
3
|
+
/* LibTomMath, multiple-precision integer library -- Tom St Denis
|
4
|
+
*
|
5
|
+
* LibTomMath is a library that provides multiple-precision
|
6
|
+
* integer arithmetic as well as number theoretic functionality.
|
7
|
+
*
|
8
|
+
* The library was designed directly after the MPI library by
|
9
|
+
* Michael Fromberger but has been written from scratch with
|
10
|
+
* additional optimizations in place.
|
11
|
+
*
|
12
|
+
* The library is free for all purposes without any express
|
13
|
+
* guarantee it works.
|
14
|
+
*
|
15
|
+
* Tom St Denis, tomstdenis@gmail.com, http://libtom.org
|
16
|
+
*/
|
17
|
+
|
18
|
+
/* stores a bignum as a ASCII string in a given radix (2..64) */
|
19
|
+
int mp_toradix (mp_int * a, char *str, int radix)
|
20
|
+
{
|
21
|
+
int res, digs;
|
22
|
+
mp_int t;
|
23
|
+
mp_digit d;
|
24
|
+
char *_s = str;
|
25
|
+
|
26
|
+
/* check range of the radix */
|
27
|
+
if (radix < 2 || radix > 64) {
|
28
|
+
return MP_VAL;
|
29
|
+
}
|
30
|
+
|
31
|
+
/* quick out if its zero */
|
32
|
+
if (mp_iszero(a) == 1) {
|
33
|
+
*str++ = '0';
|
34
|
+
*str = '\0';
|
35
|
+
return MP_OKAY;
|
36
|
+
}
|
37
|
+
|
38
|
+
if ((res = mp_init_copy (&t, a)) != MP_OKAY) {
|
39
|
+
return res;
|
40
|
+
}
|
41
|
+
|
42
|
+
/* if it is negative output a - */
|
43
|
+
if (t.sign == MP_NEG) {
|
44
|
+
++_s;
|
45
|
+
*str++ = '-';
|
46
|
+
t.sign = MP_ZPOS;
|
47
|
+
}
|
48
|
+
|
49
|
+
digs = 0;
|
50
|
+
while (mp_iszero (&t) == 0) {
|
51
|
+
if ((res = mp_div_d (&t, (mp_digit) radix, &t, &d)) != MP_OKAY) {
|
52
|
+
mp_clear (&t);
|
53
|
+
return res;
|
54
|
+
}
|
55
|
+
*str++ = mp_s_rmap[d];
|
56
|
+
++digs;
|
57
|
+
}
|
58
|
+
|
59
|
+
/* reverse the digits of the string. In this case _s points
|
60
|
+
* to the first digit [exluding the sign] of the number]
|
61
|
+
*/
|
62
|
+
bn_reverse ((unsigned char *)_s, digs);
|
63
|
+
|
64
|
+
/* append a NULL so the string is properly terminated */
|
65
|
+
*str = '\0';
|
66
|
+
|
67
|
+
mp_clear (&t);
|
68
|
+
return MP_OKAY;
|
69
|
+
}
|
70
|
+
|
71
|
+
#endif
|
72
|
+
|
73
|
+
/* $Source: /cvs/libtom/libtommath/bn_mp_toradix.c,v $ */
|
74
|
+
/* $Revision: 1.4 $ */
|
75
|
+
/* $Date: 2006/12/28 01:25:13 $ */
|
@@ -0,0 +1,88 @@
|
|
1
|
+
#include "tommath.h"
|
2
|
+
#ifdef BN_MP_TORADIX_N_C
|
3
|
+
/* LibTomMath, multiple-precision integer library -- Tom St Denis
|
4
|
+
*
|
5
|
+
* LibTomMath is a library that provides multiple-precision
|
6
|
+
* integer arithmetic as well as number theoretic functionality.
|
7
|
+
*
|
8
|
+
* The library was designed directly after the MPI library by
|
9
|
+
* Michael Fromberger but has been written from scratch with
|
10
|
+
* additional optimizations in place.
|
11
|
+
*
|
12
|
+
* The library is free for all purposes without any express
|
13
|
+
* guarantee it works.
|
14
|
+
*
|
15
|
+
* Tom St Denis, tomstdenis@gmail.com, http://libtom.org
|
16
|
+
*/
|
17
|
+
|
18
|
+
/* stores a bignum as a ASCII string in a given radix (2..64)
|
19
|
+
*
|
20
|
+
* Stores upto maxlen-1 chars and always a NULL byte
|
21
|
+
*/
|
22
|
+
int mp_toradix_n(mp_int * a, char *str, int radix, int maxlen)
|
23
|
+
{
|
24
|
+
int res, digs;
|
25
|
+
mp_int t;
|
26
|
+
mp_digit d;
|
27
|
+
char *_s = str;
|
28
|
+
|
29
|
+
/* check range of the maxlen, radix */
|
30
|
+
if (maxlen < 2 || radix < 2 || radix > 64) {
|
31
|
+
return MP_VAL;
|
32
|
+
}
|
33
|
+
|
34
|
+
/* quick out if its zero */
|
35
|
+
if (mp_iszero(a) == MP_YES) {
|
36
|
+
*str++ = '0';
|
37
|
+
*str = '\0';
|
38
|
+
return MP_OKAY;
|
39
|
+
}
|
40
|
+
|
41
|
+
if ((res = mp_init_copy (&t, a)) != MP_OKAY) {
|
42
|
+
return res;
|
43
|
+
}
|
44
|
+
|
45
|
+
/* if it is negative output a - */
|
46
|
+
if (t.sign == MP_NEG) {
|
47
|
+
/* we have to reverse our digits later... but not the - sign!! */
|
48
|
+
++_s;
|
49
|
+
|
50
|
+
/* store the flag and mark the number as positive */
|
51
|
+
*str++ = '-';
|
52
|
+
t.sign = MP_ZPOS;
|
53
|
+
|
54
|
+
/* subtract a char */
|
55
|
+
--maxlen;
|
56
|
+
}
|
57
|
+
|
58
|
+
digs = 0;
|
59
|
+
while (mp_iszero (&t) == 0) {
|
60
|
+
if (--maxlen < 1) {
|
61
|
+
/* no more room */
|
62
|
+
break;
|
63
|
+
}
|
64
|
+
if ((res = mp_div_d (&t, (mp_digit) radix, &t, &d)) != MP_OKAY) {
|
65
|
+
mp_clear (&t);
|
66
|
+
return res;
|
67
|
+
}
|
68
|
+
*str++ = mp_s_rmap[d];
|
69
|
+
++digs;
|
70
|
+
}
|
71
|
+
|
72
|
+
/* reverse the digits of the string. In this case _s points
|
73
|
+
* to the first digit [exluding the sign] of the number
|
74
|
+
*/
|
75
|
+
bn_reverse ((unsigned char *)_s, digs);
|
76
|
+
|
77
|
+
/* append a NULL so the string is properly terminated */
|
78
|
+
*str = '\0';
|
79
|
+
|
80
|
+
mp_clear (&t);
|
81
|
+
return MP_OKAY;
|
82
|
+
}
|
83
|
+
|
84
|
+
#endif
|
85
|
+
|
86
|
+
/* $Source: /cvs/libtom/libtommath/bn_mp_toradix_n.c,v $ */
|
87
|
+
/* $Revision: 1.5 $ */
|
88
|
+
/* $Date: 2006/12/28 01:25:13 $ */
|
@@ -0,0 +1,28 @@
|
|
1
|
+
#include "tommath.h"
|
2
|
+
#ifdef BN_MP_UNSIGNED_BIN_SIZE_C
|
3
|
+
/* LibTomMath, multiple-precision integer library -- Tom St Denis
|
4
|
+
*
|
5
|
+
* LibTomMath is a library that provides multiple-precision
|
6
|
+
* integer arithmetic as well as number theoretic functionality.
|
7
|
+
*
|
8
|
+
* The library was designed directly after the MPI library by
|
9
|
+
* Michael Fromberger but has been written from scratch with
|
10
|
+
* additional optimizations in place.
|
11
|
+
*
|
12
|
+
* The library is free for all purposes without any express
|
13
|
+
* guarantee it works.
|
14
|
+
*
|
15
|
+
* Tom St Denis, tomstdenis@gmail.com, http://libtom.org
|
16
|
+
*/
|
17
|
+
|
18
|
+
/* get the size for an unsigned equivalent */
|
19
|
+
int mp_unsigned_bin_size (mp_int * a)
|
20
|
+
{
|
21
|
+
int size = mp_count_bits (a);
|
22
|
+
return (size / 8 + ((size & 7) != 0 ? 1 : 0));
|
23
|
+
}
|
24
|
+
#endif
|
25
|
+
|
26
|
+
/* $Source: /cvs/libtom/libtommath/bn_mp_unsigned_bin_size.c,v $ */
|
27
|
+
/* $Revision: 1.4 $ */
|
28
|
+
/* $Date: 2006/12/28 01:25:13 $ */
|