rbnacl-libsodium 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (141) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +4 -0
  3. data/lib/rbnacl/libsodium/version.rb +1 -1
  4. data/vendor/libsodium/ChangeLog +20 -1
  5. data/vendor/libsodium/Makefile.in +39 -27
  6. data/vendor/libsodium/README.markdown +2 -2
  7. data/vendor/libsodium/THANKS +2 -0
  8. data/vendor/libsodium/aclocal.m4 +36 -33
  9. data/vendor/libsodium/autom4te.cache/output.1 +1118 -841
  10. data/vendor/libsodium/autom4te.cache/output.4 +17517 -0
  11. data/vendor/libsodium/autom4te.cache/requests +760 -531
  12. data/vendor/libsodium/autom4te.cache/traces.1 +13 -14
  13. data/vendor/libsodium/autom4te.cache/traces.4 +2951 -0
  14. data/vendor/libsodium/build-aux/compile +1 -1
  15. data/vendor/libsodium/build-aux/config.guess +13 -160
  16. data/vendor/libsodium/build-aux/config.sub +25 -11
  17. data/vendor/libsodium/build-aux/depcomp +1 -1
  18. data/vendor/libsodium/build-aux/install-sh +170 -196
  19. data/vendor/libsodium/build-aux/ltmain.sh +3459 -2026
  20. data/vendor/libsodium/build-aux/missing +1 -1
  21. data/vendor/libsodium/build-aux/test-driver +12 -3
  22. data/vendor/libsodium/builds/msvc/version.h +2 -2
  23. data/vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.vcxproj +1 -4
  24. data/vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.vcxproj.filters +3 -8
  25. data/vendor/libsodium/builds/msvc/vs2010/test/test.vcxproj +11 -2
  26. data/vendor/libsodium/builds/msvc/vs2010/test/test.vcxproj.filters +11 -2
  27. data/vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.vcxproj +2 -5
  28. data/vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.vcxproj.filters +3 -8
  29. data/vendor/libsodium/builds/msvc/vs2012/test/test.vcxproj +11 -2
  30. data/vendor/libsodium/builds/msvc/vs2012/test/test.vcxproj.filters +11 -2
  31. data/vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.vcxproj +1 -4
  32. data/vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.vcxproj.filters +3 -8
  33. data/vendor/libsodium/builds/msvc/vs2013/test/test.vcxproj +11 -2
  34. data/vendor/libsodium/builds/msvc/vs2013/test/test.vcxproj.filters +11 -2
  35. data/vendor/libsodium/builds/msvc/vs2015/libsodium.import.props +52 -0
  36. data/vendor/libsodium/{packaging/nuget/package.xml → builds/msvc/vs2015/libsodium.import.xml} +2 -7
  37. data/vendor/libsodium/builds/msvc/vs2015/libsodium.sln +81 -0
  38. data/vendor/libsodium/builds/msvc/vs2015/libsodium/libsodium.props +43 -0
  39. data/vendor/libsodium/builds/msvc/vs2015/libsodium/libsodium.vcxproj +352 -0
  40. data/vendor/libsodium/builds/msvc/vs2015/libsodium/libsodium.vcxproj.filters +1073 -0
  41. data/vendor/libsodium/builds/msvc/vs2015/libsodium/libsodium.xml +15 -0
  42. data/vendor/libsodium/builds/msvc/vs2015/test/test.props +43 -0
  43. data/vendor/libsodium/builds/msvc/vs2015/test/test.runner.bat +78 -0
  44. data/vendor/libsodium/builds/msvc/vs2015/test/test.vcxproj +241 -0
  45. data/vendor/libsodium/builds/msvc/vs2015/test/test.vcxproj.filters +189 -0
  46. data/vendor/libsodium/configure +1117 -840
  47. data/vendor/libsodium/configure.ac +4 -4
  48. data/vendor/libsodium/dist-build/Makefile.am +2 -2
  49. data/vendor/libsodium/dist-build/Makefile.in +19 -7
  50. data/vendor/libsodium/dist-build/android-arm.sh +3 -2
  51. data/vendor/libsodium/dist-build/android-armv7-a.sh +4 -0
  52. data/vendor/libsodium/dist-build/android-build.sh +4 -5
  53. data/vendor/libsodium/dist-build/android-mips32.sh +4 -0
  54. data/vendor/libsodium/dist-build/android-x86.sh +3 -2
  55. data/vendor/libsodium/dist-build/emscripten.sh +4 -5
  56. data/vendor/libsodium/dist-build/ios.sh +56 -25
  57. data/vendor/libsodium/dist-build/osx.sh +20 -0
  58. data/vendor/libsodium/libsodium.vcxproj +1 -0
  59. data/vendor/libsodium/libsodium.vcxproj.filters +3 -0
  60. data/vendor/libsodium/m4/libtool.m4 +1366 -1030
  61. data/vendor/libsodium/m4/ltoptions.m4 +90 -37
  62. data/vendor/libsodium/m4/ltsugar.m4 +4 -3
  63. data/vendor/libsodium/m4/ltversion.m4 +6 -6
  64. data/vendor/libsodium/m4/lt~obsolete.m4 +4 -3
  65. data/vendor/libsodium/msvc-scripts/Makefile.in +17 -5
  66. data/vendor/libsodium/msvc-scripts/process.bat +2 -2
  67. data/vendor/libsodium/packaging/nuget/package.config +1 -1
  68. data/vendor/libsodium/src/Makefile.in +17 -5
  69. data/vendor/libsodium/src/libsodium/Makefile.am +7 -2
  70. data/vendor/libsodium/src/libsodium/Makefile.in +83 -55
  71. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha256/auth_hmacsha256_api.c +5 -0
  72. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha256/cp/verify_hmacsha256.c +1 -1
  73. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512/auth_hmacsha512_api.c +5 -0
  74. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512/cp/verify_hmacsha512.c +1 -1
  75. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512256/auth_hmacsha512256_api.c +5 -0
  76. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512256/cp/verify_hmacsha512256.c +1 -1
  77. data/vendor/libsodium/src/libsodium/crypto_box/crypto_box_seal.c +67 -0
  78. data/vendor/libsodium/src/libsodium/crypto_generichash/crypto_generichash.c +8 -1
  79. data/vendor/libsodium/src/libsodium/crypto_hash/sha256/hash_sha256_api.c +5 -0
  80. data/vendor/libsodium/src/libsodium/crypto_hash/sha512/hash_sha512_api.c +5 -0
  81. data/vendor/libsodium/src/libsodium/crypto_onetimeauth/crypto_onetimeauth.c +12 -6
  82. data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/crypto_scrypt.h +11 -0
  83. data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/nosse/pwhash_scryptsalsa208sha256_nosse.c +60 -25
  84. data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/pwhash_scryptsalsa208sha256.c +12 -12
  85. data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/donna_c64/smult_curve25519_donna_c64.c +11 -3
  86. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/open.c +1 -1
  87. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/sign.c +1 -4
  88. data/vendor/libsodium/src/libsodium/crypto_stream/xsalsa20/ref/api.h +1 -0
  89. data/vendor/libsodium/src/libsodium/crypto_stream/xsalsa20/ref/xor_xsalsa20.c +13 -3
  90. data/vendor/libsodium/src/libsodium/include/Makefile.in +18 -6
  91. data/vendor/libsodium/src/libsodium/include/sodium/crypto_auth_hmacsha256.h +9 -5
  92. data/vendor/libsodium/src/libsodium/include/sodium/crypto_auth_hmacsha512.h +9 -5
  93. data/vendor/libsodium/src/libsodium/include/sodium/crypto_auth_hmacsha512256.h +6 -2
  94. data/vendor/libsodium/src/libsodium/include/sodium/crypto_box.h +15 -0
  95. data/vendor/libsodium/src/libsodium/include/sodium/crypto_generichash.h +2 -0
  96. data/vendor/libsodium/src/libsodium/include/sodium/crypto_generichash_blake2b.h +1 -1
  97. data/vendor/libsodium/src/libsodium/include/sodium/crypto_hash_sha256.h +2 -0
  98. data/vendor/libsodium/src/libsodium/include/sodium/crypto_hash_sha512.h +2 -0
  99. data/vendor/libsodium/src/libsodium/include/sodium/crypto_onetimeauth.h +2 -0
  100. data/vendor/libsodium/src/libsodium/include/sodium/crypto_stream_xsalsa20.h +6 -0
  101. data/vendor/libsodium/src/libsodium/include/sodium/randombytes.h +6 -6
  102. data/vendor/libsodium/src/libsodium/include/sodium/utils.h +2 -2
  103. data/vendor/libsodium/src/libsodium/randombytes/randombytes.c +82 -3
  104. data/vendor/libsodium/src/libsodium/randombytes/salsa20/randombytes_salsa20_random.c +85 -33
  105. data/vendor/libsodium/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c +80 -42
  106. data/vendor/libsodium/src/libsodium/sodium/utils.c +16 -13
  107. data/vendor/libsodium/test/Makefile.am +1 -1
  108. data/vendor/libsodium/test/Makefile.in +18 -6
  109. data/vendor/libsodium/test/default/Makefile.am +9 -3
  110. data/vendor/libsodium/test/default/Makefile.in +72 -38
  111. data/vendor/libsodium/test/default/auth.c +8 -0
  112. data/vendor/libsodium/test/default/auth5.c +0 -2
  113. data/vendor/libsodium/test/default/auth7.c +0 -2
  114. data/vendor/libsodium/test/default/box8.c +0 -2
  115. data/vendor/libsodium/test/default/box_easy2.c +1 -1
  116. data/vendor/libsodium/test/default/box_seal.c +43 -0
  117. data/vendor/libsodium/test/default/box_seal.exp +4 -0
  118. data/vendor/libsodium/test/default/cmptest.h +1 -0
  119. data/vendor/libsodium/test/default/generichash2.c +1 -0
  120. data/vendor/libsodium/test/default/hash.c +2 -0
  121. data/vendor/libsodium/test/default/onetimeauth.c +1 -0
  122. data/vendor/libsodium/test/default/onetimeauth7.c +0 -2
  123. data/vendor/libsodium/test/default/pre.js.inc +0 -27
  124. data/vendor/libsodium/test/default/pwhash.c +18 -5
  125. data/vendor/libsodium/test/default/randombytes.c +44 -2
  126. data/vendor/libsodium/test/default/secretbox8.c +0 -2
  127. data/vendor/libsodium/test/default/sodium_utils2.c +5 -1
  128. data/vendor/libsodium/test/default/sodium_utils3.c +1 -1
  129. data/vendor/libsodium/test/default/stream.c +13 -1
  130. data/vendor/libsodium/test/default/stream.exp +1 -0
  131. data/vendor/libsodium/test/default/stream2.c +13 -1
  132. data/vendor/libsodium/test/default/stream2.exp +1 -0
  133. data/vendor/libsodium/test/quirks/quirks.h +26 -0
  134. metadata +23 -12
  135. data/vendor/libsodium/builds/msvc/resource.h +0 -0
  136. data/vendor/libsodium/builds/msvc/resource.rc +0 -0
  137. data/vendor/libsodium/dist-build/android-armv7.sh +0 -3
  138. data/vendor/libsodium/dist-build/android-mips.sh +0 -3
  139. data/vendor/libsodium/packaging/nuget/package.nuspec +0 -95
  140. data/vendor/libsodium/packaging/nuget/package.targets +0 -128
  141. data/vendor/libsodium/test/quirks/windows/windows-quirks.h +0 -18
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbnacl-libsodium
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artiom Di
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-31 00:00:00.000000000 Z
11
+ date: 2015-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rbnacl
@@ -91,11 +91,13 @@ files:
91
91
  - vendor/libsodium/autom4te.cache/output.1
92
92
  - vendor/libsodium/autom4te.cache/output.2
93
93
  - vendor/libsodium/autom4te.cache/output.3
94
+ - vendor/libsodium/autom4te.cache/output.4
94
95
  - vendor/libsodium/autom4te.cache/requests
95
96
  - vendor/libsodium/autom4te.cache/traces.0
96
97
  - vendor/libsodium/autom4te.cache/traces.1
97
98
  - vendor/libsodium/autom4te.cache/traces.2
98
99
  - vendor/libsodium/autom4te.cache/traces.3
100
+ - vendor/libsodium/autom4te.cache/traces.4
99
101
  - vendor/libsodium/build-aux/compile
100
102
  - vendor/libsodium/build-aux/config.guess
101
103
  - vendor/libsodium/build-aux/config.sub
@@ -130,8 +132,6 @@ files:
130
132
  - vendor/libsodium/builds/msvc/properties/ReleaseSEXE.props
131
133
  - vendor/libsodium/builds/msvc/properties/Win32.props
132
134
  - vendor/libsodium/builds/msvc/properties/x64.props
133
- - vendor/libsodium/builds/msvc/resource.h
134
- - vendor/libsodium/builds/msvc/resource.rc
135
135
  - vendor/libsodium/builds/msvc/version.h
136
136
  - vendor/libsodium/builds/msvc/vs2010/libsodium.import.props
137
137
  - vendor/libsodium/builds/msvc/vs2010/libsodium.import.xml
@@ -166,6 +166,17 @@ files:
166
166
  - vendor/libsodium/builds/msvc/vs2013/test/test.runner.bat
167
167
  - vendor/libsodium/builds/msvc/vs2013/test/test.vcxproj
168
168
  - vendor/libsodium/builds/msvc/vs2013/test/test.vcxproj.filters
169
+ - vendor/libsodium/builds/msvc/vs2015/libsodium.import.props
170
+ - vendor/libsodium/builds/msvc/vs2015/libsodium.import.xml
171
+ - vendor/libsodium/builds/msvc/vs2015/libsodium.sln
172
+ - vendor/libsodium/builds/msvc/vs2015/libsodium/libsodium.props
173
+ - vendor/libsodium/builds/msvc/vs2015/libsodium/libsodium.vcxproj
174
+ - vendor/libsodium/builds/msvc/vs2015/libsodium/libsodium.vcxproj.filters
175
+ - vendor/libsodium/builds/msvc/vs2015/libsodium/libsodium.xml
176
+ - vendor/libsodium/builds/msvc/vs2015/test/test.props
177
+ - vendor/libsodium/builds/msvc/vs2015/test/test.runner.bat
178
+ - vendor/libsodium/builds/msvc/vs2015/test/test.vcxproj
179
+ - vendor/libsodium/builds/msvc/vs2015/test/test.vcxproj.filters
169
180
  - vendor/libsodium/compile
170
181
  - vendor/libsodium/config.guess
171
182
  - vendor/libsodium/config.sub
@@ -175,14 +186,15 @@ files:
175
186
  - vendor/libsodium/dist-build/Makefile.am
176
187
  - vendor/libsodium/dist-build/Makefile.in
177
188
  - vendor/libsodium/dist-build/android-arm.sh
178
- - vendor/libsodium/dist-build/android-armv7.sh
189
+ - vendor/libsodium/dist-build/android-armv7-a.sh
179
190
  - vendor/libsodium/dist-build/android-build.sh
180
- - vendor/libsodium/dist-build/android-mips.sh
191
+ - vendor/libsodium/dist-build/android-mips32.sh
181
192
  - vendor/libsodium/dist-build/android-x86.sh
182
193
  - vendor/libsodium/dist-build/emscripten.sh
183
194
  - vendor/libsodium/dist-build/ios.sh
184
195
  - vendor/libsodium/dist-build/msys2-win32.sh
185
196
  - vendor/libsodium/dist-build/msys2-win64.sh
197
+ - vendor/libsodium/dist-build/osx.sh
186
198
  - vendor/libsodium/install-sh
187
199
  - vendor/libsodium/libsodium-uninstalled.pc.in
188
200
  - vendor/libsodium/libsodium.pc.in
@@ -210,9 +222,6 @@ files:
210
222
  - vendor/libsodium/packaging/nuget/package.bat
211
223
  - vendor/libsodium/packaging/nuget/package.config
212
224
  - vendor/libsodium/packaging/nuget/package.gsl
213
- - vendor/libsodium/packaging/nuget/package.nuspec
214
- - vendor/libsodium/packaging/nuget/package.targets
215
- - vendor/libsodium/packaging/nuget/package.xml
216
225
  - vendor/libsodium/src/Makefile.am
217
226
  - vendor/libsodium/src/Makefile.in
218
227
  - vendor/libsodium/src/libsodium/Makefile.am
@@ -235,6 +244,7 @@ files:
235
244
  - vendor/libsodium/src/libsodium/crypto_auth/hmacsha512256/cp/verify_hmacsha512256.c
236
245
  - vendor/libsodium/src/libsodium/crypto_box/crypto_box.c
237
246
  - vendor/libsodium/src/libsodium/crypto_box/crypto_box_easy.c
247
+ - vendor/libsodium/src/libsodium/crypto_box/crypto_box_seal.c
238
248
  - vendor/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/box_curve25519xsalsa20poly1305_api.c
239
249
  - vendor/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/checksum
240
250
  - vendor/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/ref/after_curve25519xsalsa20poly1305.c
@@ -537,6 +547,8 @@ files:
537
547
  - vendor/libsodium/test/default/box_easy.exp
538
548
  - vendor/libsodium/test/default/box_easy2.c
539
549
  - vendor/libsodium/test/default/box_easy2.exp
550
+ - vendor/libsodium/test/default/box_seal.c
551
+ - vendor/libsodium/test/default/box_seal.exp
540
552
  - vendor/libsodium/test/default/box_seed.c
541
553
  - vendor/libsodium/test/default/box_seed.exp
542
554
  - vendor/libsodium/test/default/chacha20.c
@@ -627,7 +639,7 @@ files:
627
639
  - vendor/libsodium/test/default/verify1.c
628
640
  - vendor/libsodium/test/default/verify1.exp
629
641
  - vendor/libsodium/test/default/wintest.bat
630
- - vendor/libsodium/test/quirks/windows/windows-quirks.h
642
+ - vendor/libsodium/test/quirks/quirks.h
631
643
  homepage: https://github.com/cryptosphere/rbnacl-libsodium
632
644
  licenses:
633
645
  - MIT
@@ -648,9 +660,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
648
660
  version: '0'
649
661
  requirements: []
650
662
  rubyforge_project:
651
- rubygems_version: 2.4.5
663
+ rubygems_version: 2.4.6
652
664
  signing_key:
653
665
  specification_version: 4
654
666
  summary: rbnacl with bundled libsodium
655
667
  test_files: []
656
- has_rdoc:
@@ -1,3 +0,0 @@
1
- #!/bin/sh
2
- export CFLAGS="-Os -mfloat-abi=softfp -mfpu=vfpv3-d16 -mthumb -marm -march=armv7-a"
3
- TARGET_ARCH=armv7 HOST_COMPILER=arm-linux-androideabi "$(dirname "$0")/android-build.sh"
@@ -1,3 +0,0 @@
1
- #!/bin/sh
2
- export CFLAGS="-Os"
3
- TARGET_ARCH=mips HOST_COMPILER=mipsel-linux-android "$(dirname "$0")/android-build.sh"
@@ -1,95 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!--
3
- #################################################################
4
- # GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY #
5
- #################################################################
6
- -->
7
- <package xmlns="http://schemas.microsoft.com/packaging/2013/01/nuspec.xsd">
8
- <metadata minClientVersion="2.5">
9
- <id>libsodium_vc120</id>
10
- <version>1.0.0.0</version>
11
- <title>libsodium_vc120</title>
12
- <authors>libsodium contributors</authors>
13
- <owners>Eric Voskuil</owners>
14
- <licenseUrl>https://raw.github.com/jedisct1/libsodium/master/LICENSE</licenseUrl>
15
- <projectUrl>https://github.com/jedisct1/libsodium</projectUrl>
16
- <iconUrl>http://upload.wikimedia.org/wikipedia/commons/thumb/7/78/Salt_shaker_on_white_background.jpg/220px-Salt_shaker_on_white_background.jpg</iconUrl>
17
- <requireLicenseAcceptance>true</requireLicenseAcceptance>
18
- <developmentDependency>false</developmentDependency>
19
- <description>Sodium is a portable, cross-compilable, installable, packageable fork of NaCl (based on the latest released upstream version nacl-20110221), with a compatible API.</description>
20
- <summary>Portable fork of NaCl, packaged for Visual Studio 2013 (v120) and CTP_Nov2013 compilers.</summary>
21
- <releaseNotes>https://raw.github.com/jedisct1/libsodium/master/ChangeLog</releaseNotes>
22
- <copyright>(c) 2013-2014, Frank Denis (attribution required)</copyright>
23
- <tags>native, NaCl, salt, sodium, libodium, C++</tags>
24
- <dependencies>
25
- </dependencies>
26
- <!-- Salt shaker icon by Dubravko Soric :
27
- http://upload.wikimedia.org/wikipedia/commons/thumb/7/78/Salt_shaker_on_white_background.jpg/220px-Salt_shaker_on_white_background.jpg -->
28
- </metadata>
29
- <files>
30
- <!-- include -->
31
-
32
- <file src="..\..\src\libsodium\include\sodium.h" target="build\native\include" />
33
- <file src="..\..\src\libsodium\include\sodium\*.*" target="build\native\include\sodium" />
34
-
35
- <!-- targets -->
36
-
37
- <file src="package.targets" target="build\native\libsodium_vc120.targets" />
38
- <file src="package.xml" target="build\native\package.xml" />
39
-
40
- <!-- libraries -->
41
-
42
- <!-- x86 Dynamic libraries (.dll) -->
43
- <file src="..\..\bin\Win32\Release\v120\dynamic\libsodium.dll" target="build\native\bin\libsodium-x86-v120-mt-1_0_0_0.dll" />
44
- <file src="..\..\bin\Win32\Debug\v120\dynamic\libsodium.dll" target="build\native\bin\libsodium-x86-v120-mt-gd-1_0_0_0.dll" />
45
-
46
- <!-- x86 Debugging symbols (.pdb) -->
47
- <!--<file src="..\..\bin\Win32\Release\v120\dynamic\libsodium.pdb" target="build\native\bin\libsodium-x86-v120-mt-1_0_0_0.pdb" />-->
48
- <file src="..\..\bin\Win32\Debug\v120\dynamic\libsodium.pdb" target="build\native\bin\libsodium-x86-v120-mt-gd-1_0_0_0.pdb" />
49
-
50
- <!-- x86 Import libraries (.imp.lib) -->
51
- <file src="..\..\bin\Win32\Release\v120\dynamic\libsodium.lib" target="build\native\bin\libsodium-x86-v120-mt-1_0_0_0.imp.lib" />
52
- <file src="..\..\bin\Win32\Debug\v120\dynamic\libsodium.lib" target="build\native\bin\libsodium-x86-v120-mt-gd-1_0_0_0.imp.lib" />
53
-
54
- <!-- x86 Export libraries (.exp) -->
55
- <file src="..\..\bin\Win32\Release\v120\dynamic\libsodium.exp" target="build\native\bin\libsodium-x86-v120-mt-1_0_0_0.exp" />
56
- <file src="..\..\bin\Win32\Debug\v120\dynamic\libsodium.exp" target="build\native\bin\libsodium-x86-v120-mt-gd-1_0_0_0.exp" />
57
-
58
- <!-- x86 Static libraries (.lib) -->
59
- <file src="..\..\bin\Win32\Release\v120\static\libsodium.lib" target="build\native\bin\libsodium-x86-v120-mt-s-1_0_0_0.lib" />
60
- <file src="..\..\bin\Win32\Debug\v120\static\libsodium.lib" target="build\native\bin\libsodium-x86-v120-mt-sgd-1_0_0_0.lib" />
61
-
62
- <!-- x86 Static link time code generation libraries (.ltcg.lib) -->
63
- <file src="..\..\bin\Win32\Release\v120\ltcg\libsodium.lib" target="build\native\bin\libsodium-x86-v120-mt-s-1_0_0_0.ltcg.lib" />
64
- <file src="..\..\bin\Win32\Debug\v120\ltcg\libsodium.lib" target="build\native\bin\libsodium-x86-v120-mt-sgd-1_0_0_0.ltcg.lib" />
65
-
66
- <!-- x64 Dynamic libraries (.dll) -->
67
- <file src="..\..\bin\x64\Release\v120\dynamic\libsodium.dll" target="build\native\bin\libsodium-x64-v120-mt-1_0_0_0.dll" />
68
- <file src="..\..\bin\x64\Debug\v120\dynamic\libsodium.dll" target="build\native\bin\libsodium-x64-v120-mt-gd-1_0_0_0.dll" />
69
-
70
- <!-- x64 Debugging symbols (.pdb) -->
71
- <!--<file src="..\..\bin\x64\Release\v120\dynamic\libsodium.pdb" target="build\native\bin\libsodium-x64-v120-mt-1_0_0_0.pdb" />-->
72
- <file src="..\..\bin\x64\Debug\v120\dynamic\libsodium.pdb" target="build\native\bin\libsodium-x64-v120-mt-gd-1_0_0_0.pdb" />
73
-
74
- <!-- x64 Import libraries (.imp.lib) -->
75
- <file src="..\..\bin\x64\Release\v120\dynamic\libsodium.lib" target="build\native\bin\libsodium-x64-v120-mt-1_0_0_0.imp.lib" />
76
- <file src="..\..\bin\x64\Debug\v120\dynamic\libsodium.lib" target="build\native\bin\libsodium-x64-v120-mt-gd-1_0_0_0.imp.lib" />
77
-
78
- <!-- x64 Export libraries (.exp) -->
79
- <file src="..\..\bin\x64\Release\v120\dynamic\libsodium.exp" target="build\native\bin\libsodium-x64-v120-mt-1_0_0_0.exp" />
80
- <file src="..\..\bin\x64\Debug\v120\dynamic\libsodium.exp" target="build\native\bin\libsodium-x64-v120-mt-gd-1_0_0_0.exp" />
81
-
82
- <!-- x64 Static libraries (.lib) -->
83
- <file src="..\..\bin\x64\Release\v120\static\libsodium.lib" target="build\native\bin\libsodium-x64-v120-mt-s-1_0_0_0.lib" />
84
- <file src="..\..\bin\x64\Debug\v120\static\libsodium.lib" target="build\native\bin\libsodium-x64-v120-mt-sgd-1_0_0_0.lib" />
85
-
86
- <!-- x64 Static link time code generation libraries (.ltcg.lib) -->
87
- <file src="..\..\bin\x64\Release\v120\ltcg\libsodium.lib" target="build\native\bin\libsodium-x64-v120-mt-s-1_0_0_0.ltcg.lib" />
88
- <file src="..\..\bin\x64\Debug\v120\ltcg\libsodium.lib" target="build\native\bin\libsodium-x64-v120-mt-sgd-1_0_0_0.ltcg.lib" />
89
- </files>
90
- <!--
91
- #################################################################
92
- # GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY #
93
- #################################################################
94
- -->
95
- </package>
@@ -1,128 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!--
3
- #################################################################
4
- # GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY #
5
- #################################################################
6
- -->
7
- <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
8
-
9
- <!-- user interface -->
10
- <ItemGroup>
11
- <PropertyPageSchema Include="$(MSBuildThisFileDirectory)package.xml" />
12
- </ItemGroup>
13
-
14
- <!-- general -->
15
- <ItemDefinitionGroup>
16
- <ClCompile>
17
- <AdditionalIncludeDirectories>$(MSBuildThisFileDirectory)include\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
18
- </ClCompile>
19
- <Link>
20
- <AdditionalDependencies>advapi32.lib;crypt32.lib;%(AdditionalDependencies)</AdditionalDependencies>
21
- <AdditionalLibraryDirectories>$(MSBuildThisFileDirectory)bin\;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
22
- </Link>
23
- </ItemDefinitionGroup>
24
- <ItemDefinitionGroup Condition="'$(Linkage-libsodium)' == 'static' Or '$(Linkage-libsodium)' == 'ltcg'">
25
- <ClCompile>
26
- <PreprocessorDefinitions>SODIUM_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
27
- </ClCompile>
28
- </ItemDefinitionGroup>
29
-
30
- <!-- static libraries -->
31
- <ItemDefinitionGroup Condition="'$(Platform)' == 'Win32' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libsodium)' == 'static' And $(Configuration.IndexOf('Release')) != -1">
32
- <Link>
33
- <AdditionalDependencies>libsodium-x86-v120-mt-s-1_0_0_0.lib;%(AdditionalDependencies)</AdditionalDependencies>
34
- </Link>
35
- </ItemDefinitionGroup>
36
- <ItemDefinitionGroup Condition="'$(Platform)' == 'Win32' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libsodium)' == 'static' And $(Configuration.IndexOf('Debug')) != -1">
37
- <Link>
38
- <AdditionalDependencies>libsodium-x86-v120-mt-sgd-1_0_0_0.lib;%(AdditionalDependencies)</AdditionalDependencies>
39
- </Link>
40
- </ItemDefinitionGroup>
41
- <ItemDefinitionGroup Condition="'$(Platform)' == 'x64' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libsodium)' == 'static' And $(Configuration.IndexOf('Release')) != -1">
42
- <Link>
43
- <AdditionalDependencies>libsodium-x64-v120-mt-s-1_0_0_0.lib;%(AdditionalDependencies)</AdditionalDependencies>
44
- </Link>
45
- </ItemDefinitionGroup>
46
- <ItemDefinitionGroup Condition="'$(Platform)' == 'x64' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libsodium)' == 'static' And $(Configuration.IndexOf('Debug')) != -1">
47
- <Link>
48
- <AdditionalDependencies>libsodium-x64-v120-mt-sgd-1_0_0_0.lib;%(AdditionalDependencies)</AdditionalDependencies>
49
- </Link>
50
- </ItemDefinitionGroup>
51
-
52
- <!-- static ltcg libraries -->
53
- <ItemDefinitionGroup Condition="'$(Platform)' == 'Win32' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libsodium)' == 'ltcg' And $(Configuration.IndexOf('Release')) != -1">
54
- <Link>
55
- <AdditionalDependencies>libsodium-x86-v120-mt-s-1_0_0_0.ltcg.lib;%(AdditionalDependencies)</AdditionalDependencies>
56
- </Link>
57
- </ItemDefinitionGroup>
58
- <ItemDefinitionGroup Condition="'$(Platform)' == 'Win32' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libsodium)' == 'ltcg' And $(Configuration.IndexOf('Debug')) != -1">
59
- <Link>
60
- <AdditionalDependencies>libsodium-x86-v120-mt-sgd-1_0_0_0.ltcg.lib;%(AdditionalDependencies)</AdditionalDependencies>
61
- </Link>
62
- </ItemDefinitionGroup>
63
- <ItemDefinitionGroup Condition="'$(Platform)' == 'x64' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libsodium)' == 'ltcg' And $(Configuration.IndexOf('Release')) != -1">
64
- <Link>
65
- <AdditionalDependencies>libsodium-x64-v120-mt-s-1_0_0_0.ltcg.lib;%(AdditionalDependencies)</AdditionalDependencies>
66
- </Link>
67
- </ItemDefinitionGroup>
68
- <ItemDefinitionGroup Condition="'$(Platform)' == 'x64' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libsodium)' == 'ltcg' And $(Configuration.IndexOf('Debug')) != -1">
69
- <Link>
70
- <AdditionalDependencies>libsodium-x64-v120-mt-sgd-1_0_0_0.ltcg.lib;%(AdditionalDependencies)</AdditionalDependencies>
71
- </Link>
72
- </ItemDefinitionGroup>
73
-
74
- <!-- dynamic import libraries -->
75
- <ItemDefinitionGroup Condition="'$(Platform)' == 'Win32' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libsodium)' == 'dynamic' And $(Configuration.IndexOf('Release')) != -1">
76
- <Link>
77
- <AdditionalDependencies>libsodium-x86-v120-mt-1_0_0_0.imp.lib;%(AdditionalDependencies)</AdditionalDependencies>
78
- </Link>
79
- </ItemDefinitionGroup>
80
- <ItemDefinitionGroup Condition="'$(Platform)' == 'Win32' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libsodium)' == 'dynamic' And $(Configuration.IndexOf('Debug')) != -1">
81
- <Link>
82
- <AdditionalDependencies>libsodium-x86-v120-mt-gd-1_0_0_0.imp.lib;%(AdditionalDependencies)</AdditionalDependencies>
83
- </Link>
84
- </ItemDefinitionGroup>
85
- <ItemDefinitionGroup Condition="'$(Platform)' == 'x64' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libsodium)' == 'dynamic' And $(Configuration.IndexOf('Release')) != -1">
86
- <Link>
87
- <AdditionalDependencies>libsodium-x64-v120-mt-1_0_0_0.imp.lib;%(AdditionalDependencies)</AdditionalDependencies>
88
- </Link>
89
- </ItemDefinitionGroup>
90
- <ItemDefinitionGroup Condition="'$(Platform)' == 'x64' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libsodium)' == 'dynamic' And $(Configuration.IndexOf('Debug')) != -1">
91
- <Link>
92
- <AdditionalDependencies>libsodium-x64-v120-mt-gd-1_0_0_0.imp.lib;%(AdditionalDependencies)</AdditionalDependencies>
93
- </Link>
94
- </ItemDefinitionGroup>
95
-
96
- <!-- dynamic libraries with debug symbols -->
97
- <Target Name="libsodium_AfterBuild" AfterTargets="AfterBuild" />
98
- <Target Name="libsodium_AfterBuild_Win32_v120_Dynamic_Release"
99
- Condition="'$(Platform)' == 'Win32' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libsodium)' == 'dynamic' And $(Configuration.IndexOf('Release')) != -1"
100
- AfterTargets="libsodium_AfterBuild">
101
- <Copy SourceFiles="$(MSBuildThisFileDirectory)bin\libsodium-x86-v120-mt-1_0_0_0.dll" DestinationFiles="$(TargetDir)libsodium.dll" SkipUnchangedFiles="true" />
102
- <!--<Copy SourceFiles="$(MSBuildThisFileDirectory)bin\libsodium-x86-v120-mt-1_0_0_0.pdb" DestinationFiles="$(TargetDir)libsodium.pdb" SkipUnchangedFiles="true" />-->
103
- </Target>
104
- <Target Name="libsodium_AfterBuild_Win32_v120_Dynamic_Debug"
105
- Condition="'$(Platform)' == 'Win32' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libsodium)' == 'dynamic' And $(Configuration.IndexOf('Debug')) != -1"
106
- AfterTargets="libsodium_AfterBuild">
107
- <Copy SourceFiles="$(MSBuildThisFileDirectory)bin\libsodium-x86-v120-mt-gd-1_0_0_0.dll" DestinationFiles="$(TargetDir)libsodium.dll" SkipUnchangedFiles="true" />
108
- <Copy SourceFiles="$(MSBuildThisFileDirectory)bin\libsodium-x86-v120-mt-gd-1_0_0_0.pdb" DestinationFiles="$(TargetDir)libsodium.pdb" SkipUnchangedFiles="true" />
109
- </Target>
110
- <Target Name="libsodium_AfterBuild_x64_v120_Dynamic_Release"
111
- Condition="'$(Platform)' == 'x64' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libsodium)' == 'dynamic' And $(Configuration.IndexOf('Release')) != -1"
112
- AfterTargets="libsodium_AfterBuild">
113
- <Copy SourceFiles="$(MSBuildThisFileDirectory)bin\libsodium-x64-v120-mt-1_0_0_0.dll" DestinationFiles="$(TargetDir)libsodium.dll" SkipUnchangedFiles="true" />
114
- <!--<Copy SourceFiles="$(MSBuildThisFileDirectory)bin\libsodium-x64-v120-mt-1_0_0_0.pdb" DestinationFiles="$(TargetDir)libsodium.pdb" SkipUnchangedFiles="true" />-->
115
- </Target>
116
- <Target Name="libsodium_AfterBuild_x64_v120_Dynamic_Debug"
117
- Condition="'$(Platform)' == 'x64' And ('$(PlatformToolset)' == 'v120' Or '$(PlatformToolset)' == 'CTP_Nov2013') And '$(Linkage-libsodium)' == 'dynamic' And $(Configuration.IndexOf('Debug')) != -1"
118
- AfterTargets="libsodium_AfterBuild">
119
- <Copy SourceFiles="$(MSBuildThisFileDirectory)bin\libsodium-x64-v120-mt-gd-1_0_0_0.dll" DestinationFiles="$(TargetDir)libsodium.dll" SkipUnchangedFiles="true" />
120
- <Copy SourceFiles="$(MSBuildThisFileDirectory)bin\libsodium-x64-v120-mt-gd-1_0_0_0.pdb" DestinationFiles="$(TargetDir)libsodium.pdb" SkipUnchangedFiles="true" />
121
- </Target>
122
-
123
- <!--
124
- #################################################################
125
- # GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY #
126
- #################################################################
127
- -->
128
- </Project>
@@ -1,18 +0,0 @@
1
-
2
- #include <stdlib.h>
3
-
4
- #ifdef _WIN32
5
-
6
- static void
7
- srandom(unsigned seed)
8
- {
9
- srand(seed);
10
- }
11
-
12
- static long
13
- random(void)
14
- {
15
- return (long) rand();
16
- }
17
-
18
- #endif