stormlib 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (624) hide show
  1. checksums.yaml +4 -4
  2. data/ext/stormlib/StormLib/CMakeFiles/3.22.1/CMakeCCompiler.cmake +72 -0
  3. data/ext/stormlib/StormLib/CMakeFiles/3.22.1/CMakeCXXCompiler.cmake +83 -0
  4. data/ext/stormlib/StormLib/CMakeFiles/3.22.1/CMakeDetermineCompilerABI_C.bin +0 -0
  5. data/ext/stormlib/StormLib/CMakeFiles/3.22.1/CMakeDetermineCompilerABI_CXX.bin +0 -0
  6. data/ext/stormlib/StormLib/CMakeFiles/3.22.1/CMakeSystem.cmake +15 -0
  7. data/ext/stormlib/StormLib/CMakeFiles/3.22.1/CompilerIdC/CMakeCCompilerId.c +803 -0
  8. data/ext/stormlib/StormLib/CMakeFiles/3.22.1/CompilerIdC/a.out +0 -0
  9. data/ext/stormlib/StormLib/CMakeFiles/3.22.1/CompilerIdCXX/CMakeCXXCompilerId.cpp +791 -0
  10. data/ext/stormlib/StormLib/CMakeFiles/3.22.1/CompilerIdCXX/a.out +0 -0
  11. data/ext/stormlib/StormLib/CMakeFiles/CMakeDirectoryInformation.cmake +16 -0
  12. data/ext/stormlib/StormLib/CMakeFiles/CMakeOutput.log +478 -0
  13. data/ext/stormlib/StormLib/CMakeFiles/Export/share/StormLib/StormLibConfig-noconfig.cmake +19 -0
  14. data/ext/stormlib/StormLib/CMakeFiles/Export/share/StormLib/StormLibConfig.cmake +99 -0
  15. data/ext/stormlib/StormLib/CMakeFiles/Makefile.cmake +61 -0
  16. data/ext/stormlib/StormLib/CMakeFiles/Makefile2 +112 -0
  17. data/ext/stormlib/StormLib/CMakeFiles/TargetDirectories.txt +9 -0
  18. data/ext/stormlib/StormLib/CMakeFiles/cmake.check_cache +1 -0
  19. data/ext/stormlib/StormLib/CMakeFiles/progress.marks +1 -0
  20. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/DependInfo.cmake +243 -0
  21. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/build.make +3695 -0
  22. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/cmake_clean.cmake +459 -0
  23. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/cmake_clean_target.cmake +3 -0
  24. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/compiler_depend.make +2 -0
  25. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/compiler_depend.ts +2 -0
  26. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/depend.make +2 -0
  27. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/flags.make +17 -0
  28. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/link.txt +2 -0
  29. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/progress.make +227 -0
  30. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/FileStream.cpp.o.d +160 -0
  31. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SBaseCommon.cpp.o.d +159 -0
  32. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SBaseDumpData.cpp.o.d +159 -0
  33. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SBaseFileTable.cpp.o.d +159 -0
  34. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SBaseSubTypes.cpp.o.d +159 -0
  35. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SCompression.cpp.o.d +159 -0
  36. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SFileAddFile.cpp.o.d +159 -0
  37. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SFileAttributes.cpp.o.d +159 -0
  38. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SFileCompactArchive.cpp.o.d +159 -0
  39. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SFileCreateArchive.cpp.o.d +159 -0
  40. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SFileExtractFile.cpp.o.d +159 -0
  41. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SFileFindFile.cpp.o.d +159 -0
  42. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SFileGetFileInfo.cpp.o.d +159 -0
  43. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SFileListFile.cpp.o.d +159 -0
  44. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SFileOpenArchive.cpp.o.d +159 -0
  45. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SFileOpenFileEx.cpp.o.d +159 -0
  46. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SFilePatchArchives.cpp.o.d +159 -0
  47. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SFileReadFile.cpp.o.d +159 -0
  48. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/SFileVerify.cpp.o.d +159 -0
  49. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/adpcm/adpcm.cpp.o.d +12 -0
  50. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/huffman/huff.cpp.o.d +16 -0
  51. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/jenkins/lookup3.c.o.d +88 -0
  52. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/hashes/hash_memory.c.o.d +102 -0
  53. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/hashes/md5.c.o.d +102 -0
  54. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/hashes/sha1.c.o.d +102 -0
  55. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/hashes/sha256.c.o.d +102 -0
  56. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/math/ltm_desc.c.o.d +105 -0
  57. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/math/multi.c.o.d +102 -0
  58. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/math/rand_prime.c.o.d +102 -0
  59. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/misc/base64_decode.c.o.d +102 -0
  60. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/misc/crypt_argchk.c.o.d +102 -0
  61. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/misc/crypt_find_hash.c.o.d +102 -0
  62. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/misc/crypt_find_prng.c.o.d +102 -0
  63. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/misc/crypt_hash_descriptor.c.o.d +102 -0
  64. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/misc/crypt_hash_is_valid.c.o.d +102 -0
  65. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/misc/crypt_libc.c.o.d +102 -0
  66. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/misc/crypt_ltc_mp_descriptor.c.o.d +102 -0
  67. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/misc/crypt_prng_descriptor.c.o.d +102 -0
  68. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/misc/crypt_prng_is_valid.c.o.d +102 -0
  69. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/misc/crypt_register_hash.c.o.d +102 -0
  70. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/misc/crypt_register_prng.c.o.d +102 -0
  71. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/misc/zeromem.c.o.d +102 -0
  72. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_decode_bit_string.c.o.d +102 -0
  73. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_decode_boolean.c.o.d +102 -0
  74. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_decode_choice.c.o.d +102 -0
  75. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_decode_ia5_string.c.o.d +102 -0
  76. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_decode_integer.c.o.d +102 -0
  77. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_decode_object_identifier.c.o.d +102 -0
  78. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_decode_octet_string.c.o.d +102 -0
  79. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_decode_printable_string.c.o.d +102 -0
  80. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_decode_sequence_ex.c.o.d +102 -0
  81. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_decode_sequence_flexi.c.o.d +102 -0
  82. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_decode_sequence_multi.c.o.d +102 -0
  83. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_decode_short_integer.c.o.d +102 -0
  84. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_decode_utctime.c.o.d +102 -0
  85. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_decode_utf8_string.c.o.d +102 -0
  86. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_encode_bit_string.c.o.d +102 -0
  87. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_encode_boolean.c.o.d +102 -0
  88. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_encode_ia5_string.c.o.d +102 -0
  89. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_encode_integer.c.o.d +102 -0
  90. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_encode_object_identifier.c.o.d +102 -0
  91. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_encode_octet_string.c.o.d +102 -0
  92. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_encode_printable_string.c.o.d +102 -0
  93. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_encode_sequence_ex.c.o.d +102 -0
  94. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_encode_sequence_multi.c.o.d +102 -0
  95. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_encode_set.c.o.d +102 -0
  96. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_encode_setof.c.o.d +102 -0
  97. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_encode_short_integer.c.o.d +102 -0
  98. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_encode_utctime.c.o.d +102 -0
  99. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_encode_utf8_string.c.o.d +102 -0
  100. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_length_bit_string.c.o.d +102 -0
  101. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_length_boolean.c.o.d +102 -0
  102. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_length_ia5_string.c.o.d +102 -0
  103. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_length_integer.c.o.d +102 -0
  104. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_length_object_identifier.c.o.d +102 -0
  105. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_length_octet_string.c.o.d +102 -0
  106. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_length_printable_string.c.o.d +102 -0
  107. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_length_sequence.c.o.d +102 -0
  108. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_length_short_integer.c.o.d +102 -0
  109. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_length_utctime.c.o.d +102 -0
  110. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_length_utf8_string.c.o.d +102 -0
  111. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/asn1/der_sequence_free.c.o.d +102 -0
  112. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/ecc/ltc_ecc_map.c.o.d +102 -0
  113. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/ecc/ltc_ecc_mul2add.c.o.d +102 -0
  114. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/ecc/ltc_ecc_mulmod.c.o.d +102 -0
  115. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/ecc/ltc_ecc_points.c.o.d +102 -0
  116. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/ecc/ltc_ecc_projective_add_point.c.o.d +102 -0
  117. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/ecc/ltc_ecc_projective_dbl_point.c.o.d +102 -0
  118. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/pkcs1/pkcs_1_mgf1.c.o.d +102 -0
  119. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/pkcs1/pkcs_1_oaep_decode.c.o.d +102 -0
  120. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/pkcs1/pkcs_1_pss_decode.c.o.d +102 -0
  121. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/pkcs1/pkcs_1_pss_encode.c.o.d +102 -0
  122. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/pkcs1/pkcs_1_v1_5_decode.c.o.d +102 -0
  123. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/pkcs1/pkcs_1_v1_5_encode.c.o.d +102 -0
  124. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/rsa/rsa_exptmod.c.o.d +102 -0
  125. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/rsa/rsa_free.c.o.d +102 -0
  126. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/rsa/rsa_import.c.o.d +102 -0
  127. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/rsa/rsa_make_key.c.o.d +102 -0
  128. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/rsa/rsa_sign_hash.c.o.d +102 -0
  129. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/rsa/rsa_verify_hash.c.o.d +102 -0
  130. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtomcrypt/src/pk/rsa/rsa_verify_simple.c.o.d +102 -0
  131. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_fast_mp_invmod.c.o.d +65 -0
  132. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_fast_mp_montgomery_reduce.c.o.d +65 -0
  133. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_fast_s_mp_mul_digs.c.o.d +65 -0
  134. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_fast_s_mp_mul_high_digs.c.o.d +65 -0
  135. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_fast_s_mp_sqr.c.o.d +65 -0
  136. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_2expt.c.o.d +65 -0
  137. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_abs.c.o.d +65 -0
  138. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_add.c.o.d +65 -0
  139. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_add_d.c.o.d +65 -0
  140. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_addmod.c.o.d +65 -0
  141. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_and.c.o.d +65 -0
  142. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_clamp.c.o.d +65 -0
  143. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_clear.c.o.d +65 -0
  144. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_clear_multi.c.o.d +65 -0
  145. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_cmp.c.o.d +65 -0
  146. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_cmp_d.c.o.d +65 -0
  147. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_cmp_mag.c.o.d +65 -0
  148. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_cnt_lsb.c.o.d +65 -0
  149. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_copy.c.o.d +65 -0
  150. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_count_bits.c.o.d +65 -0
  151. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_div.c.o.d +65 -0
  152. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_div_2.c.o.d +65 -0
  153. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_div_2d.c.o.d +65 -0
  154. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_div_3.c.o.d +65 -0
  155. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_div_d.c.o.d +65 -0
  156. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_dr_is_modulus.c.o.d +65 -0
  157. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_dr_reduce.c.o.d +65 -0
  158. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_dr_setup.c.o.d +65 -0
  159. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_exch.c.o.d +65 -0
  160. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_expt_d.c.o.d +65 -0
  161. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_exptmod.c.o.d +65 -0
  162. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_exptmod_fast.c.o.d +65 -0
  163. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_exteuclid.c.o.d +65 -0
  164. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_fread.c.o.d +65 -0
  165. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_fwrite.c.o.d +65 -0
  166. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_gcd.c.o.d +65 -0
  167. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_get_int.c.o.d +65 -0
  168. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_grow.c.o.d +65 -0
  169. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_init.c.o.d +65 -0
  170. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_init_copy.c.o.d +65 -0
  171. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_init_multi.c.o.d +65 -0
  172. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_init_set.c.o.d +65 -0
  173. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_init_set_int.c.o.d +65 -0
  174. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_init_size.c.o.d +65 -0
  175. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_invmod.c.o.d +65 -0
  176. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_invmod_slow.c.o.d +65 -0
  177. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_is_square.c.o.d +65 -0
  178. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_jacobi.c.o.d +65 -0
  179. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_karatsuba_mul.c.o.d +65 -0
  180. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_karatsuba_sqr.c.o.d +65 -0
  181. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_lcm.c.o.d +65 -0
  182. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_lshd.c.o.d +65 -0
  183. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_mod.c.o.d +65 -0
  184. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_mod_2d.c.o.d +65 -0
  185. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_mod_d.c.o.d +65 -0
  186. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_montgomery_calc_normalization.c.o.d +65 -0
  187. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_montgomery_reduce.c.o.d +65 -0
  188. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_montgomery_setup.c.o.d +65 -0
  189. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_mul.c.o.d +65 -0
  190. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_mul_2.c.o.d +65 -0
  191. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_mul_2d.c.o.d +65 -0
  192. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_mul_d.c.o.d +65 -0
  193. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_mulmod.c.o.d +65 -0
  194. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_n_root.c.o.d +65 -0
  195. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_neg.c.o.d +65 -0
  196. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_or.c.o.d +65 -0
  197. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_prime_fermat.c.o.d +65 -0
  198. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_prime_is_divisible.c.o.d +65 -0
  199. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_prime_is_prime.c.o.d +65 -0
  200. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_prime_miller_rabin.c.o.d +65 -0
  201. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_prime_next_prime.c.o.d +65 -0
  202. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_prime_rabin_miller_trials.c.o.d +65 -0
  203. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_prime_random_ex.c.o.d +65 -0
  204. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_radix_size.c.o.d +65 -0
  205. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_radix_smap.c.o.d +65 -0
  206. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_rand.c.o.d +65 -0
  207. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_read_radix.c.o.d +65 -0
  208. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_read_signed_bin.c.o.d +65 -0
  209. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_read_unsigned_bin.c.o.d +65 -0
  210. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_reduce.c.o.d +65 -0
  211. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_reduce_2k.c.o.d +65 -0
  212. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_reduce_2k_l.c.o.d +65 -0
  213. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_reduce_2k_setup.c.o.d +65 -0
  214. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_reduce_2k_setup_l.c.o.d +65 -0
  215. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_reduce_is_2k.c.o.d +65 -0
  216. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_reduce_is_2k_l.c.o.d +65 -0
  217. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_reduce_setup.c.o.d +65 -0
  218. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_rshd.c.o.d +65 -0
  219. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_set.c.o.d +65 -0
  220. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_set_int.c.o.d +65 -0
  221. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_shrink.c.o.d +65 -0
  222. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_signed_bin_size.c.o.d +65 -0
  223. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_sqr.c.o.d +65 -0
  224. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_sqrmod.c.o.d +65 -0
  225. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_sqrt.c.o.d +65 -0
  226. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_sub.c.o.d +65 -0
  227. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_sub_d.c.o.d +65 -0
  228. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_submod.c.o.d +65 -0
  229. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_to_signed_bin.c.o.d +65 -0
  230. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_to_signed_bin_n.c.o.d +65 -0
  231. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_to_unsigned_bin.c.o.d +65 -0
  232. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_to_unsigned_bin_n.c.o.d +65 -0
  233. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_toom_mul.c.o.d +65 -0
  234. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_toom_sqr.c.o.d +65 -0
  235. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_toradix.c.o.d +65 -0
  236. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_toradix_n.c.o.d +65 -0
  237. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_unsigned_bin_size.c.o.d +65 -0
  238. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_xor.c.o.d +65 -0
  239. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_mp_zero.c.o.d +65 -0
  240. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_prime_tab.c.o.d +65 -0
  241. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_reverse.c.o.d +65 -0
  242. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_s_mp_add.c.o.d +65 -0
  243. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_s_mp_exptmod.c.o.d +65 -0
  244. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_s_mp_mul_digs.c.o.d +65 -0
  245. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_s_mp_mul_high_digs.c.o.d +65 -0
  246. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_s_mp_sqr.c.o.d +65 -0
  247. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bn_s_mp_sub.c.o.d +65 -0
  248. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/libtommath/bncore.c.o.d +65 -0
  249. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/lzma/C/LzFind.c.o.d +18 -0
  250. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/lzma/C/LzmaDec.c.o.d +17 -0
  251. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/lzma/C/LzmaEnc.c.o.d +18 -0
  252. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/pklib/explode.c.o.d +16 -0
  253. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/pklib/implode.c.o.d +23 -0
  254. data/ext/stormlib/StormLib/CMakeFiles/storm.dir/src/sparse/sparse.cpp.o.d +16 -0
  255. data/ext/stormlib/StormLib/CMakeLists.txt +418 -0
  256. data/ext/stormlib/StormLib/Info.plist +22 -0
  257. data/ext/stormlib/StormLib/LICENSE +21 -0
  258. data/ext/stormlib/StormLib/Premake5.lua +132 -0
  259. data/ext/stormlib/StormLib/README.md +39 -0
  260. data/ext/stormlib/StormLib/StormLib.sln +162 -0
  261. data/ext/stormlib/StormLib/StormLib.vcxproj +1024 -0
  262. data/ext/stormlib/StormLib/StormLib.vcxproj.filters +221 -0
  263. data/ext/stormlib/StormLib/StormLib.xcodeproj/project.pbxproj +2104 -0
  264. data/ext/stormlib/StormLib/StormLib_dll.vcxproj +348 -0
  265. data/ext/stormlib/StormLib/StormLib_dll.vcxproj.filters +229 -0
  266. data/ext/stormlib/StormLib/StormLib_test.vcxproj +360 -0
  267. data/ext/stormlib/StormLib/StormLib_test.vcxproj.filters +230 -0
  268. data/ext/stormlib/StormLib/StormLib_vs08.sln +139 -0
  269. data/ext/stormlib/StormLib/StormLib_vs08.vcproj +4205 -0
  270. data/ext/stormlib/StormLib/StormLib_vs08_dll.vcproj +1851 -0
  271. data/ext/stormlib/StormLib/StormLib_vs08_test.vcproj +1289 -0
  272. data/ext/stormlib/StormLib/doc/History.txt +78 -0
  273. data/ext/stormlib/StormLib/doc/The MoPaQ File Format 0.9.txt +318 -0
  274. data/ext/stormlib/StormLib/doc/The MoPaQ File Format 1.0.txt +433 -0
  275. data/ext/stormlib/StormLib/doc/d3-authenticationcode/d3-authenticationcode-deDE.txt +1 -0
  276. data/ext/stormlib/StormLib/doc/d3-authenticationcode/d3-authenticationcode-enGB.txt +1 -0
  277. data/ext/stormlib/StormLib/doc/d3-authenticationcode/d3-authenticationcode-enSG.txt +1 -0
  278. data/ext/stormlib/StormLib/doc/d3-authenticationcode/d3-authenticationcode-enUS.txt +1 -0
  279. data/ext/stormlib/StormLib/doc/d3-authenticationcode/d3-authenticationcode-esES.txt +1 -0
  280. data/ext/stormlib/StormLib/doc/d3-authenticationcode/d3-authenticationcode-esMX.txt +1 -0
  281. data/ext/stormlib/StormLib/doc/d3-authenticationcode/d3-authenticationcode-frFR.txt +1 -0
  282. data/ext/stormlib/StormLib/doc/d3-authenticationcode/d3-authenticationcode-itIT.txt +1 -0
  283. data/ext/stormlib/StormLib/doc/d3-authenticationcode/d3-authenticationcode-koKR.txt +1 -0
  284. data/ext/stormlib/StormLib/doc/d3-authenticationcode/d3-authenticationcode-plPL.txt +1 -0
  285. data/ext/stormlib/StormLib/doc/d3-authenticationcode/d3-authenticationcode-ptBR.txt +1 -0
  286. data/ext/stormlib/StormLib/doc/d3-authenticationcode/d3-authenticationcode-zhTW.txt +1 -0
  287. data/ext/stormlib/StormLib/doc/hots-authenticationcode/hots-authenticationcode-bgdl.txt +1 -0
  288. data/ext/stormlib/StormLib/doc/sc2-authenticationcode/sc2-authenticationcode-deDE.txt +1 -0
  289. data/ext/stormlib/StormLib/doc/sc2-authenticationcode/sc2-authenticationcode-enGB.txt +1 -0
  290. data/ext/stormlib/StormLib/doc/sc2-authenticationcode/sc2-authenticationcode-enUS.txt +1 -0
  291. data/ext/stormlib/StormLib/doc/sc2-authenticationcode/sc2-authenticationcode-esES.txt +1 -0
  292. data/ext/stormlib/StormLib/doc/sc2-authenticationcode/sc2-authenticationcode-esMX.txt +1 -0
  293. data/ext/stormlib/StormLib/doc/sc2-authenticationcode/sc2-authenticationcode-frFR.txt +1 -0
  294. data/ext/stormlib/StormLib/doc/sc2-authenticationcode/sc2-authenticationcode-itIT.txt +1 -0
  295. data/ext/stormlib/StormLib/doc/sc2-authenticationcode/sc2-authenticationcode-koKR.txt +1 -0
  296. data/ext/stormlib/StormLib/doc/sc2-authenticationcode/sc2-authenticationcode-plPL.txt +1 -0
  297. data/ext/stormlib/StormLib/doc/sc2-authenticationcode/sc2-authenticationcode-ptBR.txt +1 -0
  298. data/ext/stormlib/StormLib/doc/sc2-authenticationcode/sc2-authenticationcode-ruRU.txt +1 -0
  299. data/ext/stormlib/StormLib/doc/sc2-authenticationcode/sc2-authenticationcode-zhTW.txt +1 -0
  300. data/ext/stormlib/StormLib/make-msvc.bat +95 -0
  301. data/ext/stormlib/StormLib/make.bat +46 -0
  302. data/ext/stormlib/StormLib/sources +14 -0
  303. data/ext/stormlib/StormLib/src/DllMain.c +24 -0
  304. data/ext/stormlib/StormLib/src/DllMain.def +79 -0
  305. data/ext/stormlib/StormLib/src/DllMain.rc +110 -0
  306. data/ext/stormlib/StormLib/src/FileStream.cpp +2928 -0
  307. data/ext/stormlib/StormLib/src/FileStream.h +217 -0
  308. data/ext/stormlib/StormLib/src/LibTomCrypt.c +85 -0
  309. data/ext/stormlib/StormLib/src/LibTomMath.c +125 -0
  310. data/ext/stormlib/StormLib/src/LibTomMathDesc.c +4 -0
  311. data/ext/stormlib/StormLib/src/SBaseCommon.cpp +1970 -0
  312. data/ext/stormlib/StormLib/src/SBaseDumpData.cpp +183 -0
  313. data/ext/stormlib/StormLib/src/SBaseFileTable.cpp +3194 -0
  314. data/ext/stormlib/StormLib/src/SBaseSubTypes.cpp +688 -0
  315. data/ext/stormlib/StormLib/src/SCompression.cpp +1183 -0
  316. data/ext/stormlib/StormLib/src/SFileAddFile.cpp +1337 -0
  317. data/ext/stormlib/StormLib/src/SFileAttributes.cpp +573 -0
  318. data/ext/stormlib/StormLib/src/SFileCompactArchive.cpp +654 -0
  319. data/ext/stormlib/StormLib/src/SFileCreateArchive.cpp +285 -0
  320. data/ext/stormlib/StormLib/src/SFileExtractFile.cpp +64 -0
  321. data/ext/stormlib/StormLib/src/SFileFindFile.cpp +484 -0
  322. data/ext/stormlib/StormLib/src/SFileGetFileInfo.cpp +627 -0
  323. data/ext/stormlib/StormLib/src/SFileListFile.cpp +750 -0
  324. data/ext/stormlib/StormLib/src/SFileOpenArchive.cpp +723 -0
  325. data/ext/stormlib/StormLib/src/SFileOpenFileEx.cpp +423 -0
  326. data/ext/stormlib/StormLib/src/SFilePatchArchives.cpp +1175 -0
  327. data/ext/stormlib/StormLib/src/SFileReadFile.cpp +922 -0
  328. data/ext/stormlib/StormLib/src/SFileVerify.cpp +1059 -0
  329. data/ext/stormlib/StormLib/src/StormCommon.h +450 -0
  330. data/ext/stormlib/StormLib/src/StormLib.exp +74 -0
  331. data/ext/stormlib/StormLib/src/StormLib.h +1157 -0
  332. data/ext/stormlib/StormLib/src/StormPort.h +474 -0
  333. data/ext/stormlib/StormLib/src/adpcm/adpcm.cpp +539 -0
  334. data/ext/stormlib/StormLib/src/adpcm/adpcm.h +27 -0
  335. data/ext/stormlib/StormLib/src/bzip2/blocksort.c +1094 -0
  336. data/ext/stormlib/StormLib/src/bzip2/bzlib.c +1573 -0
  337. data/ext/stormlib/StormLib/src/bzip2/bzlib.h +282 -0
  338. data/ext/stormlib/StormLib/src/bzip2/bzlib_private.h +509 -0
  339. data/ext/stormlib/StormLib/src/bzip2/compress.c +672 -0
  340. data/ext/stormlib/StormLib/src/bzip2/crctable.c +104 -0
  341. data/ext/stormlib/StormLib/src/bzip2/decompress.c +626 -0
  342. data/ext/stormlib/StormLib/src/bzip2/huffman.c +205 -0
  343. data/ext/stormlib/StormLib/src/bzip2/randtable.c +84 -0
  344. data/ext/stormlib/StormLib/src/huffman/huff.cpp +915 -0
  345. data/ext/stormlib/StormLib/src/huffman/huff.h +143 -0
  346. data/ext/stormlib/StormLib/src/jenkins/lookup.h +24 -0
  347. data/ext/stormlib/StormLib/src/jenkins/lookup3.c +1003 -0
  348. data/ext/stormlib/StormLib/src/libtomcrypt/src/hashes/hash_memory.c +69 -0
  349. data/ext/stormlib/StormLib/src/libtomcrypt/src/hashes/md5.c +368 -0
  350. data/ext/stormlib/StormLib/src/libtomcrypt/src/hashes/sha1.c +288 -0
  351. data/ext/stormlib/StormLib/src/libtomcrypt/src/hashes/sha256.c +340 -0
  352. data/ext/stormlib/StormLib/src/libtomcrypt/src/headers/tomcrypt.h +91 -0
  353. data/ext/stormlib/StormLib/src/libtomcrypt/src/headers/tomcrypt_argchk.h +38 -0
  354. data/ext/stormlib/StormLib/src/libtomcrypt/src/headers/tomcrypt_cfg.h +144 -0
  355. data/ext/stormlib/StormLib/src/libtomcrypt/src/headers/tomcrypt_cipher.h +891 -0
  356. data/ext/stormlib/StormLib/src/libtomcrypt/src/headers/tomcrypt_custom.h +424 -0
  357. data/ext/stormlib/StormLib/src/libtomcrypt/src/headers/tomcrypt_hash.h +378 -0
  358. data/ext/stormlib/StormLib/src/libtomcrypt/src/headers/tomcrypt_mac.h +384 -0
  359. data/ext/stormlib/StormLib/src/libtomcrypt/src/headers/tomcrypt_macros.h +424 -0
  360. data/ext/stormlib/StormLib/src/libtomcrypt/src/headers/tomcrypt_math.h +500 -0
  361. data/ext/stormlib/StormLib/src/libtomcrypt/src/headers/tomcrypt_misc.h +23 -0
  362. data/ext/stormlib/StormLib/src/libtomcrypt/src/headers/tomcrypt_pk.h +558 -0
  363. data/ext/stormlib/StormLib/src/libtomcrypt/src/headers/tomcrypt_pkcs.h +89 -0
  364. data/ext/stormlib/StormLib/src/libtomcrypt/src/headers/tomcrypt_prng.h +199 -0
  365. data/ext/stormlib/StormLib/src/libtomcrypt/src/math/ltm_desc.c +483 -0
  366. data/ext/stormlib/StormLib/src/libtomcrypt/src/math/multi.c +61 -0
  367. data/ext/stormlib/StormLib/src/libtomcrypt/src/math/rand_prime.c +87 -0
  368. data/ext/stormlib/StormLib/src/libtomcrypt/src/misc/base64_decode.c +104 -0
  369. data/ext/stormlib/StormLib/src/libtomcrypt/src/misc/crypt_argchk.c +30 -0
  370. data/ext/stormlib/StormLib/src/libtomcrypt/src/misc/crypt_find_hash.c +40 -0
  371. data/ext/stormlib/StormLib/src/libtomcrypt/src/misc/crypt_find_prng.c +41 -0
  372. data/ext/stormlib/StormLib/src/libtomcrypt/src/misc/crypt_hash_descriptor.c +27 -0
  373. data/ext/stormlib/StormLib/src/libtomcrypt/src/misc/crypt_hash_is_valid.c +36 -0
  374. data/ext/stormlib/StormLib/src/libtomcrypt/src/misc/crypt_libc.c +43 -0
  375. data/ext/stormlib/StormLib/src/libtomcrypt/src/misc/crypt_ltc_mp_descriptor.c +13 -0
  376. data/ext/stormlib/StormLib/src/libtomcrypt/src/misc/crypt_prng_descriptor.c +26 -0
  377. data/ext/stormlib/StormLib/src/libtomcrypt/src/misc/crypt_prng_is_valid.c +36 -0
  378. data/ext/stormlib/StormLib/src/libtomcrypt/src/misc/crypt_register_hash.c +54 -0
  379. data/ext/stormlib/StormLib/src/libtomcrypt/src/misc/crypt_register_prng.c +54 -0
  380. data/ext/stormlib/StormLib/src/libtomcrypt/src/misc/zeromem.c +34 -0
  381. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_decode_bit_string.c +102 -0
  382. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_decode_boolean.c +47 -0
  383. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_decode_choice.c +182 -0
  384. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_decode_ia5_string.c +96 -0
  385. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_decode_integer.c +110 -0
  386. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_decode_object_identifier.c +99 -0
  387. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_decode_octet_string.c +91 -0
  388. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_decode_printable_string.c +96 -0
  389. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_decode_sequence_ex.c +287 -0
  390. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_decode_sequence_flexi.c +386 -0
  391. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_decode_sequence_multi.c +139 -0
  392. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_decode_short_integer.c +68 -0
  393. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_decode_utctime.c +127 -0
  394. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_decode_utf8_string.c +111 -0
  395. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_encode_bit_string.c +89 -0
  396. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_encode_boolean.c +51 -0
  397. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_encode_ia5_string.c +85 -0
  398. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_encode_integer.c +130 -0
  399. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_encode_object_identifier.c +111 -0
  400. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_encode_octet_string.c +86 -0
  401. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_encode_printable_string.c +85 -0
  402. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_encode_sequence_ex.c +335 -0
  403. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_encode_sequence_multi.c +138 -0
  404. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_encode_set.c +103 -0
  405. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_encode_setof.c +162 -0
  406. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_encode_short_integer.c +97 -0
  407. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_encode_utctime.c +83 -0
  408. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_encode_utf8_string.c +105 -0
  409. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_length_bit_string.c +54 -0
  410. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_length_boolean.c +35 -0
  411. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_length_ia5_string.c +194 -0
  412. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_length_integer.c +82 -0
  413. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_length_object_identifier.c +89 -0
  414. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_length_octet_string.c +53 -0
  415. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_length_printable_string.c +166 -0
  416. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_length_sequence.c +169 -0
  417. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_length_short_integer.c +70 -0
  418. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_length_utctime.c +46 -0
  419. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_length_utf8_string.c +83 -0
  420. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/asn1/der_sequence_free.c +65 -0
  421. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/ecc/ltc_ecc_map.c +76 -0
  422. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/ecc/ltc_ecc_mul2add.c +207 -0
  423. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/ecc/ltc_ecc_mulmod.c +222 -0
  424. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/ecc/ltc_ecc_points.c +60 -0
  425. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/ecc/ltc_ecc_projective_add_point.c +196 -0
  426. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/ecc/ltc_ecc_projective_dbl_point.c +147 -0
  427. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/pkcs1/pkcs_1_mgf1.c +108 -0
  428. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/pkcs1/pkcs_1_oaep_decode.c +189 -0
  429. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/pkcs1/pkcs_1_pss_decode.c +177 -0
  430. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/pkcs1/pkcs_1_pss_encode.c +175 -0
  431. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/pkcs1/pkcs_1_v1_5_decode.c +110 -0
  432. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/pkcs1/pkcs_1_v1_5_encode.c +111 -0
  433. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/rsa/rsa_exptmod.c +113 -0
  434. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/rsa/rsa_free.c +34 -0
  435. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/rsa/rsa_import.c +143 -0
  436. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/rsa/rsa_make_key.c +112 -0
  437. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/rsa/rsa_sign_hash.c +134 -0
  438. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/rsa/rsa_verify_hash.c +167 -0
  439. data/ext/stormlib/StormLib/src/libtomcrypt/src/pk/rsa/rsa_verify_simple.c +87 -0
  440. data/ext/stormlib/StormLib/src/libtommath/bn_fast_mp_invmod.c +148 -0
  441. data/ext/stormlib/StormLib/src/libtommath/bn_fast_mp_montgomery_reduce.c +172 -0
  442. data/ext/stormlib/StormLib/src/libtommath/bn_fast_s_mp_mul_digs.c +107 -0
  443. data/ext/stormlib/StormLib/src/libtommath/bn_fast_s_mp_mul_high_digs.c +98 -0
  444. data/ext/stormlib/StormLib/src/libtommath/bn_fast_s_mp_sqr.c +114 -0
  445. data/ext/stormlib/StormLib/src/libtommath/bn_mp_2expt.c +48 -0
  446. data/ext/stormlib/StormLib/src/libtommath/bn_mp_abs.c +43 -0
  447. data/ext/stormlib/StormLib/src/libtommath/bn_mp_add.c +53 -0
  448. data/ext/stormlib/StormLib/src/libtommath/bn_mp_add_d.c +112 -0
  449. data/ext/stormlib/StormLib/src/libtommath/bn_mp_addmod.c +41 -0
  450. data/ext/stormlib/StormLib/src/libtommath/bn_mp_and.c +57 -0
  451. data/ext/stormlib/StormLib/src/libtommath/bn_mp_clamp.c +44 -0
  452. data/ext/stormlib/StormLib/src/libtommath/bn_mp_clear.c +44 -0
  453. data/ext/stormlib/StormLib/src/libtommath/bn_mp_clear_multi.c +34 -0
  454. data/ext/stormlib/StormLib/src/libtommath/bn_mp_cmp.c +43 -0
  455. data/ext/stormlib/StormLib/src/libtommath/bn_mp_cmp_d.c +44 -0
  456. data/ext/stormlib/StormLib/src/libtommath/bn_mp_cmp_mag.c +55 -0
  457. data/ext/stormlib/StormLib/src/libtommath/bn_mp_cnt_lsb.c +53 -0
  458. data/ext/stormlib/StormLib/src/libtommath/bn_mp_copy.c +68 -0
  459. data/ext/stormlib/StormLib/src/libtommath/bn_mp_count_bits.c +45 -0
  460. data/ext/stormlib/StormLib/src/libtommath/bn_mp_div.c +292 -0
  461. data/ext/stormlib/StormLib/src/libtommath/bn_mp_div_2.c +68 -0
  462. data/ext/stormlib/StormLib/src/libtommath/bn_mp_div_2d.c +97 -0
  463. data/ext/stormlib/StormLib/src/libtommath/bn_mp_div_3.c +79 -0
  464. data/ext/stormlib/StormLib/src/libtommath/bn_mp_div_d.c +115 -0
  465. data/ext/stormlib/StormLib/src/libtommath/bn_mp_dr_is_modulus.c +43 -0
  466. data/ext/stormlib/StormLib/src/libtommath/bn_mp_dr_reduce.c +94 -0
  467. data/ext/stormlib/StormLib/src/libtommath/bn_mp_dr_setup.c +32 -0
  468. data/ext/stormlib/StormLib/src/libtommath/bn_mp_exch.c +34 -0
  469. data/ext/stormlib/StormLib/src/libtommath/bn_mp_expt_d.c +57 -0
  470. data/ext/stormlib/StormLib/src/libtommath/bn_mp_exptmod.c +112 -0
  471. data/ext/stormlib/StormLib/src/libtommath/bn_mp_exptmod_fast.c +321 -0
  472. data/ext/stormlib/StormLib/src/libtommath/bn_mp_exteuclid.c +82 -0
  473. data/ext/stormlib/StormLib/src/libtommath/bn_mp_fread.c +67 -0
  474. data/ext/stormlib/StormLib/src/libtommath/bn_mp_fwrite.c +52 -0
  475. data/ext/stormlib/StormLib/src/libtommath/bn_mp_gcd.c +105 -0
  476. data/ext/stormlib/StormLib/src/libtommath/bn_mp_get_int.c +45 -0
  477. data/ext/stormlib/StormLib/src/libtommath/bn_mp_grow.c +57 -0
  478. data/ext/stormlib/StormLib/src/libtommath/bn_mp_init.c +46 -0
  479. data/ext/stormlib/StormLib/src/libtommath/bn_mp_init_copy.c +32 -0
  480. data/ext/stormlib/StormLib/src/libtommath/bn_mp_init_multi.c +59 -0
  481. data/ext/stormlib/StormLib/src/libtommath/bn_mp_init_set.c +32 -0
  482. data/ext/stormlib/StormLib/src/libtommath/bn_mp_init_set_int.c +31 -0
  483. data/ext/stormlib/StormLib/src/libtommath/bn_mp_init_size.c +48 -0
  484. data/ext/stormlib/StormLib/src/libtommath/bn_mp_invmod.c +43 -0
  485. data/ext/stormlib/StormLib/src/libtommath/bn_mp_invmod_slow.c +175 -0
  486. data/ext/stormlib/StormLib/src/libtommath/bn_mp_is_square.c +109 -0
  487. data/ext/stormlib/StormLib/src/libtommath/bn_mp_jacobi.c +105 -0
  488. data/ext/stormlib/StormLib/src/libtommath/bn_mp_karatsuba_mul.c +167 -0
  489. data/ext/stormlib/StormLib/src/libtommath/bn_mp_karatsuba_sqr.c +121 -0
  490. data/ext/stormlib/StormLib/src/libtommath/bn_mp_lcm.c +60 -0
  491. data/ext/stormlib/StormLib/src/libtommath/bn_mp_lshd.c +67 -0
  492. data/ext/stormlib/StormLib/src/libtommath/bn_mp_mod.c +48 -0
  493. data/ext/stormlib/StormLib/src/libtommath/bn_mp_mod_2d.c +55 -0
  494. data/ext/stormlib/StormLib/src/libtommath/bn_mp_mod_d.c +27 -0
  495. data/ext/stormlib/StormLib/src/libtommath/bn_mp_montgomery_calc_normalization.c +59 -0
  496. data/ext/stormlib/StormLib/src/libtommath/bn_mp_montgomery_reduce.c +118 -0
  497. data/ext/stormlib/StormLib/src/libtommath/bn_mp_montgomery_setup.c +59 -0
  498. data/ext/stormlib/StormLib/src/libtommath/bn_mp_mul.c +66 -0
  499. data/ext/stormlib/StormLib/src/libtommath/bn_mp_mul_2.c +82 -0
  500. data/ext/stormlib/StormLib/src/libtommath/bn_mp_mul_2d.c +85 -0
  501. data/ext/stormlib/StormLib/src/libtommath/bn_mp_mul_d.c +79 -0
  502. data/ext/stormlib/StormLib/src/libtommath/bn_mp_mulmod.c +40 -0
  503. data/ext/stormlib/StormLib/src/libtommath/bn_mp_n_root.c +132 -0
  504. data/ext/stormlib/StormLib/src/libtommath/bn_mp_neg.c +40 -0
  505. data/ext/stormlib/StormLib/src/libtommath/bn_mp_or.c +50 -0
  506. data/ext/stormlib/StormLib/src/libtommath/bn_mp_prime_fermat.c +62 -0
  507. data/ext/stormlib/StormLib/src/libtommath/bn_mp_prime_is_divisible.c +50 -0
  508. data/ext/stormlib/StormLib/src/libtommath/bn_mp_prime_is_prime.c +83 -0
  509. data/ext/stormlib/StormLib/src/libtommath/bn_mp_prime_miller_rabin.c +103 -0
  510. data/ext/stormlib/StormLib/src/libtommath/bn_mp_prime_next_prime.c +170 -0
  511. data/ext/stormlib/StormLib/src/libtommath/bn_mp_prime_rabin_miller_trials.c +52 -0
  512. data/ext/stormlib/StormLib/src/libtommath/bn_mp_prime_random_ex.c +125 -0
  513. data/ext/stormlib/StormLib/src/libtommath/bn_mp_radix_size.c +78 -0
  514. data/ext/stormlib/StormLib/src/libtommath/bn_mp_radix_smap.c +24 -0
  515. data/ext/stormlib/StormLib/src/libtommath/bn_mp_rand.c +55 -0
  516. data/ext/stormlib/StormLib/src/libtommath/bn_mp_read_radix.c +85 -0
  517. data/ext/stormlib/StormLib/src/libtommath/bn_mp_read_signed_bin.c +41 -0
  518. data/ext/stormlib/StormLib/src/libtommath/bn_mp_read_unsigned_bin.c +55 -0
  519. data/ext/stormlib/StormLib/src/libtommath/bn_mp_reduce.c +100 -0
  520. data/ext/stormlib/StormLib/src/libtommath/bn_mp_reduce_2k.c +61 -0
  521. data/ext/stormlib/StormLib/src/libtommath/bn_mp_reduce_2k_l.c +62 -0
  522. data/ext/stormlib/StormLib/src/libtommath/bn_mp_reduce_2k_setup.c +47 -0
  523. data/ext/stormlib/StormLib/src/libtommath/bn_mp_reduce_2k_setup_l.c +44 -0
  524. data/ext/stormlib/StormLib/src/libtommath/bn_mp_reduce_is_2k.c +52 -0
  525. data/ext/stormlib/StormLib/src/libtommath/bn_mp_reduce_is_2k_l.c +44 -0
  526. data/ext/stormlib/StormLib/src/libtommath/bn_mp_reduce_setup.c +34 -0
  527. data/ext/stormlib/StormLib/src/libtommath/bn_mp_rshd.c +72 -0
  528. data/ext/stormlib/StormLib/src/libtommath/bn_mp_set.c +29 -0
  529. data/ext/stormlib/StormLib/src/libtommath/bn_mp_set_int.c +48 -0
  530. data/ext/stormlib/StormLib/src/libtommath/bn_mp_shrink.c +35 -0
  531. data/ext/stormlib/StormLib/src/libtommath/bn_mp_signed_bin_size.c +27 -0
  532. data/ext/stormlib/StormLib/src/libtommath/bn_mp_sqr.c +58 -0
  533. data/ext/stormlib/StormLib/src/libtommath/bn_mp_sqrmod.c +41 -0
  534. data/ext/stormlib/StormLib/src/libtommath/bn_mp_sqrt.c +81 -0
  535. data/ext/stormlib/StormLib/src/libtommath/bn_mp_sub.c +59 -0
  536. data/ext/stormlib/StormLib/src/libtommath/bn_mp_sub_d.c +93 -0
  537. data/ext/stormlib/StormLib/src/libtommath/bn_mp_submod.c +42 -0
  538. data/ext/stormlib/StormLib/src/libtommath/bn_mp_to_signed_bin.c +33 -0
  539. data/ext/stormlib/StormLib/src/libtommath/bn_mp_to_signed_bin_n.c +31 -0
  540. data/ext/stormlib/StormLib/src/libtommath/bn_mp_to_unsigned_bin.c +48 -0
  541. data/ext/stormlib/StormLib/src/libtommath/bn_mp_to_unsigned_bin_n.c +31 -0
  542. data/ext/stormlib/StormLib/src/libtommath/bn_mp_toom_mul.c +284 -0
  543. data/ext/stormlib/StormLib/src/libtommath/bn_mp_toom_sqr.c +226 -0
  544. data/ext/stormlib/StormLib/src/libtommath/bn_mp_toradix.c +75 -0
  545. data/ext/stormlib/StormLib/src/libtommath/bn_mp_toradix_n.c +88 -0
  546. data/ext/stormlib/StormLib/src/libtommath/bn_mp_unsigned_bin_size.c +28 -0
  547. data/ext/stormlib/StormLib/src/libtommath/bn_mp_xor.c +51 -0
  548. data/ext/stormlib/StormLib/src/libtommath/bn_mp_zero.c +36 -0
  549. data/ext/stormlib/StormLib/src/libtommath/bn_prime_tab.c +61 -0
  550. data/ext/stormlib/StormLib/src/libtommath/bn_reverse.c +39 -0
  551. data/ext/stormlib/StormLib/src/libtommath/bn_s_mp_add.c +109 -0
  552. data/ext/stormlib/StormLib/src/libtommath/bn_s_mp_exptmod.c +252 -0
  553. data/ext/stormlib/StormLib/src/libtommath/bn_s_mp_mul_digs.c +90 -0
  554. data/ext/stormlib/StormLib/src/libtommath/bn_s_mp_mul_high_digs.c +81 -0
  555. data/ext/stormlib/StormLib/src/libtommath/bn_s_mp_sqr.c +84 -0
  556. data/ext/stormlib/StormLib/src/libtommath/bn_s_mp_sub.c +89 -0
  557. data/ext/stormlib/StormLib/src/libtommath/bncore.c +36 -0
  558. data/ext/stormlib/StormLib/src/libtommath/tommath.h +584 -0
  559. data/ext/stormlib/StormLib/src/libtommath/tommath_class.h +999 -0
  560. data/ext/stormlib/StormLib/src/libtommath/tommath_superclass.h +76 -0
  561. data/ext/stormlib/StormLib/src/lzma/C/LzFind.c +761 -0
  562. data/ext/stormlib/StormLib/src/lzma/C/LzFind.h +115 -0
  563. data/ext/stormlib/StormLib/src/lzma/C/LzFindMt.c +793 -0
  564. data/ext/stormlib/StormLib/src/lzma/C/LzFindMt.h +105 -0
  565. data/ext/stormlib/StormLib/src/lzma/C/LzHash.h +54 -0
  566. data/ext/stormlib/StormLib/src/lzma/C/LzmaDec.c +999 -0
  567. data/ext/stormlib/StormLib/src/lzma/C/LzmaDec.h +231 -0
  568. data/ext/stormlib/StormLib/src/lzma/C/LzmaEnc.c +2268 -0
  569. data/ext/stormlib/StormLib/src/lzma/C/LzmaEnc.h +80 -0
  570. data/ext/stormlib/StormLib/src/lzma/C/Threads.c +84 -0
  571. data/ext/stormlib/StormLib/src/lzma/C/Threads.h +59 -0
  572. data/ext/stormlib/StormLib/src/lzma/C/Types.h +236 -0
  573. data/ext/stormlib/StormLib/src/lzma/info.txt +1 -0
  574. data/ext/stormlib/StormLib/src/pklib/crc32.c +66 -0
  575. data/ext/stormlib/StormLib/src/pklib/explode.c +521 -0
  576. data/ext/stormlib/StormLib/src/pklib/implode.c +674 -0
  577. data/ext/stormlib/StormLib/src/pklib/pklib.h +160 -0
  578. data/ext/stormlib/StormLib/src/resource.h +15 -0
  579. data/ext/stormlib/StormLib/src/sparse/sparse.cpp +287 -0
  580. data/ext/stormlib/StormLib/src/sparse/sparse.h +17 -0
  581. data/ext/stormlib/StormLib/src/wdk/sources-cpp.cpp +26 -0
  582. data/ext/stormlib/StormLib/src/wdk/sources-wdk-bzip2.c +13 -0
  583. data/ext/stormlib/StormLib/src/wdk/sources-wdk-ltc.c +4 -0
  584. data/ext/stormlib/StormLib/src/wdk/sources-wdk-lzma.c +8 -0
  585. data/ext/stormlib/StormLib/src/wdk/sources-wdk-misc.c +6 -0
  586. data/ext/stormlib/StormLib/src/wdk/sources-wdk-tomcrypt.c +82 -0
  587. data/ext/stormlib/StormLib/src/wdk/sources-wdk-tommath.c +123 -0
  588. data/ext/stormlib/StormLib/src/wdk/sources-wdk-zlib.c +21 -0
  589. data/ext/stormlib/StormLib/src/zlib/adler32.c +169 -0
  590. data/ext/stormlib/StormLib/src/zlib/compress.c +80 -0
  591. data/ext/stormlib/StormLib/src/zlib/compress_zlib.c +5 -0
  592. data/ext/stormlib/StormLib/src/zlib/crc32.c +442 -0
  593. data/ext/stormlib/StormLib/src/zlib/crc32.h +441 -0
  594. data/ext/stormlib/StormLib/src/zlib/deflate.c +1834 -0
  595. data/ext/stormlib/StormLib/src/zlib/deflate.h +342 -0
  596. data/ext/stormlib/StormLib/src/zlib/gzguts.h +218 -0
  597. data/ext/stormlib/StormLib/src/zlib/inffast.c +340 -0
  598. data/ext/stormlib/StormLib/src/zlib/inffast.h +11 -0
  599. data/ext/stormlib/StormLib/src/zlib/inffixed.h +94 -0
  600. data/ext/stormlib/StormLib/src/zlib/inflate.c +1480 -0
  601. data/ext/stormlib/StormLib/src/zlib/inflate.h +130 -0
  602. data/ext/stormlib/StormLib/src/zlib/inftrees.c +330 -0
  603. data/ext/stormlib/StormLib/src/zlib/inftrees.h +67 -0
  604. data/ext/stormlib/StormLib/src/zlib/trees.c +1244 -0
  605. data/ext/stormlib/StormLib/src/zlib/trees.h +128 -0
  606. data/ext/stormlib/StormLib/src/zlib/zconf.h +428 -0
  607. data/ext/stormlib/StormLib/src/zlib/zlib.h +1613 -0
  608. data/ext/stormlib/StormLib/src/zlib/zutil.c +318 -0
  609. data/ext/stormlib/StormLib/src/zlib/zutil.h +274 -0
  610. data/ext/stormlib/StormLib/storm_dll/storm.cpp +117 -0
  611. data/ext/stormlib/StormLib/storm_dll/storm.def +25 -0
  612. data/ext/stormlib/StormLib/storm_dll/storm.h +65 -0
  613. data/ext/stormlib/StormLib/storm_dll/storm.vcxproj +209 -0
  614. data/ext/stormlib/StormLib/storm_dll/storm.vcxproj.filters +28 -0
  615. data/ext/stormlib/StormLib/storm_dll/storm_test.cpp +182 -0
  616. data/ext/stormlib/StormLib/storm_dll/storm_test.vcxproj +202 -0
  617. data/ext/stormlib/StormLib/storm_dll/storm_test.vcxproj.filters +22 -0
  618. data/ext/stormlib/StormLib/test/StormTest.cpp +4393 -0
  619. data/ext/stormlib/StormLib/test/TLogHelper.cpp +567 -0
  620. data/ext/stormlib/StormLib/test/stormlib-test-001.txt +164 -0
  621. data/ext/stormlib/extconf.rb +0 -2
  622. data/lib/stormlib/version.rb +1 -1
  623. data/stormlib.gemspec +1 -1
  624. metadata +621 -2
@@ -0,0 +1,891 @@
1
+ /* ---- SYMMETRIC KEY STUFF -----
2
+ *
3
+ * We put each of the ciphers scheduled keys in their own structs then we put all of
4
+ * the key formats in one union. This makes the function prototypes easier to use.
5
+ */
6
+ #ifdef LTC_BLOWFISH
7
+ struct blowfish_key {
8
+ ulong32 S[4][256];
9
+ ulong32 K[18];
10
+ };
11
+ #endif
12
+
13
+ #ifdef LTC_RC5
14
+ struct rc5_key {
15
+ int rounds;
16
+ ulong32 K[50];
17
+ };
18
+ #endif
19
+
20
+ #ifdef LTC_RC6
21
+ struct rc6_key {
22
+ ulong32 K[44];
23
+ };
24
+ #endif
25
+
26
+ #ifdef LTC_SAFERP
27
+ struct saferp_key {
28
+ unsigned char K[33][16];
29
+ long rounds;
30
+ };
31
+ #endif
32
+
33
+ #ifdef LTC_RIJNDAEL
34
+ struct rijndael_key {
35
+ ulong32 eK[60], dK[60];
36
+ int Nr;
37
+ };
38
+ #endif
39
+
40
+ #ifdef LTC_KSEED
41
+ struct kseed_key {
42
+ ulong32 K[32], dK[32];
43
+ };
44
+ #endif
45
+
46
+ #ifdef LTC_KASUMI
47
+ struct kasumi_key {
48
+ ulong32 KLi1[8], KLi2[8],
49
+ KOi1[8], KOi2[8], KOi3[8],
50
+ KIi1[8], KIi2[8], KIi3[8];
51
+ };
52
+ #endif
53
+
54
+ #ifdef LTC_XTEA
55
+ struct xtea_key {
56
+ unsigned long A[32], B[32];
57
+ };
58
+ #endif
59
+
60
+ #ifdef LTC_TWOFISH
61
+ #ifndef LTC_TWOFISH_SMALL
62
+ struct twofish_key {
63
+ ulong32 S[4][256], K[40];
64
+ };
65
+ #else
66
+ struct twofish_key {
67
+ ulong32 K[40];
68
+ unsigned char S[32], start;
69
+ };
70
+ #endif
71
+ #endif
72
+
73
+ #ifdef LTC_SAFER
74
+ #define LTC_SAFER_K64_DEFAULT_NOF_ROUNDS 6
75
+ #define LTC_SAFER_K128_DEFAULT_NOF_ROUNDS 10
76
+ #define LTC_SAFER_SK64_DEFAULT_NOF_ROUNDS 8
77
+ #define LTC_SAFER_SK128_DEFAULT_NOF_ROUNDS 10
78
+ #define LTC_SAFER_MAX_NOF_ROUNDS 13
79
+ #define LTC_SAFER_BLOCK_LEN 8
80
+ #define LTC_SAFER_KEY_LEN (1 + LTC_SAFER_BLOCK_LEN * (1 + 2 * LTC_SAFER_MAX_NOF_ROUNDS))
81
+ typedef unsigned char safer_block_t[LTC_SAFER_BLOCK_LEN];
82
+ typedef unsigned char safer_key_t[LTC_SAFER_KEY_LEN];
83
+ struct safer_key { safer_key_t key; };
84
+ #endif
85
+
86
+ #ifdef LTC_RC2
87
+ struct rc2_key { unsigned xkey[64]; };
88
+ #endif
89
+
90
+ #ifdef LTC_DES
91
+ struct des_key {
92
+ ulong32 ek[32], dk[32];
93
+ };
94
+
95
+ struct des3_key {
96
+ ulong32 ek[3][32], dk[3][32];
97
+ };
98
+ #endif
99
+
100
+ #ifdef LTC_CAST5
101
+ struct cast5_key {
102
+ ulong32 K[32], keylen;
103
+ };
104
+ #endif
105
+
106
+ #ifdef LTC_NOEKEON
107
+ struct noekeon_key {
108
+ ulong32 K[4], dK[4];
109
+ };
110
+ #endif
111
+
112
+ #ifdef LTC_SKIPJACK
113
+ struct skipjack_key {
114
+ unsigned char key[10];
115
+ };
116
+ #endif
117
+
118
+ #ifdef LTC_KHAZAD
119
+ struct khazad_key {
120
+ ulong64 roundKeyEnc[8 + 1];
121
+ ulong64 roundKeyDec[8 + 1];
122
+ };
123
+ #endif
124
+
125
+ #ifdef LTC_ANUBIS
126
+ struct anubis_key {
127
+ int keyBits;
128
+ int R;
129
+ ulong32 roundKeyEnc[18 + 1][4];
130
+ ulong32 roundKeyDec[18 + 1][4];
131
+ };
132
+ #endif
133
+
134
+ #ifdef LTC_MULTI2
135
+ struct multi2_key {
136
+ int N;
137
+ ulong32 uk[8];
138
+ };
139
+ #endif
140
+
141
+ typedef union Symmetric_key {
142
+ #ifdef LTC_DES
143
+ struct des_key des;
144
+ struct des3_key des3;
145
+ #endif
146
+ #ifdef LTC_RC2
147
+ struct rc2_key rc2;
148
+ #endif
149
+ #ifdef LTC_SAFER
150
+ struct safer_key safer;
151
+ #endif
152
+ #ifdef LTC_TWOFISH
153
+ struct twofish_key twofish;
154
+ #endif
155
+ #ifdef LTC_BLOWFISH
156
+ struct blowfish_key blowfish;
157
+ #endif
158
+ #ifdef LTC_RC5
159
+ struct rc5_key rc5;
160
+ #endif
161
+ #ifdef LTC_RC6
162
+ struct rc6_key rc6;
163
+ #endif
164
+ #ifdef LTC_SAFERP
165
+ struct saferp_key saferp;
166
+ #endif
167
+ #ifdef LTC_RIJNDAEL
168
+ struct rijndael_key rijndael;
169
+ #endif
170
+ #ifdef LTC_XTEA
171
+ struct xtea_key xtea;
172
+ #endif
173
+ #ifdef LTC_CAST5
174
+ struct cast5_key cast5;
175
+ #endif
176
+ #ifdef LTC_NOEKEON
177
+ struct noekeon_key noekeon;
178
+ #endif
179
+ #ifdef LTC_SKIPJACK
180
+ struct skipjack_key skipjack;
181
+ #endif
182
+ #ifdef LTC_KHAZAD
183
+ struct khazad_key khazad;
184
+ #endif
185
+ #ifdef LTC_ANUBIS
186
+ struct anubis_key anubis;
187
+ #endif
188
+ #ifdef LTC_KSEED
189
+ struct kseed_key kseed;
190
+ #endif
191
+ #ifdef LTC_KASUMI
192
+ struct kasumi_key kasumi;
193
+ #endif
194
+ #ifdef LTC_MULTI2
195
+ struct multi2_key multi2;
196
+ #endif
197
+ void *data;
198
+ } symmetric_key;
199
+
200
+ #ifdef LTC_ECB_MODE
201
+ /** A block cipher ECB structure */
202
+ typedef struct {
203
+ /** The index of the cipher chosen */
204
+ int cipher,
205
+ /** The block size of the given cipher */
206
+ blocklen;
207
+ /** The scheduled key */
208
+ symmetric_key key;
209
+ } symmetric_ECB;
210
+ #endif
211
+
212
+ #ifdef LTC_CFB_MODE
213
+ /** A block cipher CFB structure */
214
+ typedef struct {
215
+ /** The index of the cipher chosen */
216
+ int cipher,
217
+ /** The block size of the given cipher */
218
+ blocklen,
219
+ /** The padding offset */
220
+ padlen;
221
+ /** The current IV */
222
+ unsigned char IV[MAXBLOCKSIZE],
223
+ /** The pad used to encrypt/decrypt */
224
+ pad[MAXBLOCKSIZE];
225
+ /** The scheduled key */
226
+ symmetric_key key;
227
+ } symmetric_CFB;
228
+ #endif
229
+
230
+ #ifdef LTC_OFB_MODE
231
+ /** A block cipher OFB structure */
232
+ typedef struct {
233
+ /** The index of the cipher chosen */
234
+ int cipher,
235
+ /** The block size of the given cipher */
236
+ blocklen,
237
+ /** The padding offset */
238
+ padlen;
239
+ /** The current IV */
240
+ unsigned char IV[MAXBLOCKSIZE];
241
+ /** The scheduled key */
242
+ symmetric_key key;
243
+ } symmetric_OFB;
244
+ #endif
245
+
246
+ #ifdef LTC_CBC_MODE
247
+ /** A block cipher CBC structure */
248
+ typedef struct {
249
+ /** The index of the cipher chosen */
250
+ int cipher,
251
+ /** The block size of the given cipher */
252
+ blocklen;
253
+ /** The current IV */
254
+ unsigned char IV[MAXBLOCKSIZE];
255
+ /** The scheduled key */
256
+ symmetric_key key;
257
+ } symmetric_CBC;
258
+ #endif
259
+
260
+
261
+ #ifdef LTC_CTR_MODE
262
+ /** A block cipher CTR structure */
263
+ typedef struct {
264
+ /** The index of the cipher chosen */
265
+ int cipher,
266
+ /** The block size of the given cipher */
267
+ blocklen,
268
+ /** The padding offset */
269
+ padlen,
270
+ /** The mode (endianess) of the CTR, 0==little, 1==big */
271
+ mode,
272
+ /** counter width */
273
+ ctrlen;
274
+
275
+ /** The counter */
276
+ unsigned char ctr[MAXBLOCKSIZE],
277
+ /** The pad used to encrypt/decrypt */
278
+ pad[MAXBLOCKSIZE];
279
+ /** The scheduled key */
280
+ symmetric_key key;
281
+ } symmetric_CTR;
282
+ #endif
283
+
284
+
285
+ #ifdef LTC_LRW_MODE
286
+ /** A LRW structure */
287
+ typedef struct {
288
+ /** The index of the cipher chosen (must be a 128-bit block cipher) */
289
+ int cipher;
290
+
291
+ /** The current IV */
292
+ unsigned char IV[16],
293
+
294
+ /** the tweak key */
295
+ tweak[16],
296
+
297
+ /** The current pad, it's the product of the first 15 bytes against the tweak key */
298
+ pad[16];
299
+
300
+ /** The scheduled symmetric key */
301
+ symmetric_key key;
302
+
303
+ #ifdef LRW_TABLES
304
+ /** The pre-computed multiplication table */
305
+ unsigned char PC[16][256][16];
306
+ #endif
307
+ } symmetric_LRW;
308
+ #endif
309
+
310
+ #ifdef LTC_F8_MODE
311
+ /** A block cipher F8 structure */
312
+ typedef struct {
313
+ /** The index of the cipher chosen */
314
+ int cipher,
315
+ /** The block size of the given cipher */
316
+ blocklen,
317
+ /** The padding offset */
318
+ padlen;
319
+ /** The current IV */
320
+ unsigned char IV[MAXBLOCKSIZE],
321
+ MIV[MAXBLOCKSIZE];
322
+ /** Current block count */
323
+ ulong32 blockcnt;
324
+ /** The scheduled key */
325
+ symmetric_key key;
326
+ } symmetric_F8;
327
+ #endif
328
+
329
+
330
+ /** cipher descriptor table, last entry has "name == NULL" to mark the end of table */
331
+ extern struct ltc_cipher_descriptor {
332
+ /** name of cipher */
333
+ char *name;
334
+ /** internal ID */
335
+ unsigned char ID;
336
+ /** min keysize (octets) */
337
+ int min_key_length,
338
+ /** max keysize (octets) */
339
+ max_key_length,
340
+ /** block size (octets) */
341
+ block_length,
342
+ /** default number of rounds */
343
+ default_rounds;
344
+ /** Setup the cipher
345
+ @param key The input symmetric key
346
+ @param keylen The length of the input key (octets)
347
+ @param num_rounds The requested number of rounds (0==default)
348
+ @param skey [out] The destination of the scheduled key
349
+ @return CRYPT_OK if successful
350
+ */
351
+ int (*setup)(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
352
+ /** Encrypt a block
353
+ @param pt The plaintext
354
+ @param ct [out] The ciphertext
355
+ @param skey The scheduled key
356
+ @return CRYPT_OK if successful
357
+ */
358
+ int (*ecb_encrypt)(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
359
+ /** Decrypt a block
360
+ @param ct The ciphertext
361
+ @param pt [out] The plaintext
362
+ @param skey The scheduled key
363
+ @return CRYPT_OK if successful
364
+ */
365
+ int (*ecb_decrypt)(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
366
+ /** Test the block cipher
367
+ @return CRYPT_OK if successful, CRYPT_NOP if self-testing has been disabled
368
+ */
369
+ int (*test)(void);
370
+
371
+ /** Terminate the context
372
+ @param skey The scheduled key
373
+ */
374
+ void (*done)(symmetric_key *skey);
375
+
376
+ /** Determine a key size
377
+ @param keysize [in/out] The size of the key desired and the suggested size
378
+ @return CRYPT_OK if successful
379
+ */
380
+ int (*keysize)(int *keysize);
381
+
382
+ /** Accelerators **/
383
+ /** Accelerated ECB encryption
384
+ @param pt Plaintext
385
+ @param ct Ciphertext
386
+ @param blocks The number of complete blocks to process
387
+ @param skey The scheduled key context
388
+ @return CRYPT_OK if successful
389
+ */
390
+ int (*accel_ecb_encrypt)(const unsigned char *pt, unsigned char *ct, unsigned long blocks, symmetric_key *skey);
391
+
392
+ /** Accelerated ECB decryption
393
+ @param pt Plaintext
394
+ @param ct Ciphertext
395
+ @param blocks The number of complete blocks to process
396
+ @param skey The scheduled key context
397
+ @return CRYPT_OK if successful
398
+ */
399
+ int (*accel_ecb_decrypt)(const unsigned char *ct, unsigned char *pt, unsigned long blocks, symmetric_key *skey);
400
+
401
+ /** Accelerated CBC encryption
402
+ @param pt Plaintext
403
+ @param ct Ciphertext
404
+ @param blocks The number of complete blocks to process
405
+ @param IV The initial value (input/output)
406
+ @param skey The scheduled key context
407
+ @return CRYPT_OK if successful
408
+ */
409
+ int (*accel_cbc_encrypt)(const unsigned char *pt, unsigned char *ct, unsigned long blocks, unsigned char *IV, symmetric_key *skey);
410
+
411
+ /** Accelerated CBC decryption
412
+ @param pt Plaintext
413
+ @param ct Ciphertext
414
+ @param blocks The number of complete blocks to process
415
+ @param IV The initial value (input/output)
416
+ @param skey The scheduled key context
417
+ @return CRYPT_OK if successful
418
+ */
419
+ int (*accel_cbc_decrypt)(const unsigned char *ct, unsigned char *pt, unsigned long blocks, unsigned char *IV, symmetric_key *skey);
420
+
421
+ /** Accelerated CTR encryption
422
+ @param pt Plaintext
423
+ @param ct Ciphertext
424
+ @param blocks The number of complete blocks to process
425
+ @param IV The initial value (input/output)
426
+ @param mode little or big endian counter (mode=0 or mode=1)
427
+ @param skey The scheduled key context
428
+ @return CRYPT_OK if successful
429
+ */
430
+ int (*accel_ctr_encrypt)(const unsigned char *pt, unsigned char *ct, unsigned long blocks, unsigned char *IV, int mode, symmetric_key *skey);
431
+
432
+ /** Accelerated LRW
433
+ @param pt Plaintext
434
+ @param ct Ciphertext
435
+ @param blocks The number of complete blocks to process
436
+ @param IV The initial value (input/output)
437
+ @param tweak The LRW tweak
438
+ @param skey The scheduled key context
439
+ @return CRYPT_OK if successful
440
+ */
441
+ int (*accel_lrw_encrypt)(const unsigned char *pt, unsigned char *ct, unsigned long blocks, unsigned char *IV, const unsigned char *tweak, symmetric_key *skey);
442
+
443
+ /** Accelerated LRW
444
+ @param ct Ciphertext
445
+ @param pt Plaintext
446
+ @param blocks The number of complete blocks to process
447
+ @param IV The initial value (input/output)
448
+ @param tweak The LRW tweak
449
+ @param skey The scheduled key context
450
+ @return CRYPT_OK if successful
451
+ */
452
+ int (*accel_lrw_decrypt)(const unsigned char *ct, unsigned char *pt, unsigned long blocks, unsigned char *IV, const unsigned char *tweak, symmetric_key *skey);
453
+
454
+ /** Accelerated CCM packet (one-shot)
455
+ @param key The secret key to use
456
+ @param keylen The length of the secret key (octets)
457
+ @param uskey A previously scheduled key [optional can be NULL]
458
+ @param nonce The session nonce [use once]
459
+ @param noncelen The length of the nonce
460
+ @param header The header for the session
461
+ @param headerlen The length of the header (octets)
462
+ @param pt [out] The plaintext
463
+ @param ptlen The length of the plaintext (octets)
464
+ @param ct [out] The ciphertext
465
+ @param tag [out] The destination tag
466
+ @param taglen [in/out] The max size and resulting size of the authentication tag
467
+ @param direction Encrypt or Decrypt direction (0 or 1)
468
+ @return CRYPT_OK if successful
469
+ */
470
+ int (*accel_ccm_memory)(
471
+ const unsigned char *key, unsigned long keylen,
472
+ symmetric_key *uskey,
473
+ const unsigned char *nonce, unsigned long noncelen,
474
+ const unsigned char *header, unsigned long headerlen,
475
+ unsigned char *pt, unsigned long ptlen,
476
+ unsigned char *ct,
477
+ unsigned char *tag, unsigned long *taglen,
478
+ int direction);
479
+
480
+ /** Accelerated GCM packet (one shot)
481
+ @param key The secret key
482
+ @param keylen The length of the secret key
483
+ @param IV The initial vector
484
+ @param IVlen The length of the initial vector
485
+ @param adata The additional authentication data (header)
486
+ @param adatalen The length of the adata
487
+ @param pt The plaintext
488
+ @param ptlen The length of the plaintext (ciphertext length is the same)
489
+ @param ct The ciphertext
490
+ @param tag [out] The MAC tag
491
+ @param taglen [in/out] The MAC tag length
492
+ @param direction Encrypt or Decrypt mode (GCM_ENCRYPT or GCM_DECRYPT)
493
+ @return CRYPT_OK on success
494
+ */
495
+ int (*accel_gcm_memory)(
496
+ const unsigned char *key, unsigned long keylen,
497
+ const unsigned char *IV, unsigned long IVlen,
498
+ const unsigned char *adata, unsigned long adatalen,
499
+ unsigned char *pt, unsigned long ptlen,
500
+ unsigned char *ct,
501
+ unsigned char *tag, unsigned long *taglen,
502
+ int direction);
503
+
504
+ /** Accelerated one shot LTC_OMAC
505
+ @param key The secret key
506
+ @param keylen The key length (octets)
507
+ @param in The message
508
+ @param inlen Length of message (octets)
509
+ @param out [out] Destination for tag
510
+ @param outlen [in/out] Initial and final size of out
511
+ @return CRYPT_OK on success
512
+ */
513
+ int (*omac_memory)(
514
+ const unsigned char *key, unsigned long keylen,
515
+ const unsigned char *in, unsigned long inlen,
516
+ unsigned char *out, unsigned long *outlen);
517
+
518
+ /** Accelerated one shot XCBC
519
+ @param key The secret key
520
+ @param keylen The key length (octets)
521
+ @param in The message
522
+ @param inlen Length of message (octets)
523
+ @param out [out] Destination for tag
524
+ @param outlen [in/out] Initial and final size of out
525
+ @return CRYPT_OK on success
526
+ */
527
+ int (*xcbc_memory)(
528
+ const unsigned char *key, unsigned long keylen,
529
+ const unsigned char *in, unsigned long inlen,
530
+ unsigned char *out, unsigned long *outlen);
531
+
532
+ /** Accelerated one shot F9
533
+ @param key The secret key
534
+ @param keylen The key length (octets)
535
+ @param in The message
536
+ @param inlen Length of message (octets)
537
+ @param out [out] Destination for tag
538
+ @param outlen [in/out] Initial and final size of out
539
+ @return CRYPT_OK on success
540
+ @remark Requires manual padding
541
+ */
542
+ int (*f9_memory)(
543
+ const unsigned char *key, unsigned long keylen,
544
+ const unsigned char *in, unsigned long inlen,
545
+ unsigned char *out, unsigned long *outlen);
546
+ } cipher_descriptor[];
547
+
548
+ #ifdef LTC_BLOWFISH
549
+ int blowfish_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
550
+ int blowfish_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
551
+ int blowfish_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
552
+ int blowfish_test(void);
553
+ void blowfish_done(symmetric_key *skey);
554
+ int blowfish_keysize(int *keysize);
555
+ extern const struct ltc_cipher_descriptor blowfish_desc;
556
+ #endif
557
+
558
+ #ifdef LTC_RC5
559
+ int rc5_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
560
+ int rc5_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
561
+ int rc5_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
562
+ int rc5_test(void);
563
+ void rc5_done(symmetric_key *skey);
564
+ int rc5_keysize(int *keysize);
565
+ extern const struct ltc_cipher_descriptor rc5_desc;
566
+ #endif
567
+
568
+ #ifdef LTC_RC6
569
+ int rc6_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
570
+ int rc6_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
571
+ int rc6_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
572
+ int rc6_test(void);
573
+ void rc6_done(symmetric_key *skey);
574
+ int rc6_keysize(int *keysize);
575
+ extern const struct ltc_cipher_descriptor rc6_desc;
576
+ #endif
577
+
578
+ #ifdef LTC_RC2
579
+ int rc2_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
580
+ int rc2_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
581
+ int rc2_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
582
+ int rc2_test(void);
583
+ void rc2_done(symmetric_key *skey);
584
+ int rc2_keysize(int *keysize);
585
+ extern const struct ltc_cipher_descriptor rc2_desc;
586
+ #endif
587
+
588
+ #ifdef LTC_SAFERP
589
+ int saferp_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
590
+ int saferp_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
591
+ int saferp_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
592
+ int saferp_test(void);
593
+ void saferp_done(symmetric_key *skey);
594
+ int saferp_keysize(int *keysize);
595
+ extern const struct ltc_cipher_descriptor saferp_desc;
596
+ #endif
597
+
598
+ #ifdef LTC_SAFER
599
+ int safer_k64_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
600
+ int safer_sk64_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
601
+ int safer_k128_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
602
+ int safer_sk128_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
603
+ int safer_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *key);
604
+ int safer_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *key);
605
+ int safer_k64_test(void);
606
+ int safer_sk64_test(void);
607
+ int safer_sk128_test(void);
608
+ void safer_done(symmetric_key *skey);
609
+ int safer_64_keysize(int *keysize);
610
+ int safer_128_keysize(int *keysize);
611
+ extern const struct ltc_cipher_descriptor safer_k64_desc, safer_k128_desc, safer_sk64_desc, safer_sk128_desc;
612
+ #endif
613
+
614
+ #ifdef LTC_RIJNDAEL
615
+
616
+ /* make aes an alias */
617
+ #define aes_setup rijndael_setup
618
+ #define aes_ecb_encrypt rijndael_ecb_encrypt
619
+ #define aes_ecb_decrypt rijndael_ecb_decrypt
620
+ #define aes_test rijndael_test
621
+ #define aes_done rijndael_done
622
+ #define aes_keysize rijndael_keysize
623
+
624
+ #define aes_enc_setup rijndael_enc_setup
625
+ #define aes_enc_ecb_encrypt rijndael_enc_ecb_encrypt
626
+ #define aes_enc_keysize rijndael_enc_keysize
627
+
628
+ int rijndael_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
629
+ int rijndael_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
630
+ int rijndael_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
631
+ int rijndael_test(void);
632
+ void rijndael_done(symmetric_key *skey);
633
+ int rijndael_keysize(int *keysize);
634
+ int rijndael_enc_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
635
+ int rijndael_enc_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
636
+ void rijndael_enc_done(symmetric_key *skey);
637
+ int rijndael_enc_keysize(int *keysize);
638
+ extern const struct ltc_cipher_descriptor rijndael_desc, aes_desc;
639
+ extern const struct ltc_cipher_descriptor rijndael_enc_desc, aes_enc_desc;
640
+ #endif
641
+
642
+ #ifdef LTC_XTEA
643
+ int xtea_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
644
+ int xtea_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
645
+ int xtea_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
646
+ int xtea_test(void);
647
+ void xtea_done(symmetric_key *skey);
648
+ int xtea_keysize(int *keysize);
649
+ extern const struct ltc_cipher_descriptor xtea_desc;
650
+ #endif
651
+
652
+ #ifdef LTC_TWOFISH
653
+ int twofish_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
654
+ int twofish_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
655
+ int twofish_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
656
+ int twofish_test(void);
657
+ void twofish_done(symmetric_key *skey);
658
+ int twofish_keysize(int *keysize);
659
+ extern const struct ltc_cipher_descriptor twofish_desc;
660
+ #endif
661
+
662
+ #ifdef LTC_DES
663
+ int des_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
664
+ int des_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
665
+ int des_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
666
+ int des_test(void);
667
+ void des_done(symmetric_key *skey);
668
+ int des_keysize(int *keysize);
669
+ int des3_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
670
+ int des3_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
671
+ int des3_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
672
+ int des3_test(void);
673
+ void des3_done(symmetric_key *skey);
674
+ int des3_keysize(int *keysize);
675
+ extern const struct ltc_cipher_descriptor des_desc, des3_desc;
676
+ #endif
677
+
678
+ #ifdef LTC_CAST5
679
+ int cast5_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
680
+ int cast5_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
681
+ int cast5_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
682
+ int cast5_test(void);
683
+ void cast5_done(symmetric_key *skey);
684
+ int cast5_keysize(int *keysize);
685
+ extern const struct ltc_cipher_descriptor cast5_desc;
686
+ #endif
687
+
688
+ #ifdef LTC_NOEKEON
689
+ int noekeon_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
690
+ int noekeon_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
691
+ int noekeon_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
692
+ int noekeon_test(void);
693
+ void noekeon_done(symmetric_key *skey);
694
+ int noekeon_keysize(int *keysize);
695
+ extern const struct ltc_cipher_descriptor noekeon_desc;
696
+ #endif
697
+
698
+ #ifdef LTC_SKIPJACK
699
+ int skipjack_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
700
+ int skipjack_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
701
+ int skipjack_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
702
+ int skipjack_test(void);
703
+ void skipjack_done(symmetric_key *skey);
704
+ int skipjack_keysize(int *keysize);
705
+ extern const struct ltc_cipher_descriptor skipjack_desc;
706
+ #endif
707
+
708
+ #ifdef LTC_KHAZAD
709
+ int khazad_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
710
+ int khazad_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
711
+ int khazad_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
712
+ int khazad_test(void);
713
+ void khazad_done(symmetric_key *skey);
714
+ int khazad_keysize(int *keysize);
715
+ extern const struct ltc_cipher_descriptor khazad_desc;
716
+ #endif
717
+
718
+ #ifdef LTC_ANUBIS
719
+ int anubis_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
720
+ int anubis_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
721
+ int anubis_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
722
+ int anubis_test(void);
723
+ void anubis_done(symmetric_key *skey);
724
+ int anubis_keysize(int *keysize);
725
+ extern const struct ltc_cipher_descriptor anubis_desc;
726
+ #endif
727
+
728
+ #ifdef LTC_KSEED
729
+ int kseed_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
730
+ int kseed_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
731
+ int kseed_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
732
+ int kseed_test(void);
733
+ void kseed_done(symmetric_key *skey);
734
+ int kseed_keysize(int *keysize);
735
+ extern const struct ltc_cipher_descriptor kseed_desc;
736
+ #endif
737
+
738
+ #ifdef LTC_KASUMI
739
+ int kasumi_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
740
+ int kasumi_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
741
+ int kasumi_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
742
+ int kasumi_test(void);
743
+ void kasumi_done(symmetric_key *skey);
744
+ int kasumi_keysize(int *keysize);
745
+ extern const struct ltc_cipher_descriptor kasumi_desc;
746
+ #endif
747
+
748
+
749
+ #ifdef LTC_MULTI2
750
+ int multi2_setup(const unsigned char *key, int keylen, int num_rounds, symmetric_key *skey);
751
+ int multi2_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey);
752
+ int multi2_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey);
753
+ int multi2_test(void);
754
+ void multi2_done(symmetric_key *skey);
755
+ int multi2_keysize(int *keysize);
756
+ extern const struct ltc_cipher_descriptor multi2_desc;
757
+ #endif
758
+
759
+ #ifdef LTC_ECB_MODE
760
+ int ecb_start(int cipher, const unsigned char *key,
761
+ int keylen, int num_rounds, symmetric_ECB *ecb);
762
+ int ecb_encrypt(const unsigned char *pt, unsigned char *ct, unsigned long len, symmetric_ECB *ecb);
763
+ int ecb_decrypt(const unsigned char *ct, unsigned char *pt, unsigned long len, symmetric_ECB *ecb);
764
+ int ecb_done(symmetric_ECB *ecb);
765
+ #endif
766
+
767
+ #ifdef LTC_CFB_MODE
768
+ int cfb_start(int cipher, const unsigned char *IV, const unsigned char *key,
769
+ int keylen, int num_rounds, symmetric_CFB *cfb);
770
+ int cfb_encrypt(const unsigned char *pt, unsigned char *ct, unsigned long len, symmetric_CFB *cfb);
771
+ int cfb_decrypt(const unsigned char *ct, unsigned char *pt, unsigned long len, symmetric_CFB *cfb);
772
+ int cfb_getiv(unsigned char *IV, unsigned long *len, symmetric_CFB *cfb);
773
+ int cfb_setiv(const unsigned char *IV, unsigned long len, symmetric_CFB *cfb);
774
+ int cfb_done(symmetric_CFB *cfb);
775
+ #endif
776
+
777
+ #ifdef LTC_OFB_MODE
778
+ int ofb_start(int cipher, const unsigned char *IV, const unsigned char *key,
779
+ int keylen, int num_rounds, symmetric_OFB *ofb);
780
+ int ofb_encrypt(const unsigned char *pt, unsigned char *ct, unsigned long len, symmetric_OFB *ofb);
781
+ int ofb_decrypt(const unsigned char *ct, unsigned char *pt, unsigned long len, symmetric_OFB *ofb);
782
+ int ofb_getiv(unsigned char *IV, unsigned long *len, symmetric_OFB *ofb);
783
+ int ofb_setiv(const unsigned char *IV, unsigned long len, symmetric_OFB *ofb);
784
+ int ofb_done(symmetric_OFB *ofb);
785
+ #endif
786
+
787
+ #ifdef LTC_CBC_MODE
788
+ int cbc_start(int cipher, const unsigned char *IV, const unsigned char *key,
789
+ int keylen, int num_rounds, symmetric_CBC *cbc);
790
+ int cbc_encrypt(const unsigned char *pt, unsigned char *ct, unsigned long len, symmetric_CBC *cbc);
791
+ int cbc_decrypt(const unsigned char *ct, unsigned char *pt, unsigned long len, symmetric_CBC *cbc);
792
+ int cbc_getiv(unsigned char *IV, unsigned long *len, symmetric_CBC *cbc);
793
+ int cbc_setiv(const unsigned char *IV, unsigned long len, symmetric_CBC *cbc);
794
+ int cbc_done(symmetric_CBC *cbc);
795
+ #endif
796
+
797
+ #ifdef LTC_CTR_MODE
798
+
799
+ #define CTR_COUNTER_LITTLE_ENDIAN 0x0000
800
+ #define CTR_COUNTER_BIG_ENDIAN 0x1000
801
+ #define LTC_CTR_RFC3686 0x2000
802
+
803
+ int ctr_start( int cipher,
804
+ const unsigned char *IV,
805
+ const unsigned char *key, int keylen,
806
+ int num_rounds, int ctr_mode,
807
+ symmetric_CTR *ctr);
808
+ int ctr_encrypt(const unsigned char *pt, unsigned char *ct, unsigned long len, symmetric_CTR *ctr);
809
+ int ctr_decrypt(const unsigned char *ct, unsigned char *pt, unsigned long len, symmetric_CTR *ctr);
810
+ int ctr_getiv(unsigned char *IV, unsigned long *len, symmetric_CTR *ctr);
811
+ int ctr_setiv(const unsigned char *IV, unsigned long len, symmetric_CTR *ctr);
812
+ int ctr_done(symmetric_CTR *ctr);
813
+ int ctr_test(void);
814
+ #endif
815
+
816
+ #ifdef LTC_LRW_MODE
817
+
818
+ #define LRW_ENCRYPT 0
819
+ #define LRW_DECRYPT 1
820
+
821
+ int lrw_start( int cipher,
822
+ const unsigned char *IV,
823
+ const unsigned char *key, int keylen,
824
+ const unsigned char *tweak,
825
+ int num_rounds,
826
+ symmetric_LRW *lrw);
827
+ int lrw_encrypt(const unsigned char *pt, unsigned char *ct, unsigned long len, symmetric_LRW *lrw);
828
+ int lrw_decrypt(const unsigned char *ct, unsigned char *pt, unsigned long len, symmetric_LRW *lrw);
829
+ int lrw_getiv(unsigned char *IV, unsigned long *len, symmetric_LRW *lrw);
830
+ int lrw_setiv(const unsigned char *IV, unsigned long len, symmetric_LRW *lrw);
831
+ int lrw_done(symmetric_LRW *lrw);
832
+ int lrw_test(void);
833
+
834
+ /* don't call */
835
+ int lrw_process(const unsigned char *pt, unsigned char *ct, unsigned long len, int mode, symmetric_LRW *lrw);
836
+ #endif
837
+
838
+ #ifdef LTC_F8_MODE
839
+ int f8_start( int cipher, const unsigned char *IV,
840
+ const unsigned char *key, int keylen,
841
+ const unsigned char *salt_key, int skeylen,
842
+ int num_rounds, symmetric_F8 *f8);
843
+ int f8_encrypt(const unsigned char *pt, unsigned char *ct, unsigned long len, symmetric_F8 *f8);
844
+ int f8_decrypt(const unsigned char *ct, unsigned char *pt, unsigned long len, symmetric_F8 *f8);
845
+ int f8_getiv(unsigned char *IV, unsigned long *len, symmetric_F8 *f8);
846
+ int f8_setiv(const unsigned char *IV, unsigned long len, symmetric_F8 *f8);
847
+ int f8_done(symmetric_F8 *f8);
848
+ int f8_test_mode(void);
849
+ #endif
850
+
851
+ #ifdef LTC_XTS_MODE
852
+ typedef struct {
853
+ symmetric_key key1, key2;
854
+ int cipher;
855
+ } symmetric_xts;
856
+
857
+ int xts_start( int cipher,
858
+ const unsigned char *key1,
859
+ const unsigned char *key2,
860
+ unsigned long keylen,
861
+ int num_rounds,
862
+ symmetric_xts *xts);
863
+
864
+ int xts_encrypt(
865
+ const unsigned char *pt, unsigned long ptlen,
866
+ unsigned char *ct,
867
+ const unsigned char *tweak,
868
+ symmetric_xts *xts);
869
+ int xts_decrypt(
870
+ const unsigned char *ct, unsigned long ptlen,
871
+ unsigned char *pt,
872
+ const unsigned char *tweak,
873
+ symmetric_xts *xts);
874
+
875
+ void xts_done(symmetric_xts *xts);
876
+ int xts_test(void);
877
+ void xts_mult_x(unsigned char *I);
878
+ #endif
879
+
880
+ int find_cipher(const char *name);
881
+ int find_cipher_any(const char *name, int blocklen, int keylen);
882
+ int find_cipher_id(unsigned char ID);
883
+ int register_cipher(const struct ltc_cipher_descriptor *cipher);
884
+ int unregister_cipher(const struct ltc_cipher_descriptor *cipher);
885
+ int cipher_is_valid(int idx);
886
+
887
+ LTC_MUTEX_PROTO(ltc_cipher_mutex)
888
+
889
+ /* $Source: /cvs/libtom/libtomcrypt/src/headers/tomcrypt_cipher.h,v $ */
890
+ /* $Revision: 1.54 $ */
891
+ /* $Date: 2007/05/12 14:37:41 $ */