rbnacl-libsodium 0.4.5 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (282) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rbnacl/libsodium/version.rb +1 -1
  3. data/vendor/libsodium/AUTHORS +14 -9
  4. data/vendor/libsodium/ChangeLog +26 -0
  5. data/vendor/libsodium/LICENSE +1 -1
  6. data/vendor/libsodium/Makefile.am +1 -0
  7. data/vendor/libsodium/README.markdown +185 -46
  8. data/vendor/libsodium/THANKS +10 -0
  9. data/vendor/libsodium/builds/msvc/properties/Common.props +21 -0
  10. data/vendor/libsodium/builds/msvc/properties/DLL.props +16 -0
  11. data/vendor/libsodium/builds/msvc/properties/Debug.props +29 -0
  12. data/vendor/libsodium/builds/msvc/properties/DebugDEXE.props +21 -0
  13. data/vendor/libsodium/builds/msvc/properties/DebugDLL.props +20 -0
  14. data/vendor/libsodium/builds/msvc/properties/DebugLEXE.props +20 -0
  15. data/vendor/libsodium/builds/msvc/properties/DebugLIB.props +20 -0
  16. data/vendor/libsodium/builds/msvc/properties/DebugLTCG.props +19 -0
  17. data/vendor/libsodium/builds/msvc/properties/DebugSEXE.props +21 -0
  18. data/vendor/libsodium/builds/msvc/properties/EXE.props +17 -0
  19. data/vendor/libsodium/builds/msvc/properties/LIB.props +16 -0
  20. data/vendor/libsodium/builds/msvc/properties/LTCG.props +13 -0
  21. data/vendor/libsodium/builds/msvc/properties/Link.props +21 -0
  22. data/vendor/libsodium/builds/msvc/properties/Messages.props +15 -0
  23. data/vendor/libsodium/builds/msvc/properties/Output.props +30 -0
  24. data/vendor/libsodium/builds/msvc/properties/Release.props +41 -0
  25. data/vendor/libsodium/builds/msvc/properties/ReleaseDEXE.props +20 -0
  26. data/vendor/libsodium/builds/msvc/properties/ReleaseDLL.props +19 -0
  27. data/vendor/libsodium/builds/msvc/properties/ReleaseLEXE.props +20 -0
  28. data/vendor/libsodium/builds/msvc/properties/ReleaseLIB.props +19 -0
  29. data/vendor/libsodium/builds/msvc/properties/ReleaseLTCG.props +19 -0
  30. data/vendor/libsodium/builds/msvc/properties/ReleaseSEXE.props +20 -0
  31. data/vendor/libsodium/builds/msvc/properties/Win32.props +20 -0
  32. data/vendor/libsodium/builds/msvc/properties/x64.props +23 -0
  33. data/vendor/libsodium/builds/msvc/resource.h +0 -0
  34. data/vendor/libsodium/builds/msvc/resource.rc +0 -0
  35. data/vendor/libsodium/builds/msvc/version.h +29 -0
  36. data/vendor/libsodium/builds/msvc/vs2010/libsodium.import.props +52 -0
  37. data/vendor/libsodium/builds/msvc/vs2010/libsodium.import.xml +17 -0
  38. data/vendor/libsodium/builds/msvc/vs2010/libsodium.sln +79 -0
  39. data/vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.props +43 -0
  40. data/vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.vcxproj +345 -0
  41. data/vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.vcxproj.filters +1037 -0
  42. data/vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.xml +15 -0
  43. data/vendor/libsodium/builds/msvc/vs2010/test/test.props +37 -0
  44. data/vendor/libsodium/builds/msvc/vs2010/test/test.runner.bat +78 -0
  45. data/vendor/libsodium/builds/msvc/vs2010/test/test.vcxproj +220 -0
  46. data/vendor/libsodium/builds/msvc/vs2010/test/test.vcxproj.filters +168 -0
  47. data/vendor/libsodium/builds/msvc/vs2012/libsodium.import.props +52 -0
  48. data/vendor/libsodium/builds/msvc/vs2012/libsodium.import.xml +17 -0
  49. data/vendor/libsodium/builds/msvc/vs2012/libsodium.sln +79 -0
  50. data/vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.props +43 -0
  51. data/vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.vcxproj +345 -0
  52. data/vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.vcxproj.filters +1037 -0
  53. data/vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.xml +15 -0
  54. data/vendor/libsodium/builds/msvc/vs2012/test/test.props +37 -0
  55. data/vendor/libsodium/builds/msvc/vs2012/test/test.runner.bat +78 -0
  56. data/vendor/libsodium/builds/msvc/vs2012/test/test.vcxproj +220 -0
  57. data/vendor/libsodium/builds/msvc/vs2012/test/test.vcxproj.filters +168 -0
  58. data/vendor/libsodium/builds/msvc/vs2013/libsodium.import.props +52 -0
  59. data/vendor/libsodium/builds/msvc/vs2013/libsodium.import.xml +17 -0
  60. data/vendor/libsodium/builds/msvc/vs2013/libsodium.sln +81 -0
  61. data/vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.props +43 -0
  62. data/vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.vcxproj +345 -0
  63. data/vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.vcxproj.filters +1037 -0
  64. data/vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.xml +15 -0
  65. data/vendor/libsodium/builds/msvc/vs2013/test/test.props +37 -0
  66. data/vendor/libsodium/builds/msvc/vs2013/test/test.runner.bat +78 -0
  67. data/vendor/libsodium/builds/msvc/vs2013/test/test.vcxproj +220 -0
  68. data/vendor/libsodium/builds/msvc/vs2013/test/test.vcxproj.filters +168 -0
  69. data/vendor/libsodium/configure.ac +87 -68
  70. data/vendor/libsodium/dist-build/Makefile.am +10 -0
  71. data/vendor/libsodium/dist-build/android-arm.sh +3 -0
  72. data/vendor/libsodium/dist-build/android-armv7.sh +3 -0
  73. data/vendor/libsodium/dist-build/android-build.sh +37 -0
  74. data/vendor/libsodium/dist-build/android-mips.sh +3 -0
  75. data/vendor/libsodium/dist-build/android-x86.sh +3 -0
  76. data/vendor/libsodium/dist-build/emscripten.sh +13 -0
  77. data/vendor/libsodium/dist-build/{iphone.sh → ios.sh} +2 -2
  78. data/vendor/libsodium/dist-build/msys2-win32.sh +10 -0
  79. data/vendor/libsodium/dist-build/msys2-win64.sh +10 -0
  80. data/vendor/libsodium/libsodium.vcxproj +25 -13
  81. data/vendor/libsodium/libsodium.vcxproj.filters +60 -24
  82. data/vendor/libsodium/msvc-scripts/process.bat +3 -7
  83. data/vendor/libsodium/packaging/nuget/package.bat +13 -0
  84. data/vendor/libsodium/packaging/nuget/package.config +4 -0
  85. data/vendor/libsodium/packaging/nuget/package.gsl +255 -0
  86. data/vendor/libsodium/packaging/nuget/package.nuspec +93 -0
  87. data/vendor/libsodium/packaging/nuget/package.targets +128 -0
  88. data/vendor/libsodium/packaging/nuget/package.xml +22 -0
  89. data/vendor/libsodium/src/libsodium/Makefile.am +32 -20
  90. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha256/auth_hmacsha256_api.c +0 -5
  91. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha256/{ref → cp}/api.h +0 -1
  92. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha256/cp/hmac_hmacsha256.c +110 -0
  93. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha256/{ref → cp}/verify_hmacsha256.c +0 -0
  94. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512/auth_hmacsha512_api.c +11 -0
  95. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512/cp/api.h +9 -0
  96. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512/cp/hmac_hmacsha512.c +110 -0
  97. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512/cp/verify_hmacsha512.c +10 -0
  98. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512256/auth_hmacsha512256_api.c +0 -5
  99. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512256/{ref → cp}/api.h +0 -1
  100. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512256/cp/hmac_hmacsha512256.c +54 -0
  101. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512256/{ref → cp}/verify_hmacsha512256.c +2 -1
  102. data/vendor/libsodium/src/libsodium/crypto_box/crypto_box_easy.c +94 -0
  103. data/vendor/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/box_curve25519xsalsa20poly1305_api.c +0 -5
  104. data/vendor/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/ref/api.h +0 -1
  105. data/vendor/libsodium/src/libsodium/crypto_core/hsalsa20/core_hsalsa20_api.c +0 -5
  106. data/vendor/libsodium/src/libsodium/crypto_core/hsalsa20/ref2/api.h +0 -1
  107. data/vendor/libsodium/src/libsodium/crypto_core/salsa20/core_salsa20_api.c +0 -5
  108. data/vendor/libsodium/src/libsodium/crypto_core/salsa20/ref/api.h +0 -1
  109. data/vendor/libsodium/src/libsodium/crypto_core/salsa2012/core_salsa2012_api.c +0 -5
  110. data/vendor/libsodium/src/libsodium/crypto_core/salsa2012/ref/api.h +0 -1
  111. data/vendor/libsodium/src/libsodium/crypto_core/salsa208/core_salsa208_api.c +0 -5
  112. data/vendor/libsodium/src/libsodium/crypto_core/salsa208/ref/api.h +0 -1
  113. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/generichash_blake2_api.c +15 -5
  114. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/api.h +0 -2
  115. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2.h +14 -6
  116. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-ref.c +95 -0
  117. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/generichash_blake2b.c +50 -3
  118. data/vendor/libsodium/src/libsodium/crypto_generichash/crypto_generichash.c +4 -10
  119. data/vendor/libsodium/src/libsodium/crypto_hash/crypto_hash.c +11 -0
  120. data/vendor/libsodium/src/libsodium/crypto_hash/sha256/{ref → cp}/api.h +3 -1
  121. data/vendor/libsodium/src/libsodium/crypto_hash/sha256/cp/hash_sha256.c +294 -0
  122. data/vendor/libsodium/src/libsodium/crypto_hash/sha256/hash_sha256_api.c +0 -5
  123. data/vendor/libsodium/src/libsodium/crypto_hash/sha512/{ref → cp}/api.h +3 -1
  124. data/vendor/libsodium/src/libsodium/crypto_hash/sha512/cp/hash_sha512.c +321 -0
  125. data/vendor/libsodium/src/libsodium/crypto_hash/sha512/hash_sha512_api.c +0 -5
  126. data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/auth_poly1305_donna.c +51 -127
  127. data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.h +12 -0
  128. data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna32.h +221 -0
  129. data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna64.h +209 -0
  130. data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305_api.c +0 -5
  131. data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305_try.c +1 -140
  132. data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptxsalsa208sha256/crypto_scrypt-common.c +250 -0
  133. data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptxsalsa208sha256/crypto_scrypt.h +100 -0
  134. data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptxsalsa208sha256/nosse/pwhash_scryptxsalsa208sha256_nosse.c +302 -0
  135. data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptxsalsa208sha256/pbkdf2-sha256.c +94 -0
  136. data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptxsalsa208sha256/pbkdf2-sha256.h +45 -0
  137. data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptxsalsa208sha256/pwhash_scryptxsalsa208sha256.c +172 -0
  138. data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptxsalsa208sha256/scrypt_platform.c +96 -0
  139. data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptxsalsa208sha256/sse/pwhash_scryptxsalsa208sha256_sse.c +391 -0
  140. data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptxsalsa208sha256/sysendian.h +146 -0
  141. data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/donna_c64/api.h +2 -2
  142. data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/donna_c64/smult_curve25519_donna_c64.c +39 -9
  143. data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref/api.h +2 -2
  144. data/vendor/libsodium/src/libsodium/crypto_secretbox/crypto_secretbox.c +6 -0
  145. data/vendor/libsodium/src/libsodium/crypto_secretbox/crypto_secretbox_easy.c +94 -0
  146. data/vendor/libsodium/src/libsodium/crypto_secretbox/xsalsa20poly1305/ref/api.h +0 -1
  147. data/vendor/libsodium/src/libsodium/crypto_secretbox/xsalsa20poly1305/secretbox_xsalsa20poly1305_api.c +3 -3
  148. data/vendor/libsodium/src/libsodium/crypto_shorthash/siphash24/ref/api.h +0 -1
  149. data/vendor/libsodium/src/libsodium/crypto_shorthash/siphash24/shorthash_siphash24_api.c +3 -3
  150. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/api.h +0 -1
  151. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_scalarmult_base.c +6 -0
  152. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/keypair.c +5 -3
  153. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/open.c +28 -18
  154. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/sign.c +14 -9
  155. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/sign_ed25519_api.c +0 -5
  156. data/vendor/libsodium/src/libsodium/crypto_sign/edwards25519sha512batch/ref/api.h +0 -1
  157. data/vendor/libsodium/src/libsodium/crypto_sign/edwards25519sha512batch/sign_edwards25519sha512batch_api.c +0 -5
  158. data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/afternm_aes128ctr.c +21 -21
  159. data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/api.h +0 -1
  160. data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/int128.h +6 -0
  161. data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/xor_afternm_aes128ctr.c +42 -42
  162. data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/stream_aes128ctr_api.c +0 -5
  163. data/vendor/libsodium/src/libsodium/crypto_stream/aes256estream/hongjun/aes-table-be.h +4 -4
  164. data/vendor/libsodium/src/libsodium/crypto_stream/aes256estream/hongjun/aes-table-le.h +4 -4
  165. data/vendor/libsodium/src/libsodium/crypto_stream/aes256estream/hongjun/aes256-ctr.c +15 -14
  166. data/vendor/libsodium/src/libsodium/crypto_stream/aes256estream/hongjun/api.h +0 -1
  167. data/vendor/libsodium/src/libsodium/crypto_stream/aes256estream/hongjun/ecrypt-sync.h +1 -1
  168. data/vendor/libsodium/src/libsodium/crypto_stream/aes256estream/stream_aes256estream_api.c +0 -5
  169. data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/amd64_xmm6/stream_salsa20_amd64_xmm6.S +153 -160
  170. data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/ref/api.h +2 -5
  171. data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/ref/stream_salsa20_ref.c +9 -3
  172. data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/ref/xor_salsa20_ref.c +9 -3
  173. data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/stream_salsa20_api.c +0 -5
  174. data/vendor/libsodium/src/libsodium/crypto_stream/salsa2012/ref/api.h +0 -1
  175. data/vendor/libsodium/src/libsodium/crypto_stream/salsa2012/stream_salsa2012_api.c +0 -5
  176. data/vendor/libsodium/src/libsodium/crypto_stream/salsa208/ref/api.h +0 -1
  177. data/vendor/libsodium/src/libsodium/crypto_stream/salsa208/stream_salsa208_api.c +0 -5
  178. data/vendor/libsodium/src/libsodium/crypto_stream/xsalsa20/ref/api.h +0 -1
  179. data/vendor/libsodium/src/libsodium/crypto_stream/xsalsa20/stream_xsalsa20_api.c +0 -5
  180. data/vendor/libsodium/src/libsodium/crypto_verify/64/ref/api.h +2 -0
  181. data/vendor/libsodium/src/libsodium/crypto_verify/64/ref/verify_64.c +72 -0
  182. data/vendor/libsodium/src/libsodium/crypto_verify/64/verify_64_api.c +6 -0
  183. data/vendor/libsodium/src/libsodium/include/Makefile.am +6 -7
  184. data/vendor/libsodium/src/libsodium/include/sodium.h +4 -3
  185. data/vendor/libsodium/src/libsodium/include/sodium/crypto_auth.h +3 -0
  186. data/vendor/libsodium/src/libsodium/include/sodium/crypto_auth_hmacsha256.h +31 -9
  187. data/vendor/libsodium/src/libsodium/include/sodium/crypto_auth_hmacsha512.h +58 -0
  188. data/vendor/libsodium/src/libsodium/include/sodium/crypto_auth_hmacsha512256.h +26 -9
  189. data/vendor/libsodium/src/libsodium/include/sodium/crypto_box.h +13 -0
  190. data/vendor/libsodium/src/libsodium/include/sodium/crypto_box_curve25519xsalsa20poly1305.h +38 -24
  191. data/vendor/libsodium/src/libsodium/include/sodium/crypto_core_hsalsa20.h +6 -11
  192. data/vendor/libsodium/src/libsodium/include/sodium/crypto_core_salsa20.h +6 -11
  193. data/vendor/libsodium/src/libsodium/include/sodium/crypto_core_salsa2012.h +6 -11
  194. data/vendor/libsodium/src/libsodium/include/sodium/crypto_core_salsa208.h +6 -11
  195. data/vendor/libsodium/src/libsodium/include/sodium/crypto_generichash.h +7 -8
  196. data/vendor/libsodium/src/libsodium/include/sodium/crypto_generichash_blake2b.h +36 -16
  197. data/vendor/libsodium/src/libsodium/include/sodium/crypto_hash.h +13 -4
  198. data/vendor/libsodium/src/libsodium/include/sodium/crypto_hash_sha256.h +25 -7
  199. data/vendor/libsodium/src/libsodium/include/sodium/crypto_hash_sha512.h +25 -7
  200. data/vendor/libsodium/src/libsodium/include/sodium/crypto_onetimeauth.h +3 -0
  201. data/vendor/libsodium/src/libsodium/include/sodium/crypto_onetimeauth_poly1305.h +5 -5
  202. data/vendor/libsodium/src/libsodium/include/sodium/crypto_onetimeauth_poly1305_donna.h +3 -0
  203. data/vendor/libsodium/src/libsodium/include/sodium/crypto_pwhash_scryptxsalsa208sha256.h +48 -0
  204. data/vendor/libsodium/src/libsodium/include/sodium/crypto_scalarmult_curve25519.h +31 -0
  205. data/vendor/libsodium/src/libsodium/include/sodium/crypto_secretbox.h +17 -0
  206. data/vendor/libsodium/src/libsodium/include/sodium/crypto_secretbox_xsalsa20poly1305.h +21 -11
  207. data/vendor/libsodium/src/libsodium/include/sodium/crypto_shorthash.h +3 -0
  208. data/vendor/libsodium/src/libsodium/include/sodium/crypto_shorthash_siphash24.h +8 -7
  209. data/vendor/libsodium/src/libsodium/include/sodium/crypto_sign.h +3 -0
  210. data/vendor/libsodium/src/libsodium/include/sodium/crypto_sign_ed25519.h +16 -17
  211. data/vendor/libsodium/src/libsodium/include/sodium/crypto_sign_edwards25519sha512batch.h +18 -14
  212. data/vendor/libsodium/src/libsodium/include/sodium/crypto_stream.h +3 -0
  213. data/vendor/libsodium/src/libsodium/include/sodium/crypto_stream_aes128ctr.h +18 -18
  214. data/vendor/libsodium/src/libsodium/include/sodium/crypto_stream_aes256estream.h +19 -18
  215. data/vendor/libsodium/src/libsodium/include/sodium/{crypto_stream_salsa20.h.in → crypto_stream_salsa20.h} +8 -19
  216. data/vendor/libsodium/src/libsodium/include/sodium/crypto_stream_salsa2012.h +8 -8
  217. data/vendor/libsodium/src/libsodium/include/sodium/crypto_stream_salsa208.h +8 -8
  218. data/vendor/libsodium/src/libsodium/include/sodium/crypto_stream_xsalsa20.h +10 -11
  219. data/vendor/libsodium/src/libsodium/include/sodium/crypto_verify_16.h +1 -4
  220. data/vendor/libsodium/src/libsodium/include/sodium/crypto_verify_32.h +1 -4
  221. data/vendor/libsodium/src/libsodium/include/sodium/crypto_verify_64.h +22 -0
  222. data/vendor/libsodium/src/libsodium/include/sodium/randombytes.h +3 -0
  223. data/vendor/libsodium/src/libsodium/include/sodium/runtime.h +27 -0
  224. data/vendor/libsodium/src/libsodium/include/sodium/utils.h +15 -3
  225. data/vendor/libsodium/src/libsodium/randombytes/randombytes.c +3 -1
  226. data/vendor/libsodium/src/libsodium/randombytes/salsa20/randombytes_salsa20_random.c +18 -7
  227. data/vendor/libsodium/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c +57 -9
  228. data/vendor/libsodium/src/libsodium/sodium/compat.c +62 -0
  229. data/vendor/libsodium/src/libsodium/sodium/core.c +2 -0
  230. data/vendor/libsodium/src/libsodium/sodium/runtime.c +134 -0
  231. data/vendor/libsodium/src/libsodium/sodium/utils.c +100 -8
  232. data/vendor/libsodium/test/default/Makefile.am +63 -3
  233. data/vendor/libsodium/test/default/auth6.c +21 -0
  234. data/vendor/libsodium/test/default/auth6.exp +8 -0
  235. data/vendor/libsodium/test/default/auth7.c +37 -0
  236. data/vendor/libsodium/test/default/auth7.exp +0 -0
  237. data/vendor/libsodium/test/default/box_easy.c +59 -0
  238. data/vendor/libsodium/test/default/box_easy.exp +19 -0
  239. data/vendor/libsodium/test/default/box_easy2.c +31 -0
  240. data/vendor/libsodium/test/default/box_easy2.exp +1 -0
  241. data/vendor/libsodium/test/default/cmptest.h +7 -1
  242. data/vendor/libsodium/test/default/generichash3.c +36 -0
  243. data/vendor/libsodium/test/default/generichash3.exp +64 -0
  244. data/vendor/libsodium/test/default/pwhash.c +59 -0
  245. data/vendor/libsodium/test/default/pwhash.exp +2 -0
  246. data/vendor/libsodium/test/default/scalarmult7.c +0 -2
  247. data/vendor/libsodium/test/default/scalarmult8.c +0 -2
  248. data/vendor/libsodium/test/default/secretbox_easy.c +51 -0
  249. data/vendor/libsodium/test/default/secretbox_easy.exp +19 -0
  250. data/vendor/libsodium/test/default/secretbox_easy2.c +27 -0
  251. data/vendor/libsodium/test/default/secretbox_easy2.exp +1 -0
  252. data/vendor/libsodium/test/default/sign.c +1106 -0
  253. data/vendor/libsodium/test/default/sign.exp +3 -0
  254. data/vendor/libsodium/test/default/sodium_utils.c +8 -0
  255. data/vendor/libsodium/test/default/sodium_utils.exp +2 -1
  256. data/vendor/libsodium/test/default/sodium_version.c +1 -1
  257. data/vendor/libsodium/test/default/verify1.c +34 -0
  258. data/vendor/libsodium/test/default/verify1.exp +6 -0
  259. metadata +138 -33
  260. data/vendor/libsodium/dist-build/android.sh +0 -48
  261. data/vendor/libsodium/dist-build/msys.sh +0 -9
  262. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha256/ref/hmac_hmacsha256.c +0 -83
  263. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512256/ref/hmac_hmacsha512256.c +0 -86
  264. data/vendor/libsodium/src/libsodium/crypto_hash/sha256/ref/hash_sha256.c +0 -69
  265. data/vendor/libsodium/src/libsodium/crypto_hash/sha512/ref/hash_sha512.c +0 -71
  266. data/vendor/libsodium/src/libsodium/crypto_hashblocks/sha256/checksum +0 -1
  267. data/vendor/libsodium/src/libsodium/crypto_hashblocks/sha256/hashblocks_sha256_api.c +0 -16
  268. data/vendor/libsodium/src/libsodium/crypto_hashblocks/sha256/ref/api.h +0 -9
  269. data/vendor/libsodium/src/libsodium/crypto_hashblocks/sha256/ref/blocks_sha256.c +0 -212
  270. data/vendor/libsodium/src/libsodium/crypto_hashblocks/sha512/checksum +0 -1
  271. data/vendor/libsodium/src/libsodium/crypto_hashblocks/sha512/hashblocks_sha512_api.c +0 -16
  272. data/vendor/libsodium/src/libsodium/crypto_hashblocks/sha512/ref/api.h +0 -9
  273. data/vendor/libsodium/src/libsodium/crypto_hashblocks/sha512/ref/blocks_sha512.c +0 -239
  274. data/vendor/libsodium/src/libsodium/crypto_hashblocks/try.c +0 -78
  275. data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/53/api.h +0 -8
  276. data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/53/auth_poly1305_53.c +0 -1661
  277. data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/53/verify_poly1305_53.c +0 -10
  278. data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/portable-jane.h +0 -772
  279. data/vendor/libsodium/src/libsodium/include/sodium/crypto_hashblocks_sha256.h +0 -32
  280. data/vendor/libsodium/src/libsodium/include/sodium/crypto_hashblocks_sha512.h +0 -32
  281. data/vendor/libsodium/src/libsodium/include/sodium/crypto_onetimeauth_poly1305_53.h +0 -34
  282. data/vendor/libsodium/src/libsodium/include/sodium/crypto_scalarmult_curve25519.h.in +0 -44
@@ -0,0 +1,20 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+
4
+ <PropertyGroup>
5
+ <_PropertySheetDisplayName>Console Release Static</_PropertySheetDisplayName>
6
+ <DefaultLinkage>static</DefaultLinkage>
7
+ </PropertyGroup>
8
+
9
+ <ImportGroup Label="PropertySheets">
10
+ <Import Project="Release.props" />
11
+ <Import Project="EXE.props" />
12
+ </ImportGroup>
13
+
14
+ <ItemDefinitionGroup>
15
+ <ClCompile>
16
+ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
17
+ </ClCompile>
18
+ </ItemDefinitionGroup>
19
+
20
+ </Project>
@@ -0,0 +1,20 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+
4
+ <PropertyGroup>
5
+ <_PropertySheetDisplayName>x86 Settings</_PropertySheetDisplayName>
6
+ </PropertyGroup>
7
+
8
+ <ItemDefinitionGroup>
9
+ <ClCompile>
10
+ <PreprocessorDefinitions>WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
11
+ </ClCompile>
12
+ <Link>
13
+ <TargetMachine>MachineX86</TargetMachine>
14
+ </Link>
15
+ <Lib>
16
+ <AdditionalOptions>/MACHINE:X86 %(AdditionalOptions)</AdditionalOptions>
17
+ </Lib>
18
+ </ItemDefinitionGroup>
19
+
20
+ </Project>
@@ -0,0 +1,23 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+
4
+ <PropertyGroup>
5
+ <_PropertySheetDisplayName>x64 Settings</_PropertySheetDisplayName>
6
+ </PropertyGroup>
7
+
8
+ <ItemDefinitionGroup>
9
+ <ClCompile>
10
+ <!-- Note that Win64 defines may cause WIN32 to become defined when using windows headers,
11
+ but _WIN32 implies Windows 32 bit or above. If the standard headers are not included
12
+ these are sometimes required even for 64 bit builds and should never cause harm there.-->
13
+ <PreprocessorDefinitions>WIN32;_WIN32;WIN64;_WIN64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
14
+ </ClCompile>
15
+ <Link>
16
+ <TargetMachine>MachineX64</TargetMachine>
17
+ </Link>
18
+ <Lib>
19
+ <AdditionalOptions>/MACHINE:X64 %(AdditionalOptions)</AdditionalOptions>
20
+ </Lib>
21
+ </ItemDefinitionGroup>
22
+
23
+ </Project>
@@ -0,0 +1,29 @@
1
+
2
+ #ifndef __SODIUM_VERSION_H__
3
+ #define __SODIUM_VERSION_H__
4
+
5
+ #include "export.h"
6
+
7
+ #define SODIUM_VERSION_STRING "0.5.0"
8
+
9
+ #define SODIUM_LIBRARY_VERSION_MAJOR 5
10
+ #define SODIUM_LIBRARY_VERSION_MINOR 0
11
+
12
+ #ifdef __cplusplus
13
+ extern "C" {
14
+ #endif
15
+
16
+ SODIUM_EXPORT
17
+ const char *sodium_version_string(void);
18
+
19
+ SODIUM_EXPORT
20
+ int sodium_library_version_major(void);
21
+
22
+ SODIUM_EXPORT
23
+ int sodium_library_version_minor(void);
24
+
25
+ #ifdef __cplusplus
26
+ }
27
+ #endif
28
+
29
+ #endif
@@ -0,0 +1,52 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+
4
+ <PropertyGroup Label="Globals">
5
+ <_PropertySheetDisplayName>Libsodium Import Settings</_PropertySheetDisplayName>
6
+ </PropertyGroup>
7
+
8
+ <!-- User Interface -->
9
+
10
+ <ItemGroup Label="BuildOptionsExtension">
11
+ <PropertyPageSchema Include="$(MSBuildThisFileDirectory)libsodium.import.xml" />
12
+ </ItemGroup>
13
+
14
+ <!-- Linkage -->
15
+
16
+ <ItemDefinitionGroup>
17
+ <ClCompile>
18
+ <AdditionalIncludeDirectories>$(ProjectDir)..\..\..\..\..\libsodium\src\libsodium\include;$(ProjectDir)..\..\..\..\..\libsodium\src\libsodium\include\sodium\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
19
+ <PreprocessorDefinitions Condition="'$(Linkage-libsodium)' == 'static' Or '$(Linkage-libsodium)' == 'ltcg'">SODIUM_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
20
+ </ClCompile>
21
+ <Link>
22
+ <AdditionalDependencies>advapi32.lib;crypt32.lib;libsodium.lib;%(AdditionalDependencies)</AdditionalDependencies>
23
+ <AdditionalLibraryDirectories Condition="$(Configuration.IndexOf('Debug')) != -1">$(ProjectDir)..\..\..\..\..\libsodium\bin\$(PlatformName)\Debug\$(PlatformToolset)\$(Linkage-libsodium)\;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
24
+ <AdditionalLibraryDirectories Condition="$(Configuration.IndexOf('Release')) != -1">$(ProjectDir)..\..\..\..\..\libsodium\bin\$(PlatformName)\Release\$(PlatformToolset)\$(Linkage-libsodium)\;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
25
+ </Link>
26
+ </ItemDefinitionGroup>
27
+
28
+ <!-- Copy -->
29
+
30
+ <Target Name="Linkage-libsodium-dynamic" AfterTargets="AfterBuild" Condition="'$(Linkage-libsodium)' == 'dynamic'">
31
+ <Copy Condition="$(Configuration.IndexOf('Debug')) != -1"
32
+ SourceFiles="$(ProjectDir)..\..\..\..\..\libsodium\bin\$(PlatformName)\Debug\$(PlatformToolset)\dynamic\libsodium.dll"
33
+ DestinationFiles="$(TargetDir)libsodium.dll"
34
+ SkipUnchangedFiles="true" />
35
+ <Copy Condition="$(Configuration.IndexOf('Debug')) != -1"
36
+ SourceFiles="$(ProjectDir)..\..\..\..\..\libsodium\bin\$(PlatformName)\Debug\$(PlatformToolset)\dynamic\libsodium.pdb"
37
+ DestinationFiles="$(TargetDir)libsodium.pdb"
38
+ SkipUnchangedFiles="true" />
39
+ <Copy Condition="$(Configuration.IndexOf('Release')) != -1"
40
+ SourceFiles="$(ProjectDir)..\..\..\..\..\libsodium\bin\$(PlatformName)\Release\$(PlatformToolset)\dynamic\libsodium.dll"
41
+ DestinationFiles="$(TargetDir)libsodium.dll"
42
+ SkipUnchangedFiles="true" />
43
+ </Target>
44
+
45
+ <!-- Messages -->
46
+
47
+ <Target Name="libsodium-info" BeforeTargets="AfterBuild" Condition="'$(Linkage-libsodium)' == 'dynamic'">
48
+ <Message Text="Copying libsodium.dll -&gt; $(TargetDir)libsodium.dll" Importance="high"/>
49
+ <Message Text="Copying libsodium.pdb -&gt; $(TargetDir)libsodium.pdb" Importance="high" Condition="$(Configuration.IndexOf('Debug')) != -1" />
50
+ </Target>
51
+
52
+ </Project>
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <ProjectSchemaDefinitions xmlns="clr-namespace:Microsoft.Build.Framework.XamlTypes;assembly=Microsoft.Build.Framework">
3
+ <Rule Name="libsodium-linkage-uiextension" PageTemplate="tool" DisplayName="Local Dependencies" SwitchPrefix="/" Order="1">
4
+ <Rule.Categories>
5
+ <Category Name="libsodium" DisplayName="libsodium" />
6
+ </Rule.Categories>
7
+ <Rule.DataSource>
8
+ <DataSource Persistence="ProjectFile" ItemType="" />
9
+ </Rule.DataSource>
10
+ <EnumProperty Name="Linkage-libsodium" DisplayName="Linkage" Description="How libsodium will be linked into the output of this project" Category="libsodium">
11
+ <EnumValue Name="" DisplayName="Not linked" />
12
+ <EnumValue Name="dynamic" DisplayName="Dynamic (DLL)" />
13
+ <EnumValue Name="static" DisplayName="Static (LIB)" />
14
+ <EnumValue Name="ltcg" DisplayName="Static using link time compile generation (LTCG)" />
15
+ </EnumProperty>
16
+ </Rule>
17
+ </ProjectSchemaDefinitions>
@@ -0,0 +1,79 @@
1
+ 
2
+ Microsoft Visual Studio Solution File, Format Version 11.00
3
+ # Visual Studio 2010
4
+ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libsodium", "libsodium\libsodium.vcxproj", "{A185B162-6CB6-4502-B03F-B56F7699A8D9}"
5
+ EndProject
6
+ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test", "test\test.vcxproj", "{4EDBA07C-2F08-4C9E-805F-A4921814C117}"
7
+ ProjectSection(ProjectDependencies) = postProject
8
+ {A185B162-6CB6-4502-B03F-B56F7699A8D9} = {A185B162-6CB6-4502-B03F-B56F7699A8D9}
9
+ EndProjectSection
10
+ EndProject
11
+ Global
12
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
13
+ DynDebug|Win32 = DynDebug|Win32
14
+ DynDebug|x64 = DynDebug|x64
15
+ DynRelease|Win32 = DynRelease|Win32
16
+ DynRelease|x64 = DynRelease|x64
17
+ LtcgDebug|Win32 = LtcgDebug|Win32
18
+ LtcgDebug|x64 = LtcgDebug|x64
19
+ LtcgRelease|Win32 = LtcgRelease|Win32
20
+ LtcgRelease|x64 = LtcgRelease|x64
21
+ StaticDebug|Win32 = StaticDebug|Win32
22
+ StaticDebug|x64 = StaticDebug|x64
23
+ StaticRelease|Win32 = StaticRelease|Win32
24
+ StaticRelease|x64 = StaticRelease|x64
25
+ EndGlobalSection
26
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
27
+ {A185B162-6CB6-4502-B03F-B56F7699A8D9}.DynDebug|Win32.ActiveCfg = DebugDLL|Win32
28
+ {A185B162-6CB6-4502-B03F-B56F7699A8D9}.DynDebug|Win32.Build.0 = DebugDLL|Win32
29
+ {A185B162-6CB6-4502-B03F-B56F7699A8D9}.DynDebug|x64.ActiveCfg = DebugDLL|x64
30
+ {A185B162-6CB6-4502-B03F-B56F7699A8D9}.DynDebug|x64.Build.0 = DebugDLL|x64
31
+ {A185B162-6CB6-4502-B03F-B56F7699A8D9}.DynRelease|Win32.ActiveCfg = ReleaseDLL|Win32
32
+ {A185B162-6CB6-4502-B03F-B56F7699A8D9}.DynRelease|Win32.Build.0 = ReleaseDLL|Win32
33
+ {A185B162-6CB6-4502-B03F-B56F7699A8D9}.DynRelease|x64.ActiveCfg = ReleaseDLL|x64
34
+ {A185B162-6CB6-4502-B03F-B56F7699A8D9}.DynRelease|x64.Build.0 = ReleaseDLL|x64
35
+ {A185B162-6CB6-4502-B03F-B56F7699A8D9}.LtcgDebug|Win32.ActiveCfg = DebugLTCG|Win32
36
+ {A185B162-6CB6-4502-B03F-B56F7699A8D9}.LtcgDebug|Win32.Build.0 = DebugLTCG|Win32
37
+ {A185B162-6CB6-4502-B03F-B56F7699A8D9}.LtcgDebug|x64.ActiveCfg = DebugLTCG|x64
38
+ {A185B162-6CB6-4502-B03F-B56F7699A8D9}.LtcgDebug|x64.Build.0 = DebugLTCG|x64
39
+ {A185B162-6CB6-4502-B03F-B56F7699A8D9}.LtcgRelease|Win32.ActiveCfg = ReleaseLTCG|Win32
40
+ {A185B162-6CB6-4502-B03F-B56F7699A8D9}.LtcgRelease|Win32.Build.0 = ReleaseLTCG|Win32
41
+ {A185B162-6CB6-4502-B03F-B56F7699A8D9}.LtcgRelease|x64.ActiveCfg = ReleaseLTCG|x64
42
+ {A185B162-6CB6-4502-B03F-B56F7699A8D9}.LtcgRelease|x64.Build.0 = ReleaseLTCG|x64
43
+ {A185B162-6CB6-4502-B03F-B56F7699A8D9}.StaticDebug|Win32.ActiveCfg = DebugLIB|Win32
44
+ {A185B162-6CB6-4502-B03F-B56F7699A8D9}.StaticDebug|Win32.Build.0 = DebugLIB|Win32
45
+ {A185B162-6CB6-4502-B03F-B56F7699A8D9}.StaticDebug|x64.ActiveCfg = DebugLIB|x64
46
+ {A185B162-6CB6-4502-B03F-B56F7699A8D9}.StaticDebug|x64.Build.0 = DebugLIB|x64
47
+ {A185B162-6CB6-4502-B03F-B56F7699A8D9}.StaticRelease|Win32.ActiveCfg = ReleaseLIB|Win32
48
+ {A185B162-6CB6-4502-B03F-B56F7699A8D9}.StaticRelease|Win32.Build.0 = ReleaseLIB|Win32
49
+ {A185B162-6CB6-4502-B03F-B56F7699A8D9}.StaticRelease|x64.ActiveCfg = ReleaseLIB|x64
50
+ {A185B162-6CB6-4502-B03F-B56F7699A8D9}.StaticRelease|x64.Build.0 = ReleaseLIB|x64
51
+ {4EDBA07C-2F08-4C9E-805F-A4921814C117}.DynDebug|Win32.ActiveCfg = DebugDEXE|Win32
52
+ {4EDBA07C-2F08-4C9E-805F-A4921814C117}.DynDebug|Win32.Build.0 = DebugDEXE|Win32
53
+ {4EDBA07C-2F08-4C9E-805F-A4921814C117}.DynDebug|x64.ActiveCfg = DebugDEXE|x64
54
+ {4EDBA07C-2F08-4C9E-805F-A4921814C117}.DynDebug|x64.Build.0 = DebugDEXE|x64
55
+ {4EDBA07C-2F08-4C9E-805F-A4921814C117}.DynRelease|Win32.ActiveCfg = ReleaseDEXE|Win32
56
+ {4EDBA07C-2F08-4C9E-805F-A4921814C117}.DynRelease|Win32.Build.0 = ReleaseDEXE|Win32
57
+ {4EDBA07C-2F08-4C9E-805F-A4921814C117}.DynRelease|x64.ActiveCfg = ReleaseDEXE|x64
58
+ {4EDBA07C-2F08-4C9E-805F-A4921814C117}.DynRelease|x64.Build.0 = ReleaseDEXE|x64
59
+ {4EDBA07C-2F08-4C9E-805F-A4921814C117}.LtcgDebug|Win32.ActiveCfg = DebugLEXE|Win32
60
+ {4EDBA07C-2F08-4C9E-805F-A4921814C117}.LtcgDebug|Win32.Build.0 = DebugLEXE|Win32
61
+ {4EDBA07C-2F08-4C9E-805F-A4921814C117}.LtcgDebug|x64.ActiveCfg = DebugLEXE|x64
62
+ {4EDBA07C-2F08-4C9E-805F-A4921814C117}.LtcgDebug|x64.Build.0 = DebugLEXE|x64
63
+ {4EDBA07C-2F08-4C9E-805F-A4921814C117}.LtcgRelease|Win32.ActiveCfg = ReleaseLEXE|Win32
64
+ {4EDBA07C-2F08-4C9E-805F-A4921814C117}.LtcgRelease|Win32.Build.0 = ReleaseLEXE|Win32
65
+ {4EDBA07C-2F08-4C9E-805F-A4921814C117}.LtcgRelease|x64.ActiveCfg = ReleaseLEXE|x64
66
+ {4EDBA07C-2F08-4C9E-805F-A4921814C117}.LtcgRelease|x64.Build.0 = ReleaseLEXE|x64
67
+ {4EDBA07C-2F08-4C9E-805F-A4921814C117}.StaticDebug|Win32.ActiveCfg = DebugSEXE|Win32
68
+ {4EDBA07C-2F08-4C9E-805F-A4921814C117}.StaticDebug|Win32.Build.0 = DebugSEXE|Win32
69
+ {4EDBA07C-2F08-4C9E-805F-A4921814C117}.StaticDebug|x64.ActiveCfg = DebugSEXE|x64
70
+ {4EDBA07C-2F08-4C9E-805F-A4921814C117}.StaticDebug|x64.Build.0 = DebugSEXE|x64
71
+ {4EDBA07C-2F08-4C9E-805F-A4921814C117}.StaticRelease|Win32.ActiveCfg = ReleaseSEXE|Win32
72
+ {4EDBA07C-2F08-4C9E-805F-A4921814C117}.StaticRelease|Win32.Build.0 = ReleaseSEXE|Win32
73
+ {4EDBA07C-2F08-4C9E-805F-A4921814C117}.StaticRelease|x64.ActiveCfg = ReleaseSEXE|x64
74
+ {4EDBA07C-2F08-4C9E-805F-A4921814C117}.StaticRelease|x64.Build.0 = ReleaseSEXE|x64
75
+ EndGlobalSection
76
+ GlobalSection(SolutionProperties) = preSolution
77
+ HideSolutionNode = FALSE
78
+ EndGlobalSection
79
+ EndGlobal
@@ -0,0 +1,43 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+
4
+ <PropertyGroup Label="Globals">
5
+ <_PropertySheetDisplayName>Libsodium Common Settings</_PropertySheetDisplayName>
6
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
7
+ <RunCodeAnalysis>false</RunCodeAnalysis>
8
+ </PropertyGroup>
9
+
10
+ <!-- User Interface -->
11
+
12
+ <ItemGroup Label="BuildOptionsExtension">
13
+ <PropertyPageSchema Include="$(MSBuildThisFileDirectory)$(ProjectName).xml" />
14
+ </ItemGroup>
15
+
16
+ <!-- Configuration -->
17
+
18
+ <ItemDefinitionGroup>
19
+ <PreBuildEvent>
20
+ <Command>copy $(BuildRoot)version.h $(RepoRoot)src\libsodium\include\sodium\</Command>
21
+ </PreBuildEvent>
22
+ <ClCompile>
23
+ <AdditionalIncludeDirectories>$(RepoRoot)src\libsodium\include;$(RepoRoot)src\libsodium\include\sodium\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
24
+ <DisableSpecificWarnings>4146;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
25
+ <EnablePREfast>false</EnablePREfast>
26
+ <PreprocessorDefinitions>inline=__inline;NATIVE_LITTLE_ENDIAN;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
27
+ <PreprocessorDefinitions Condition="'$(ConfigurationType)' == 'StaticLibrary'">SODIUM_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
28
+ <PreprocessorDefinitions Condition="'$(ConfigurationType)' == 'DynamicLibrary'">DLL_EXPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
29
+ <PreprocessorDefinitions Condition="'$(Option-amd64asm)' == 'true'">HAVE_AMD64_ASM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
30
+ </ClCompile>
31
+ </ItemDefinitionGroup>
32
+
33
+ <!-- Messages -->
34
+
35
+ <Target Name="CustomInfo" BeforeTargets="PrepareForBuild">
36
+ <Message Text="Will copy $(BuildRoot)version.h -&gt; $(RepoRoot)src\libsodium\include\sodium\version.h" Importance="high"/>
37
+ </Target>
38
+
39
+ <Target Name="OptionInfo" BeforeTargets="PrepareForBuild">
40
+ <Message Text="Option-amd64asm : $(Option-amd64asm)" Importance="high"/>
41
+ </Target>
42
+
43
+ </Project>
@@ -0,0 +1,345 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <PropertyGroup Label="Globals">
4
+ <ProjectGuid>{A185B162-6CB6-4502-B03F-B56F7699A8D9}</ProjectGuid>
5
+ <ProjectName>libsodium</ProjectName>
6
+ <PlatformToolset>v100</PlatformToolset>
7
+ </PropertyGroup>
8
+ <ItemGroup Label="ProjectConfigurations">
9
+ <ProjectConfiguration Include="DebugDLL|Win32">
10
+ <Configuration>DebugDLL</Configuration>
11
+ <Platform>Win32</Platform>
12
+ </ProjectConfiguration>
13
+ <ProjectConfiguration Include="ReleaseDLL|Win32">
14
+ <Configuration>ReleaseDLL</Configuration>
15
+ <Platform>Win32</Platform>
16
+ </ProjectConfiguration>
17
+ <ProjectConfiguration Include="DebugDLL|x64">
18
+ <Configuration>DebugDLL</Configuration>
19
+ <Platform>x64</Platform>
20
+ </ProjectConfiguration>
21
+ <ProjectConfiguration Include="ReleaseDLL|x64">
22
+ <Configuration>ReleaseDLL</Configuration>
23
+ <Platform>x64</Platform>
24
+ </ProjectConfiguration>
25
+ <ProjectConfiguration Include="DebugLTCG|Win32">
26
+ <Configuration>DebugLTCG</Configuration>
27
+ <Platform>Win32</Platform>
28
+ </ProjectConfiguration>
29
+ <ProjectConfiguration Include="ReleaseLTCG|Win32">
30
+ <Configuration>ReleaseLTCG</Configuration>
31
+ <Platform>Win32</Platform>
32
+ </ProjectConfiguration>
33
+ <ProjectConfiguration Include="DebugLTCG|x64">
34
+ <Configuration>DebugLTCG</Configuration>
35
+ <Platform>x64</Platform>
36
+ </ProjectConfiguration>
37
+ <ProjectConfiguration Include="ReleaseLTCG|x64">
38
+ <Configuration>ReleaseLTCG</Configuration>
39
+ <Platform>x64</Platform>
40
+ </ProjectConfiguration>
41
+ <ProjectConfiguration Include="DebugLIB|Win32">
42
+ <Configuration>DebugLIB</Configuration>
43
+ <Platform>Win32</Platform>
44
+ </ProjectConfiguration>
45
+ <ProjectConfiguration Include="ReleaseLIB|Win32">
46
+ <Configuration>ReleaseLIB</Configuration>
47
+ <Platform>Win32</Platform>
48
+ </ProjectConfiguration>
49
+ <ProjectConfiguration Include="DebugLIB|x64">
50
+ <Configuration>DebugLIB</Configuration>
51
+ <Platform>x64</Platform>
52
+ </ProjectConfiguration>
53
+ <ProjectConfiguration Include="ReleaseLIB|x64">
54
+ <Configuration>ReleaseLIB</Configuration>
55
+ <Platform>x64</Platform>
56
+ </ProjectConfiguration>
57
+ </ItemGroup>
58
+ <PropertyGroup Label="Configuration">
59
+ <ConfigurationType Condition="$(Configuration.IndexOf('DLL')) == -1">StaticLibrary</ConfigurationType>
60
+ <ConfigurationType Condition="$(Configuration.IndexOf('DLL')) != -1">DynamicLibrary</ConfigurationType>
61
+ </PropertyGroup>
62
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
63
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
64
+ <ImportGroup Label="PropertySheets">
65
+ <Import Project="$(ProjectDir)..\..\properties\$(Configuration).props" />
66
+ <Import Project="$(ProjectDir)..\..\properties\Output.props" />
67
+ <Import Project="$(ProjectDir)$(ProjectName).props" />
68
+ </ImportGroup>
69
+ <ItemGroup>
70
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\nosse\pwhash_scryptxsalsa208sha256_nosse.c" />
71
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\pwhash_scryptxsalsa208sha256.c" />
72
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\sse\pwhash_scryptxsalsa208sha256_sse.c" />
73
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\donna_c64\base_curve25519_donna_c64.c" />
74
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\donna_c64\smult_curve25519_donna_c64.c" />
75
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\ref\base_curve25519_ref.c" />
76
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\ref\smult_curve25519_ref.c" />
77
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\salsa20\ref\stream_salsa20_ref.c" />
78
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\salsa20\ref\xor_salsa20_ref.c" />
79
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium.h" />
80
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\core.h" />
81
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_auth.h" />
82
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_auth_hmacsha256.h" />
83
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_auth_hmacsha512.h" />
84
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_auth_hmacsha512256.h" />
85
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_box.h" />
86
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_box_curve25519xsalsa20poly1305.h" />
87
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_core_hsalsa20.h" />
88
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_core_salsa20.h" />
89
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_core_salsa2012.h" />
90
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_core_salsa208.h" />
91
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_generichash.h" />
92
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_generichash_blake2b.h" />
93
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_hash.h" />
94
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_hash_sha256.h" />
95
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_hash_sha512.h" />
96
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_onetimeauth.h" />
97
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_onetimeauth_poly1305.h" />
98
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_onetimeauth_poly1305_donna.h" />
99
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_pwhash_scryptxsalsa208sha256.h" />
100
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\runtime.h" />
101
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_scalarmult.h" />
102
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_scalarmult_curve25519.h" />
103
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox.h" />
104
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_secretbox_xsalsa20poly1305.h" />
105
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_shorthash.h" />
106
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_shorthash_siphash24.h" />
107
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_sign.h" />
108
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_sign_ed25519.h" />
109
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_sign_edwards25519sha512batch.h" />
110
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_stream.h" />
111
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_stream_aes128ctr.h" />
112
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_stream_aes256estream.h" />
113
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_stream_salsa20.h" />
114
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_stream_salsa2012.h" />
115
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_stream_salsa208.h" />
116
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_stream_xsalsa20.h" />
117
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_int32.h" />
118
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_int64.h" />
119
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_uint16.h" />
120
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_uint32.h" />
121
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_uint64.h" />
122
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_uint8.h" />
123
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_verify_16.h" />
124
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_verify_32.h" />
125
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_verify_64.h" />
126
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\export.h" />
127
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\randombytes.h" />
128
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\randombytes_salsa20_random.h" />
129
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\randombytes_sysrandom.h" />
130
+ <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\utils.h" />
131
+ </ItemGroup>
132
+ <ItemGroup>
133
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_auth\crypto_auth.c" />
134
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_auth\hmacsha256\auth_hmacsha256_api.c" />
135
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_auth\hmacsha256\cp\hmac_hmacsha256.c" />
136
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_auth\hmacsha256\cp\verify_hmacsha256.c" />
137
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_auth\hmacsha512\auth_hmacsha512_api.c" />
138
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_auth\hmacsha512\cp\hmac_hmacsha512.c" />
139
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_auth\hmacsha512\cp\verify_hmacsha512.c" />
140
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_auth\hmacsha512256\auth_hmacsha512256_api.c" />
141
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_auth\hmacsha512256\cp\api.h" />
142
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_auth\hmacsha512256\cp\hmac_hmacsha512256.c" />
143
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_auth\hmacsha512256\cp\verify_hmacsha512256.c" />
144
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_box\crypto_box.c" />
145
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_box\crypto_box_easy.c" />
146
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_box\curve25519xsalsa20poly1305\box_curve25519xsalsa20poly1305_api.c" />
147
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_box\curve25519xsalsa20poly1305\ref\api.h" />
148
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_box\curve25519xsalsa20poly1305\ref\after_curve25519xsalsa20poly1305.c" />
149
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_box\curve25519xsalsa20poly1305\ref\before_curve25519xsalsa20poly1305.c" />
150
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_box\curve25519xsalsa20poly1305\ref\box_curve25519xsalsa20poly1305.c" />
151
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_box\curve25519xsalsa20poly1305\ref\keypair_curve25519xsalsa20poly1305.c" />
152
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_core\hsalsa20\ref2\core_hsalsa20.c" />
153
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_core\hsalsa20\core_hsalsa20_api.c" />
154
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_core\hsalsa20\ref2\api.h" />
155
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_core\salsa20\ref\core_salsa20.c" />
156
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_core\salsa20\core_salsa20_api.c" />
157
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_core\salsa20\ref\api.h" />
158
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_core\salsa2012\ref\core_salsa2012.c" />
159
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_core\salsa2012\core_salsa2012_api.c" />
160
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_core\salsa2012\ref\api.h" />
161
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_core\salsa208\ref\core_salsa208.c" />
162
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_core\salsa208\core_salsa208_api.c" />
163
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_core\salsa208\ref\api.h" />
164
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_generichash\crypto_generichash.c" />
165
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\generichash_blake2_api.c" />
166
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\ref\api.h" />
167
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\ref\blake2-impl.h" />
168
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\ref\blake2.h" />
169
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\ref\blake2b-ref.c" />
170
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\ref\generichash_blake2b.c" />
171
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_hash\crypto_hash.c" />
172
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_hash\sha256\hash_sha256_api.c" />
173
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_hash\sha256\cp\api.h" />
174
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_hash\sha256\cp\hash_sha256.c" />
175
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_hash\sha512\hash_sha512_api.c" />
176
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_hash\sha512\cp\api.h" />
177
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_hash\sha512\cp\hash_sha512.c" />
178
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_onetimeauth\crypto_onetimeauth.c" />
179
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\onetimeauth_poly1305.c" />
180
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\onetimeauth_poly1305_api.c" />
181
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\onetimeauth_poly1305_try.c" />
182
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\api.h" />
183
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\auth_poly1305_donna.c" />
184
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\verify_poly1305_donna.c" />
185
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\crypto_scrypt-common.c" />
186
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\crypto_scrypt.h" />
187
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\scrypt_platform.c" />
188
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\pbkdf2-sha256.c" />
189
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\pbkdf2-sha256.h" />
190
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\sysendian.h" />
191
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\crypto_scalarmult.c" />
192
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519_api.c" />
193
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\donna_c64\api.h" />
194
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\ref\api.h" />
195
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_secretbox\crypto_secretbox.c" />
196
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_secretbox\crypto_secretbox_easy.c" />
197
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_secretbox\xsalsa20poly1305\secretbox_xsalsa20poly1305_api.c" />
198
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_secretbox\xsalsa20poly1305\ref\api.h" />
199
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_secretbox\xsalsa20poly1305\ref\box_xsalsa20poly1305.c" />
200
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_shorthash\crypto_shorthash.c" />
201
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_shorthash\siphash24\shorthash_siphash24_api.c" />
202
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_shorthash\siphash24\ref\api.h" />
203
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_shorthash\siphash24\ref\shorthash_siphash24.c" />
204
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\crypto_sign.c" />
205
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_auth\hmacsha256\cp\api.h" />
206
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_auth\hmacsha512\cp\api.h" />
207
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\base.h" />
208
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\base2.h" />
209
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\sign_ed25519_api.c" />
210
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\api.h" />
211
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\d.h" />
212
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\d2.h" />
213
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\fe.h" />
214
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\fe_0.c" />
215
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\fe_1.c" />
216
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\fe_add.c" />
217
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\fe_cmov.c" />
218
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\fe_copy.c" />
219
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\fe_frombytes.c" />
220
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\fe_invert.c" />
221
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\fe_isnegative.c" />
222
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\fe_isnonzero.c" />
223
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\fe_mul.c" />
224
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\fe_neg.c" />
225
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\fe_pow22523.c" />
226
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\fe_sq.c" />
227
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\fe_sq2.c" />
228
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\fe_sub.c" />
229
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\fe_tobytes.c" />
230
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\ge.h" />
231
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\ge_add.c" />
232
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\ge_add.h" />
233
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\ge_double_scalarmult.c" />
234
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\ge_frombytes.c" />
235
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\ge_madd.c" />
236
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\ge_madd.h" />
237
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\ge_msub.c" />
238
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\ge_msub.h" />
239
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\ge_p1p1_to_p2.c" />
240
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\ge_p1p1_to_p3.c" />
241
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\ge_p2_0.c" />
242
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\ge_p2_dbl.c" />
243
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\ge_p2_dbl.h" />
244
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\ge_p3_0.c" />
245
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\ge_p3_dbl.c" />
246
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\ge_p3_to_cached.c" />
247
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\ge_p3_to_p2.c" />
248
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\ge_p3_tobytes.c" />
249
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\ge_precomp_0.c" />
250
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\ge_scalarmult_base.c" />
251
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\ge_sub.c" />
252
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\ge_sub.h" />
253
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\ge_tobytes.c" />
254
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\keypair.c" />
255
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\open.c" />
256
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\pow22523.h" />
257
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\pow225521.h" />
258
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\sc.h" />
259
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\sc_muladd.c" />
260
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\sc_reduce.c" />
261
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\sign.c" />
262
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\sqrtm1.h" />
263
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\edwards25519sha512batch\sign_edwards25519sha512batch_api.c" />
264
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\edwards25519sha512batch\ref\api.h" />
265
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\edwards25519sha512batch\ref\fe25519.h" />
266
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\edwards25519sha512batch\ref\fe25519_edwards25519sha512batch.c" />
267
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\edwards25519sha512batch\ref\ge25519.h" />
268
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\edwards25519sha512batch\ref\ge25519_edwards25519sha512batch.c" />
269
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\edwards25519sha512batch\ref\sc25519.h" />
270
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\edwards25519sha512batch\ref\sc25519_edwards25519sha512batch.c" />
271
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_sign\edwards25519sha512batch\ref\sign_edwards25519sha512batch.c" />
272
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\crypto_stream.c" />
273
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\afternm_aes128ctr.c" />
274
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\stream_aes128ctr_api.c" />
275
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\api.h" />
276
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\beforenm_aes128ctr.c" />
277
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\common.h" />
278
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\common_aes128ctr.c" />
279
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\consts.h" />
280
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\consts_aes128ctr.c" />
281
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\int128.h" />
282
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\int128_aes128ctr.c" />
283
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\stream_aes128ctr.c" />
284
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\types.h" />
285
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\xor_afternm_aes128ctr.c" />
286
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\aes-table.h" />
287
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\aes-table-be.h" />
288
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\aes-table-le.h" />
289
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\aes256-ctr.c" />
290
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\aes256.h" />
291
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\stream_aes256estream_api.c" />
292
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\api.h" />
293
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\ecrypt-sync.h" />
294
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\salsa20\amd64_xmm6\api.h" />
295
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\salsa20\ref\api.h" />
296
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\salsa20\stream_salsa20_api.c" />
297
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\salsa2012\stream_salsa2012_api.c" />
298
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\salsa2012\ref\api.h" />
299
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\salsa2012\ref\stream_salsa2012.c" />
300
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\salsa2012\ref\xor_salsa2012.c" />
301
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\salsa208\stream_salsa208_api.c" />
302
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\salsa208\ref\api.h" />
303
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\salsa208\ref\stream_salsa208.c" />
304
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\salsa208\ref\xor_salsa208.c" />
305
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\xsalsa20\stream_xsalsa20_api.c" />
306
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\xsalsa20\ref\api.h" />
307
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\xsalsa20\ref\stream_xsalsa20.c" />
308
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\xsalsa20\ref\xor_xsalsa20.c" />
309
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_verify\16\verify_16_api.c" />
310
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_verify\16\ref\api.h" />
311
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_verify\16\ref\verify_16.c" />
312
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_verify\32\verify_32_api.c" />
313
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_verify\32\ref\api.h" />
314
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_verify\32\ref\verify_32.c" />
315
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_verify\64\verify_64_api.c" />
316
+ <ClInclude Include="..\..\..\..\src\libsodium\crypto_verify\64\ref\api.h" />
317
+ <ClCompile Include="..\..\..\..\src\libsodium\crypto_verify\64\ref\verify_64.c" />
318
+ <ClCompile Include="..\..\..\..\src\libsodium\randombytes\randombytes.c" />
319
+ <ClCompile Include="..\..\..\..\src\libsodium\randombytes\salsa20\randombytes_salsa20_random.c" />
320
+ <ClCompile Include="..\..\..\..\src\libsodium\randombytes\sysrandom\randombytes_sysrandom.c" />
321
+ <ClCompile Include="..\..\..\..\src\libsodium\sodium\compat.c" />
322
+ <ClCompile Include="..\..\..\..\src\libsodium\sodium\core.c" />
323
+ <ClCompile Include="..\..\..\..\src\libsodium\sodium\runtime.c" />
324
+ <ClCompile Include="..\..\..\..\src\libsodium\sodium\utils.c" />
325
+ <ClCompile Include="..\..\..\..\src\libsodium\sodium\version.c" />
326
+ <ClInclude Include="..\..\resource.h" />
327
+ </ItemGroup>
328
+ <ItemGroup>
329
+ <None Include="..\..\..\..\src\libsodium\crypto_stream\salsa20\amd64_xmm6\stream_salsa20_amd64_xmm6.S" />
330
+ </ItemGroup>
331
+ <ItemGroup>
332
+ <ResourceCompile Include="..\..\resource.rc" />
333
+ </ItemGroup>
334
+ <ItemGroup>
335
+ <None Include="..\..\..\..\packaging\nuget\package.bat" />
336
+ <None Include="..\..\..\..\packaging\nuget\package.config" />
337
+ <None Include="..\..\..\..\packaging\nuget\package.gsl" />
338
+ <None Include="..\..\..\..\packaging\nuget\package.nuspec" />
339
+ <None Include="..\..\..\..\packaging\nuget\package.targets" />
340
+ </ItemGroup>
341
+ <ItemGroup>
342
+ <Xml Include="..\..\..\..\packaging\nuget\package.xml" />
343
+ </ItemGroup>
344
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
345
+ </Project>