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,15 @@
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-uiextension" PageTemplate="tool" DisplayName="Sodium Options" SwitchPrefix="/" Order="1">
4
+ <Rule.Categories>
5
+ <Category Name="amd64asm" DisplayName="amd64asm" />
6
+ </Rule.Categories>
7
+ <Rule.DataSource>
8
+ <DataSource Persistence="ProjectFile" ItemType="" />
9
+ </Rule.DataSource>
10
+ <EnumProperty Name="Option-amd64asm" DisplayName="Enable AMD64 Assembly" Description="Enable the AMD64 Assembly build option" Category="amd64asm">
11
+ <EnumValue Name="" DisplayName="No" />
12
+ <EnumValue Name="true" DisplayName="Yes" />
13
+ </EnumProperty>
14
+ </Rule>
15
+ </ProjectSchemaDefinitions>
@@ -0,0 +1,37 @@
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 Test Common Settings</_PropertySheetDisplayName>
6
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
7
+ <RunCodeAnalysis>false</RunCodeAnalysis>
8
+ </PropertyGroup>
9
+
10
+ <!-- Configuration -->
11
+
12
+ <ItemDefinitionGroup>
13
+ <ClCompile>
14
+ <AdditionalIncludeDirectories>$(RepoRoot)test\default\;$(RepoRoot)test\quirks\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
15
+ <EnablePREfast>false</EnablePREfast>
16
+ <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
17
+ <!--<PreprocessorDefinitions>NATIVE_LITTLE_ENDIAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>-->
18
+ </ClCompile>
19
+ </ItemDefinitionGroup>
20
+
21
+ <!-- Dependencies -->
22
+
23
+ <ImportGroup Label="PropertySheets">
24
+ <Import Project="$(SolutionDir)libsodium.import.props" />
25
+ </ImportGroup>
26
+
27
+ <PropertyGroup>
28
+ <Linkage-libsodium>$(DefaultLinkage)</Linkage-libsodium>
29
+ </PropertyGroup>
30
+
31
+ <!-- Messages -->
32
+
33
+ <Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
34
+ <Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
35
+ </Target>
36
+
37
+ </Project>
@@ -0,0 +1,78 @@
1
+ REM WORK IN PROGRESS
2
+
3
+ @ECHO OFF
4
+
5
+ if "%1" == "" (
6
+ echo "Usage: wintest.bat <DebugDLL | ReleaseDLL | DebugLIB | ReleaseLIB | DebugLTCG | DebugLTCG"
7
+ goto :END
8
+ )
9
+
10
+ if "%2" == "x64" (SET ARCH=x64) else (SET ARCH=Win32)
11
+ SET CFLAGS=/nologo /DTEST_SRCDIR=\".\" /I..\..\src\libsodium\include\sodium /I..\..\src\libsodium\include /I..\quirks
12
+ SET LDFLAGS=/link /LTCG advapi32.lib ..\..\Build\%1\%ARCH%\libsodium.lib
13
+
14
+ if not "%3" == "" (
15
+ CD %3
16
+ )
17
+
18
+ if not exist sodium_version.c (
19
+ if not exist sodium_version.c (
20
+ echo "Are you on the right path?" %CD%
21
+ goto :END
22
+ )
23
+ )
24
+
25
+ if "%1" == "DebugDLL" ( goto :DebugDLL )
26
+ if "%1" == "ReleaseDLL" ( goto :ReleaseDLL )
27
+
28
+ if "%1" == "DebugLIB" ( goto :DebugLIB )
29
+ if "%1" == "ReleaseLIB" ( goto :ReleaseLIB )
30
+
31
+ if "%1" == "DebugLTCG" ( goto :DebugLTCG )
32
+ if "%1" == "ReleaseLTCG" ( goto :ReleaseLTCG )
33
+
34
+ echo "Invalid build type"
35
+ goto :END
36
+
37
+ :DebugDLL
38
+ SET CFLAGS=%CFLAGS% /GS /MDd /Od
39
+ SET PATH=..\..\Build\%1\%ARCH%;%PATH%
40
+ goto :COMPILE
41
+ :ReleaseDLL
42
+ SET CFLAGS=%CFLAGS% /MD /Ox
43
+ SET PATH=..\..\Build\%1\%ARCH%;%PATH%
44
+ goto :COMPILE
45
+
46
+ :DebugLIB
47
+ SET CFLAGS=%CFLAGS% /GS /MTd /Od /DSODIUM_STATIC
48
+ goto :COMPILE
49
+ :ReleaseLIB
50
+ SET CFLAGS=%CFLAGS% /MT /Ox /DSODIUM_STATIC
51
+ goto :COMPILE
52
+
53
+ :DebugLTCG
54
+ SET CFLAGS=%CFLAGS% /LTCG /GS /MTd /Od /DSODIUM_STATIC
55
+ goto :COMPILE
56
+ :ReleaseLTCG
57
+ SET CFLAGS=%CFLAGS% /LTCG /MT /Ox /DSODIUM_STATIC
58
+ goto :COMPILE
59
+
60
+ :COMPILE
61
+ echo Running the test suite:
62
+ FOR %%f in (*.c) DO (
63
+ cl %CFLAGS% %%f %LDFLAGS% /errorReport:prompt /OUT:%%f.exe > NUL 2>&1
64
+ if not exist %%f.exe (
65
+ echo %%f compile failed
66
+ goto :END
67
+ )
68
+ %%f.exe
69
+ if errorlevel 1 (
70
+ echo %%f failed
71
+ ) else (
72
+ echo %%f ok
73
+ )
74
+ )
75
+ REM Remove temporary files
76
+ del *.exe *.obj *.res *.exp *.pdb
77
+
78
+ :END
@@ -0,0 +1,220 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <PropertyGroup Label="Globals">
4
+ <ProjectGuid>{4EDBA07C-2F08-4C9E-805F-A4921814C117}</ProjectGuid>
5
+ <ProjectName>test</ProjectName>
6
+ <PlatformToolset>v120</PlatformToolset>
7
+ <ConfigurationType>Application</ConfigurationType>
8
+ </PropertyGroup>
9
+ <ItemGroup Label="ProjectConfigurations">
10
+ <ProjectConfiguration Include="DebugDEXE|Win32">
11
+ <Configuration>DebugDEXE</Configuration>
12
+ <Platform>Win32</Platform>
13
+ </ProjectConfiguration>
14
+ <ProjectConfiguration Include="ReleaseDEXE|Win32">
15
+ <Configuration>ReleaseDEXE</Configuration>
16
+ <Platform>Win32</Platform>
17
+ </ProjectConfiguration>
18
+ <ProjectConfiguration Include="DebugDEXE|x64">
19
+ <Configuration>DebugDEXE</Configuration>
20
+ <Platform>x64</Platform>
21
+ </ProjectConfiguration>
22
+ <ProjectConfiguration Include="ReleaseDEXE|x64">
23
+ <Configuration>ReleaseDEXE</Configuration>
24
+ <Platform>x64</Platform>
25
+ </ProjectConfiguration>
26
+ <ProjectConfiguration Include="DebugLEXE|Win32">
27
+ <Configuration>DebugLEXE</Configuration>
28
+ <Platform>Win32</Platform>
29
+ </ProjectConfiguration>
30
+ <ProjectConfiguration Include="ReleaseLEXE|Win32">
31
+ <Configuration>ReleaseLEXE</Configuration>
32
+ <Platform>Win32</Platform>
33
+ </ProjectConfiguration>
34
+ <ProjectConfiguration Include="DebugLEXE|x64">
35
+ <Configuration>DebugLEXE</Configuration>
36
+ <Platform>x64</Platform>
37
+ </ProjectConfiguration>
38
+ <ProjectConfiguration Include="ReleaseLEXE|x64">
39
+ <Configuration>ReleaseLEXE</Configuration>
40
+ <Platform>x64</Platform>
41
+ </ProjectConfiguration>
42
+ <ProjectConfiguration Include="DebugSEXE|Win32">
43
+ <Configuration>DebugSEXE</Configuration>
44
+ <Platform>Win32</Platform>
45
+ </ProjectConfiguration>
46
+ <ProjectConfiguration Include="ReleaseSEXE|Win32">
47
+ <Configuration>ReleaseSEXE</Configuration>
48
+ <Platform>Win32</Platform>
49
+ </ProjectConfiguration>
50
+ <ProjectConfiguration Include="DebugSEXE|x64">
51
+ <Configuration>DebugSEXE</Configuration>
52
+ <Platform>x64</Platform>
53
+ </ProjectConfiguration>
54
+ <ProjectConfiguration Include="ReleaseSEXE|x64">
55
+ <Configuration>ReleaseSEXE</Configuration>
56
+ <Platform>x64</Platform>
57
+ </ProjectConfiguration>
58
+ </ItemGroup>
59
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
60
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
61
+ <ImportGroup Label="PropertySheets">
62
+ <Import Project="$(ProjectDir)..\..\properties\$(Configuration).props" />
63
+ <Import Project="$(ProjectDir)..\..\properties\Output.props" />
64
+ <Import Project="$(ProjectDir)$(ProjectName).props" />
65
+ </ImportGroup>
66
+ <ItemGroup>
67
+ <ClCompile Include="..\..\..\..\test\default\auth.c">
68
+ <ExcludedFromBuild>false</ExcludedFromBuild>
69
+ </ClCompile>
70
+ <ClCompile Include="..\..\..\..\test\default\auth2.c">
71
+ <ExcludedFromBuild>true</ExcludedFromBuild>
72
+ </ClCompile>
73
+ <ClCompile Include="..\..\..\..\test\default\auth3.c">
74
+ <ExcludedFromBuild>true</ExcludedFromBuild>
75
+ </ClCompile>
76
+ <ClCompile Include="..\..\..\..\test\default\auth5.c">
77
+ <ExcludedFromBuild>true</ExcludedFromBuild>
78
+ </ClCompile>
79
+ <ClCompile Include="..\..\..\..\test\default\box.c">
80
+ <ExcludedFromBuild>true</ExcludedFromBuild>
81
+ </ClCompile>
82
+ <ClCompile Include="..\..\..\..\test\default\box2.c">
83
+ <ExcludedFromBuild>true</ExcludedFromBuild>
84
+ </ClCompile>
85
+ <ClCompile Include="..\..\..\..\test\default\box7.c">
86
+ <ExcludedFromBuild>true</ExcludedFromBuild>
87
+ </ClCompile>
88
+ <ClCompile Include="..\..\..\..\test\default\box8.c">
89
+ <ExcludedFromBuild>true</ExcludedFromBuild>
90
+ </ClCompile>
91
+ <ClCompile Include="..\..\..\..\test\default\box_easy.c">
92
+ <ExcludedFromBuild>true</ExcludedFromBuild>
93
+ </ClCompile>
94
+ <ClCompile Include="..\..\..\..\test\default\box_easy2.c">
95
+ <ExcludedFromBuild>true</ExcludedFromBuild>
96
+ </ClCompile>
97
+ <ClCompile Include="..\..\..\..\test\default\core1.c">
98
+ <ExcludedFromBuild>true</ExcludedFromBuild>
99
+ </ClCompile>
100
+ <ClCompile Include="..\..\..\..\test\default\core2.c">
101
+ <ExcludedFromBuild>true</ExcludedFromBuild>
102
+ </ClCompile>
103
+ <ClCompile Include="..\..\..\..\test\default\core3.c">
104
+ <ExcludedFromBuild>true</ExcludedFromBuild>
105
+ </ClCompile>
106
+ <ClCompile Include="..\..\..\..\test\default\core4.c">
107
+ <ExcludedFromBuild>true</ExcludedFromBuild>
108
+ </ClCompile>
109
+ <ClCompile Include="..\..\..\..\test\default\core5.c">
110
+ <ExcludedFromBuild>true</ExcludedFromBuild>
111
+ </ClCompile>
112
+ <ClCompile Include="..\..\..\..\test\default\core6.c">
113
+ <ExcludedFromBuild>true</ExcludedFromBuild>
114
+ </ClCompile>
115
+ <ClCompile Include="..\..\..\..\test\default\generichash.c">
116
+ <ExcludedFromBuild>true</ExcludedFromBuild>
117
+ </ClCompile>
118
+ <ClCompile Include="..\..\..\..\test\default\generichash2.c">
119
+ <ExcludedFromBuild>true</ExcludedFromBuild>
120
+ </ClCompile>
121
+ <ClCompile Include="..\..\..\..\test\default\generichash3.c">
122
+ <ExcludedFromBuild>true</ExcludedFromBuild>
123
+ </ClCompile>
124
+ <ClCompile Include="..\..\..\..\test\default\hash.c">
125
+ <ExcludedFromBuild>true</ExcludedFromBuild>
126
+ </ClCompile>
127
+ <ClCompile Include="..\..\..\..\test\default\hash3.c">
128
+ <ExcludedFromBuild>true</ExcludedFromBuild>
129
+ </ClCompile>
130
+ <ClCompile Include="..\..\..\..\test\default\onetimeauth.c">
131
+ <ExcludedFromBuild>true</ExcludedFromBuild>
132
+ </ClCompile>
133
+ <ClCompile Include="..\..\..\..\test\default\onetimeauth2.c">
134
+ <ExcludedFromBuild>true</ExcludedFromBuild>
135
+ </ClCompile>
136
+ <ClCompile Include="..\..\..\..\test\default\onetimeauth7.c">
137
+ <ExcludedFromBuild>true</ExcludedFromBuild>
138
+ </ClCompile>
139
+ <ClCompile Include="..\..\..\..\test\default\pwhash.c">
140
+ <ExcludedFromBuild>true</ExcludedFromBuild>
141
+ </ClCompile>
142
+ <ClCompile Include="..\..\..\..\test\default\randombytes.c">
143
+ <ExcludedFromBuild>true</ExcludedFromBuild>
144
+ </ClCompile>
145
+ <ClCompile Include="..\..\..\..\test\default\scalarmult.c">
146
+ <ExcludedFromBuild>true</ExcludedFromBuild>
147
+ </ClCompile>
148
+ <ClCompile Include="..\..\..\..\test\default\scalarmult2.c">
149
+ <ExcludedFromBuild>true</ExcludedFromBuild>
150
+ </ClCompile>
151
+ <ClCompile Include="..\..\..\..\test\default\scalarmult5.c">
152
+ <ExcludedFromBuild>true</ExcludedFromBuild>
153
+ </ClCompile>
154
+ <ClCompile Include="..\..\..\..\test\default\scalarmult6.c">
155
+ <ExcludedFromBuild>true</ExcludedFromBuild>
156
+ </ClCompile>
157
+ <ClCompile Include="..\..\..\..\test\default\scalarmult7.c">
158
+ <ExcludedFromBuild>true</ExcludedFromBuild>
159
+ </ClCompile>
160
+ <ClCompile Include="..\..\..\..\test\default\scalarmult8.c">
161
+ <ExcludedFromBuild>true</ExcludedFromBuild>
162
+ </ClCompile>
163
+ <ClCompile Include="..\..\..\..\test\default\secretbox.c">
164
+ <ExcludedFromBuild>true</ExcludedFromBuild>
165
+ </ClCompile>
166
+ <ClCompile Include="..\..\..\..\test\default\secretbox2.c">
167
+ <ExcludedFromBuild>true</ExcludedFromBuild>
168
+ </ClCompile>
169
+ <ClCompile Include="..\..\..\..\test\default\secretbox7.c">
170
+ <ExcludedFromBuild>true</ExcludedFromBuild>
171
+ </ClCompile>
172
+ <ClCompile Include="..\..\..\..\test\default\secretbox8.c">
173
+ <ExcludedFromBuild>true</ExcludedFromBuild>
174
+ </ClCompile>
175
+ <ClCompile Include="..\..\..\..\test\default\secretbox_easy.c">
176
+ <ExcludedFromBuild>true</ExcludedFromBuild>
177
+ </ClCompile>
178
+ <ClCompile Include="..\..\..\..\test\default\secretbox_easy2.c">
179
+ <ExcludedFromBuild>true</ExcludedFromBuild>
180
+ </ClCompile>
181
+ <ClCompile Include="..\..\..\..\test\default\shorthash.c">
182
+ <ExcludedFromBuild>true</ExcludedFromBuild>
183
+ </ClCompile>
184
+ <ClCompile Include="..\..\..\..\test\default\sign.c">
185
+ <ExcludedFromBuild>true</ExcludedFromBuild>
186
+ </ClCompile>
187
+ <ClCompile Include="..\..\..\..\test\default\sodium_core.c">
188
+ <ExcludedFromBuild>true</ExcludedFromBuild>
189
+ </ClCompile>
190
+ <ClCompile Include="..\..\..\..\test\default\sodium_utils.c">
191
+ <ExcludedFromBuild>true</ExcludedFromBuild>
192
+ </ClCompile>
193
+ <ClCompile Include="..\..\..\..\test\default\sodium_version.c">
194
+ <ExcludedFromBuild>true</ExcludedFromBuild>
195
+ </ClCompile>
196
+ <ClCompile Include="..\..\..\..\test\default\stream.c">
197
+ <ExcludedFromBuild>true</ExcludedFromBuild>
198
+ </ClCompile>
199
+ <ClCompile Include="..\..\..\..\test\default\stream2.c">
200
+ <ExcludedFromBuild>true</ExcludedFromBuild>
201
+ </ClCompile>
202
+ <ClCompile Include="..\..\..\..\test\default\stream3.c">
203
+ <ExcludedFromBuild>true</ExcludedFromBuild>
204
+ </ClCompile>
205
+ <ClCompile Include="..\..\..\..\test\default\stream4.c">
206
+ <ExcludedFromBuild>true</ExcludedFromBuild>
207
+ </ClCompile>
208
+ <ClCompile Include="..\..\..\..\test\default\stream5.c">
209
+ <ExcludedFromBuild>true</ExcludedFromBuild>
210
+ </ClCompile>
211
+ <ClCompile Include="..\..\..\..\test\default\stream6.c">
212
+ <ExcludedFromBuild>true</ExcludedFromBuild>
213
+ </ClCompile>
214
+ </ItemGroup>
215
+ <ItemGroup>
216
+ <ClInclude Include="..\..\..\..\test\default\cmptest.h" />
217
+ <ClInclude Include="..\..\..\..\test\quirks\windows\windows-quirks.h" />
218
+ </ItemGroup>
219
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
220
+ </Project>
@@ -0,0 +1,168 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <ItemGroup>
4
+ <ClCompile Include="..\..\..\..\test\default\auth.c">
5
+ <Filter>src</Filter>
6
+ </ClCompile>
7
+ <ClCompile Include="..\..\..\..\test\default\auth2.c">
8
+ <Filter>src</Filter>
9
+ </ClCompile>
10
+ <ClCompile Include="..\..\..\..\test\default\auth3.c">
11
+ <Filter>src</Filter>
12
+ </ClCompile>
13
+ <ClCompile Include="..\..\..\..\test\default\auth5.c">
14
+ <Filter>src</Filter>
15
+ </ClCompile>
16
+ <ClCompile Include="..\..\..\..\test\default\box.c">
17
+ <Filter>src</Filter>
18
+ </ClCompile>
19
+ <ClCompile Include="..\..\..\..\test\default\box_easy.c">
20
+ <Filter>src</Filter>
21
+ </ClCompile>
22
+ <ClCompile Include="..\..\..\..\test\default\box_easy2.c">
23
+ <Filter>src</Filter>
24
+ </ClCompile>
25
+ <ClCompile Include="..\..\..\..\test\default\box2.c">
26
+ <Filter>src</Filter>
27
+ </ClCompile>
28
+ <ClCompile Include="..\..\..\..\test\default\box7.c">
29
+ <Filter>src</Filter>
30
+ </ClCompile>
31
+ <ClCompile Include="..\..\..\..\test\default\box8.c">
32
+ <Filter>src</Filter>
33
+ </ClCompile>
34
+ <ClCompile Include="..\..\..\..\test\default\core1.c">
35
+ <Filter>src</Filter>
36
+ </ClCompile>
37
+ <ClCompile Include="..\..\..\..\test\default\core2.c">
38
+ <Filter>src</Filter>
39
+ </ClCompile>
40
+ <ClCompile Include="..\..\..\..\test\default\core3.c">
41
+ <Filter>src</Filter>
42
+ </ClCompile>
43
+ <ClCompile Include="..\..\..\..\test\default\core4.c">
44
+ <Filter>src</Filter>
45
+ </ClCompile>
46
+ <ClCompile Include="..\..\..\..\test\default\core5.c">
47
+ <Filter>src</Filter>
48
+ </ClCompile>
49
+ <ClCompile Include="..\..\..\..\test\default\core6.c">
50
+ <Filter>src</Filter>
51
+ </ClCompile>
52
+ <ClCompile Include="..\..\..\..\test\default\generichash.c">
53
+ <Filter>src</Filter>
54
+ </ClCompile>
55
+ <ClCompile Include="..\..\..\..\test\default\generichash2.c">
56
+ <Filter>src</Filter>
57
+ </ClCompile>
58
+ <ClCompile Include="..\..\..\..\test\default\generichash3.c">
59
+ <Filter>src</Filter>
60
+ </ClCompile>
61
+ <ClCompile Include="..\..\..\..\test\default\hash.c">
62
+ <Filter>src</Filter>
63
+ </ClCompile>
64
+ <ClCompile Include="..\..\..\..\test\default\hash3.c">
65
+ <Filter>src</Filter>
66
+ </ClCompile>
67
+ <ClCompile Include="..\..\..\..\test\default\onetimeauth.c">
68
+ <Filter>src</Filter>
69
+ </ClCompile>
70
+ <ClCompile Include="..\..\..\..\test\default\onetimeauth2.c">
71
+ <Filter>src</Filter>
72
+ </ClCompile>
73
+ <ClCompile Include="..\..\..\..\test\default\onetimeauth7.c">
74
+ <Filter>src</Filter>
75
+ </ClCompile>
76
+ <ClCompile Include="..\..\..\..\test\default\randombytes.c">
77
+ <Filter>src</Filter>
78
+ </ClCompile>
79
+ <ClCompile Include="..\..\..\..\test\default\scalarmult.c">
80
+ <Filter>src</Filter>
81
+ </ClCompile>
82
+ <ClCompile Include="..\..\..\..\test\default\scalarmult2.c">
83
+ <Filter>src</Filter>
84
+ </ClCompile>
85
+ <ClCompile Include="..\..\..\..\test\default\scalarmult5.c">
86
+ <Filter>src</Filter>
87
+ </ClCompile>
88
+ <ClCompile Include="..\..\..\..\test\default\scalarmult6.c">
89
+ <Filter>src</Filter>
90
+ </ClCompile>
91
+ <ClCompile Include="..\..\..\..\test\default\scalarmult7.c">
92
+ <Filter>src</Filter>
93
+ </ClCompile>
94
+ <ClCompile Include="..\..\..\..\test\default\scalarmult8.c">
95
+ <Filter>src</Filter>
96
+ </ClCompile>
97
+ <ClCompile Include="..\..\..\..\test\default\secretbox.c">
98
+ <Filter>src</Filter>
99
+ </ClCompile>
100
+ <ClCompile Include="..\..\..\..\test\default\secretbox_easy.c">
101
+ <Filter>src</Filter>
102
+ </ClCompile>
103
+ <ClCompile Include="..\..\..\..\test\default\secretbox_easy2.c">
104
+ <Filter>src</Filter>
105
+ </ClCompile>
106
+ <ClCompile Include="..\..\..\..\test\default\secretbox2.c">
107
+ <Filter>src</Filter>
108
+ </ClCompile>
109
+ <ClCompile Include="..\..\..\..\test\default\secretbox7.c">
110
+ <Filter>src</Filter>
111
+ </ClCompile>
112
+ <ClCompile Include="..\..\..\..\test\default\secretbox8.c">
113
+ <Filter>src</Filter>
114
+ </ClCompile>
115
+ <ClCompile Include="..\..\..\..\test\default\shorthash.c">
116
+ <Filter>src</Filter>
117
+ </ClCompile>
118
+ <ClCompile Include="..\..\..\..\test\default\sodium_core.c">
119
+ <Filter>src</Filter>
120
+ </ClCompile>
121
+ <ClCompile Include="..\..\..\..\test\default\sodium_utils.c">
122
+ <Filter>src</Filter>
123
+ </ClCompile>
124
+ <ClCompile Include="..\..\..\..\test\default\sodium_version.c">
125
+ <Filter>src</Filter>
126
+ </ClCompile>
127
+ <ClCompile Include="..\..\..\..\test\default\stream.c">
128
+ <Filter>src</Filter>
129
+ </ClCompile>
130
+ <ClCompile Include="..\..\..\..\test\default\stream2.c">
131
+ <Filter>src</Filter>
132
+ </ClCompile>
133
+ <ClCompile Include="..\..\..\..\test\default\stream3.c">
134
+ <Filter>src</Filter>
135
+ </ClCompile>
136
+ <ClCompile Include="..\..\..\..\test\default\stream4.c">
137
+ <Filter>src</Filter>
138
+ </ClCompile>
139
+ <ClCompile Include="..\..\..\..\test\default\stream5.c">
140
+ <Filter>src</Filter>
141
+ </ClCompile>
142
+ <ClCompile Include="..\..\..\..\test\default\stream6.c">
143
+ <Filter>src</Filter>
144
+ </ClCompile>
145
+ <ClCompile Include="..\..\..\..\test\default\sign.c">
146
+ <Filter>src</Filter>
147
+ </ClCompile>
148
+ <ClCompile Include="..\..\..\..\test\default\pwhash.c">
149
+ <Filter>src</Filter>
150
+ </ClCompile>
151
+ </ItemGroup>
152
+ <ItemGroup>
153
+ <ClInclude Include="..\..\..\..\test\default\cmptest.h">
154
+ <Filter>include</Filter>
155
+ </ClInclude>
156
+ <ClInclude Include="..\..\..\..\test\quirks\windows\windows-quirks.h">
157
+ <Filter>include</Filter>
158
+ </ClInclude>
159
+ </ItemGroup>
160
+ <ItemGroup>
161
+ <Filter Include="src">
162
+ <UniqueIdentifier>{705beade-aa7f-49c0-900e-4b0cbbdc2f7b}</UniqueIdentifier>
163
+ </Filter>
164
+ <Filter Include="include">
165
+ <UniqueIdentifier>{5b5af4b5-c6aa-4b30-bdef-074b1bdc43ea}</UniqueIdentifier>
166
+ </Filter>
167
+ </ItemGroup>
168
+ </Project>