rbnacl-libsodium 1.0.11 → 1.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (465) 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/AUTHORS +45 -33
  5. data/vendor/libsodium/ChangeLog +63 -2
  6. data/vendor/libsodium/LICENSE +1 -1
  7. data/vendor/libsodium/Makefile.am +1 -0
  8. data/vendor/libsodium/Makefile.in +17 -14
  9. data/vendor/libsodium/README.markdown +1 -0
  10. data/vendor/libsodium/THANKS +38 -4
  11. data/vendor/libsodium/aclocal.m4 +25 -24
  12. data/vendor/libsodium/autogen.sh +12 -7
  13. data/vendor/libsodium/autom4te.cache/output.0 +5066 -2281
  14. data/vendor/libsodium/autom4te.cache/output.1 +1013 -600
  15. data/vendor/libsodium/autom4te.cache/output.2 +5066 -2281
  16. data/vendor/libsodium/autom4te.cache/requests +426 -1584
  17. data/vendor/libsodium/autom4te.cache/traces.0 +2044 -876
  18. data/vendor/libsodium/autom4te.cache/traces.1 +996 -523
  19. data/vendor/libsodium/autom4te.cache/traces.2 +1996 -828
  20. data/vendor/libsodium/build-aux/compile +5 -4
  21. data/vendor/libsodium/build-aux/config.guess +120 -68
  22. data/vendor/libsodium/build-aux/config.sub +51 -22
  23. data/vendor/libsodium/build-aux/depcomp +3 -3
  24. data/vendor/libsodium/build-aux/install-sh +2 -2
  25. data/vendor/libsodium/build-aux/missing +3 -3
  26. data/vendor/libsodium/build-aux/test-driver +3 -3
  27. data/vendor/libsodium/builds/msvc/properties/Win32.props +4 -1
  28. data/vendor/libsodium/builds/msvc/properties/x64.props +4 -1
  29. data/vendor/libsodium/builds/msvc/resource.h +14 -0
  30. data/vendor/libsodium/builds/msvc/resource.rc +63 -0
  31. data/vendor/libsodium/builds/msvc/version.h +7 -4
  32. data/vendor/libsodium/builds/msvc/vs2010/libsodium.import.props +1 -1
  33. data/vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.props +10 -5
  34. data/vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.vcxproj +182 -139
  35. data/vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.vcxproj.filters +632 -470
  36. data/vendor/libsodium/builds/msvc/vs2012/libsodium.import.props +1 -1
  37. data/vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.props +10 -5
  38. data/vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.vcxproj +182 -129
  39. data/vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.vcxproj.filters +632 -470
  40. data/vendor/libsodium/builds/msvc/vs2013/libsodium.import.props +1 -1
  41. data/vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.props +10 -5
  42. data/vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.vcxproj +182 -129
  43. data/vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.vcxproj.filters +632 -470
  44. data/vendor/libsodium/builds/msvc/vs2015/libsodium.import.props +1 -1
  45. data/vendor/libsodium/builds/msvc/vs2015/libsodium/libsodium.props +10 -5
  46. data/vendor/libsodium/builds/msvc/vs2015/libsodium/libsodium.vcxproj +181 -118
  47. data/vendor/libsodium/builds/msvc/vs2015/libsodium/libsodium.vcxproj.filters +632 -470
  48. data/vendor/libsodium/builds/msvc/vs2017/libsodium.import.props +52 -0
  49. data/vendor/libsodium/builds/msvc/vs2017/libsodium.import.xml +17 -0
  50. data/vendor/libsodium/builds/msvc/vs2017/libsodium.sln +52 -0
  51. data/vendor/libsodium/builds/msvc/vs2017/libsodium/libsodium.props +48 -0
  52. data/vendor/libsodium/builds/msvc/vs2017/libsodium/libsodium.vcxproj +320 -0
  53. data/vendor/libsodium/builds/msvc/vs2017/libsodium/libsodium.vcxproj.filters +962 -0
  54. data/vendor/libsodium/builds/msvc/vs2017/libsodium/libsodium.xml +15 -0
  55. data/vendor/libsodium/configure +1002 -589
  56. data/vendor/libsodium/configure.ac +48 -21
  57. data/vendor/libsodium/contrib/Findsodium.cmake +267 -0
  58. data/vendor/libsodium/contrib/Makefile.am +3 -0
  59. data/vendor/libsodium/contrib/Makefile.in +483 -0
  60. data/vendor/libsodium/dist-build/Makefile.in +11 -7
  61. data/vendor/libsodium/dist-build/android-armv8-a.sh +1 -1
  62. data/vendor/libsodium/dist-build/android-build.sh +25 -17
  63. data/vendor/libsodium/dist-build/android-mips32.sh +1 -1
  64. data/vendor/libsodium/dist-build/android-mips64.sh +1 -1
  65. data/vendor/libsodium/dist-build/android-x86_64.sh +1 -1
  66. data/vendor/libsodium/dist-build/emscripten-symbols.def +150 -2
  67. data/vendor/libsodium/dist-build/emscripten-wasm.sh +132 -0
  68. data/vendor/libsodium/dist-build/emscripten.sh +8 -6
  69. data/vendor/libsodium/dist-build/ios.sh +29 -5
  70. data/vendor/libsodium/libsodium.vcxproj +139 -77
  71. data/vendor/libsodium/libsodium.vcxproj.filters +315 -144
  72. data/vendor/libsodium/m4/ax_check_catchable_segv.m4 +42 -0
  73. data/vendor/libsodium/m4/ax_check_compile_flag.m4 +6 -4
  74. data/vendor/libsodium/m4/ax_check_define.m4 +3 -3
  75. data/vendor/libsodium/m4/ax_check_gnu_make.m4 +31 -25
  76. data/vendor/libsodium/m4/ax_check_link_flag.m4 +8 -6
  77. data/vendor/libsodium/m4/ax_pthread.m4 +275 -275
  78. data/vendor/libsodium/m4/ax_valgrind_check.m4 +92 -41
  79. data/vendor/libsodium/m4/pkg.m4 +1 -1
  80. data/vendor/libsodium/msvc-scripts/Makefile.in +11 -7
  81. data/vendor/libsodium/msvc-scripts/process.bat +4 -3
  82. data/vendor/libsodium/packaging/dotnet-core/README.md +59 -0
  83. data/vendor/libsodium/packaging/dotnet-core/desktop.targets +16 -0
  84. data/vendor/libsodium/packaging/dotnet-core/libsodium.props +33 -0
  85. data/vendor/libsodium/packaging/dotnet-core/prepare.py +262 -0
  86. data/vendor/libsodium/packaging/dotnet-core/recipes/alpine-x64 +3 -0
  87. data/vendor/libsodium/packaging/dotnet-core/recipes/build +9 -0
  88. data/vendor/libsodium/packaging/dotnet-core/recipes/centos-x64 +3 -0
  89. data/vendor/libsodium/packaging/dotnet-core/recipes/debian-x64 +4 -0
  90. data/vendor/libsodium/packaging/dotnet-core/recipes/fedora-x64 +3 -0
  91. data/vendor/libsodium/packaging/dotnet-core/recipes/opensuse-x64 +3 -0
  92. data/vendor/libsodium/packaging/dotnet-core/recipes/pack +5 -0
  93. data/vendor/libsodium/packaging/dotnet-core/recipes/test +27 -0
  94. data/vendor/libsodium/packaging/dotnet-core/recipes/ubuntu-x64 +4 -0
  95. data/vendor/libsodium/packaging/nuget/package.config +1 -1
  96. data/vendor/libsodium/packaging/nuget/package.gsl +3 -3
  97. data/vendor/libsodium/src/Makefile.in +11 -7
  98. data/vendor/libsodium/src/libsodium/Makefile.am +113 -98
  99. data/vendor/libsodium/src/libsodium/Makefile.in +1034 -1236
  100. data/vendor/libsodium/src/libsodium/crypto_aead/aes256gcm/aesni/aead_aes256gcm_aesni.c +31 -12
  101. data/vendor/libsodium/src/libsodium/crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.c +31 -10
  102. data/vendor/libsodium/src/libsodium/crypto_aead/xchacha20poly1305/sodium/aead_xchacha20poly1305.c +153 -0
  103. data/vendor/libsodium/src/libsodium/crypto_auth/crypto_auth.c +7 -0
  104. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha256/{cp/hmac_hmacsha256.c → auth_hmacsha256.c} +43 -35
  105. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512/{cp/hmac_hmacsha512.c → auth_hmacsha512.c} +43 -35
  106. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512256/{cp/hmac_hmacsha512256.c → auth_hmacsha512256.c} +48 -9
  107. data/vendor/libsodium/src/libsodium/crypto_box/crypto_box_easy.c +4 -3
  108. data/vendor/libsodium/src/libsodium/crypto_box/crypto_box_seal.c +2 -1
  109. data/vendor/libsodium/src/libsodium/crypto_box/curve25519xchacha20poly1305/box_curve25519xchacha20poly1305.c +197 -0
  110. data/vendor/libsodium/src/libsodium/crypto_box/curve25519xchacha20poly1305/box_seal_curve25519xchacha20poly1305.c +79 -0
  111. data/vendor/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/box_curve25519xsalsa20poly1305.c +150 -0
  112. data/vendor/libsodium/src/libsodium/crypto_core/curve25519/ref10/curve25519_ref10.c +1156 -662
  113. data/vendor/libsodium/src/libsodium/crypto_core/hchacha20/core_hchacha20.c +12 -5
  114. data/vendor/libsodium/src/libsodium/crypto_core/hsalsa20/{core_hsalsa20_api.c → core_hsalsa20.c} +0 -0
  115. data/vendor/libsodium/src/libsodium/crypto_core/hsalsa20/ref2/core_hsalsa20_ref2.c +95 -0
  116. data/vendor/libsodium/src/libsodium/crypto_core/salsa/ref/core_salsa_ref.c +195 -0
  117. data/vendor/libsodium/src/libsodium/crypto_generichash/{blake2/generichash_blake2_api.c → blake2b/generichash_blake2.c} +7 -0
  118. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2b/ref/blake2.h +109 -0
  119. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2b/ref/blake2b-compress-avx2.c +49 -0
  120. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2b/ref/blake2b-compress-avx2.h +140 -0
  121. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2b/ref/blake2b-compress-ref.c +92 -0
  122. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2b/ref/blake2b-compress-sse41.c +87 -0
  123. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2b/ref/blake2b-compress-sse41.h +103 -0
  124. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2b/ref/blake2b-compress-ssse3.c +90 -0
  125. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2b/ref/blake2b-compress-ssse3.h +103 -0
  126. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2b/ref/blake2b-load-avx2.h +340 -0
  127. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2b/ref/blake2b-load-sse2.h +164 -0
  128. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2b/ref/blake2b-load-sse41.h +307 -0
  129. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2b/ref/blake2b-ref.c +494 -0
  130. data/vendor/libsodium/src/libsodium/crypto_generichash/{blake2 → blake2b}/ref/generichash_blake2b.c +22 -26
  131. data/vendor/libsodium/src/libsodium/crypto_generichash/crypto_generichash.c +7 -0
  132. data/vendor/libsodium/src/libsodium/crypto_hash/sha256/cp/hash_sha256_cp.c +254 -0
  133. data/vendor/libsodium/src/libsodium/crypto_hash/sha256/{hash_sha256_api.c → hash_sha256.c} +4 -2
  134. data/vendor/libsodium/src/libsodium/crypto_hash/sha512/cp/hash_sha512_cp.c +280 -0
  135. data/vendor/libsodium/src/libsodium/crypto_hash/sha512/{hash_sha512_api.c → hash_sha512.c} +4 -2
  136. data/vendor/libsodium/src/libsodium/crypto_kdf/blake2b/kdf_blake2b.c +52 -0
  137. data/vendor/libsodium/src/libsodium/crypto_kdf/crypto_kdf.c +49 -0
  138. data/vendor/libsodium/src/libsodium/crypto_kx/crypto_kx.c +136 -0
  139. data/vendor/libsodium/src/libsodium/crypto_onetimeauth/crypto_onetimeauth.c +6 -0
  140. data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.c +34 -27
  141. data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.h +1 -1
  142. data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna32.h +203 -156
  143. data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna64.h +178 -134
  144. data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305.c +22 -4
  145. data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305.h +10 -12
  146. data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/sse2/poly1305_sse2.c +564 -315
  147. data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/sse2/poly1305_sse2.h +1 -1
  148. data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-core.c +131 -84
  149. data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-core.h +23 -18
  150. data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-encoding.c +163 -145
  151. data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-encoding.h +2 -1
  152. data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-fill-block-avx2.c +247 -0
  153. data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-fill-block-ref.c +42 -29
  154. data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-fill-block-ssse3.c +71 -47
  155. data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/argon2.c +100 -65
  156. data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/argon2.h +77 -23
  157. data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/blake2b-long.c +30 -31
  158. data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/blamka-round-avx2.h +150 -0
  159. data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/blamka-round-ref.h +28 -26
  160. data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/blamka-round-ssse3.h +102 -99
  161. data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/pwhash_argon2i.c +90 -41
  162. data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/pwhash_argon2id.c +213 -0
  163. data/vendor/libsodium/src/libsodium/crypto_pwhash/crypto_pwhash.c +72 -4
  164. data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/crypto_scrypt-common.c +34 -37
  165. data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/crypto_scrypt.h +27 -32
  166. data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/nosse/pwhash_scryptsalsa208sha256_nosse.c +120 -86
  167. data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/pbkdf2-sha256.c +16 -13
  168. data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/pbkdf2-sha256.h +4 -4
  169. data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/pwhash_scryptsalsa208sha256.c +98 -50
  170. data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/scrypt_platform.c +23 -18
  171. data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/sse/pwhash_scryptsalsa208sha256_sse.c +105 -105
  172. data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/donna_c64/curve25519_donna_c64.c +395 -330
  173. data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/x25519_ref10.c +225 -198
  174. data/vendor/libsodium/src/libsodium/crypto_secretbox/crypto_secretbox.c +7 -0
  175. data/vendor/libsodium/src/libsodium/crypto_secretbox/crypto_secretbox_easy.c +6 -5
  176. data/vendor/libsodium/src/libsodium/crypto_secretbox/xchacha20poly1305/secretbox_xchacha20poly1305.c +170 -0
  177. data/vendor/libsodium/src/libsodium/crypto_secretbox/xsalsa20poly1305/secretbox_xsalsa20poly1305.c +83 -0
  178. data/vendor/libsodium/src/libsodium/crypto_shorthash/crypto_shorthash.c +7 -0
  179. data/vendor/libsodium/src/libsodium/crypto_shorthash/siphash24/ref/shorthash_siphash24_ref.c +65 -0
  180. data/vendor/libsodium/src/libsodium/crypto_shorthash/siphash24/ref/shorthash_siphash_ref.h +24 -0
  181. data/vendor/libsodium/src/libsodium/crypto_shorthash/siphash24/ref/shorthash_siphashx24_ref.c +71 -0
  182. data/vendor/libsodium/src/libsodium/crypto_shorthash/siphash24/{shorthash_siphash24_api.c → shorthash_siphash24.c} +0 -0
  183. data/vendor/libsodium/src/libsodium/crypto_shorthash/siphash24/shorthash_siphashx24.c +11 -0
  184. data/vendor/libsodium/src/libsodium/crypto_sign/crypto_sign.c +33 -0
  185. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ed25519_ref10.h +18 -0
  186. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/keypair.c +18 -13
  187. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/obsolete.c +29 -26
  188. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/open.c +75 -36
  189. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/sign.c +39 -15
  190. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/sign_ed25519.c +91 -0
  191. data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/nacl/afternm_aes128ctr.c +174 -0
  192. data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/nacl/beforenm_aes128ctr.c +66 -0
  193. data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/nacl/common.h +766 -0
  194. data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/nacl/consts.h +28 -0
  195. data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/nacl/consts_aes128ctr.c +28 -0
  196. data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/nacl/int128.h +50 -0
  197. data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/nacl/int128_aes128ctr.c +149 -0
  198. data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/nacl/stream_aes128ctr_nacl.c +31 -0
  199. data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/nacl/xor_afternm_aes128ctr.c +195 -0
  200. data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/{stream_aes128ctr_api.c → stream_aes128ctr.c} +6 -3
  201. data/vendor/libsodium/src/libsodium/crypto_stream/chacha20/dolbeau/chacha20_dolbeau-avx2.c +179 -0
  202. data/vendor/libsodium/src/libsodium/crypto_stream/chacha20/dolbeau/chacha20_dolbeau-avx2.h +8 -0
  203. data/vendor/libsodium/src/libsodium/crypto_stream/chacha20/dolbeau/chacha20_dolbeau-ssse3.c +173 -0
  204. data/vendor/libsodium/src/libsodium/crypto_stream/chacha20/dolbeau/chacha20_dolbeau-ssse3.h +8 -0
  205. data/vendor/libsodium/src/libsodium/crypto_stream/chacha20/dolbeau/u0.h +86 -0
  206. data/vendor/libsodium/src/libsodium/crypto_stream/chacha20/dolbeau/u1.h +98 -0
  207. data/vendor/libsodium/src/libsodium/crypto_stream/chacha20/dolbeau/u4.h +175 -0
  208. data/vendor/libsodium/src/libsodium/crypto_stream/chacha20/dolbeau/u8.h +357 -0
  209. data/vendor/libsodium/src/libsodium/crypto_stream/chacha20/ref/{stream_chacha20_ref.c → chacha20_ref.c} +93 -94
  210. data/vendor/libsodium/src/libsodium/crypto_stream/chacha20/ref/chacha20_ref.h +8 -0
  211. data/vendor/libsodium/src/libsodium/crypto_stream/chacha20/stream_chacha20.c +39 -7
  212. data/vendor/libsodium/src/libsodium/crypto_stream/crypto_stream.c +7 -0
  213. data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/ref/salsa20_ref.c +120 -0
  214. data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/ref/salsa20_ref.h +8 -0
  215. data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/stream_salsa20.c +93 -0
  216. data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/stream_salsa20.h +16 -0
  217. data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/{amd64_xmm6/stream_salsa20_amd64_xmm6.S → xmm6/salsa20_xmm6-asm.S} +20 -12
  218. data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/xmm6/salsa20_xmm6.c +31 -0
  219. data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/xmm6/salsa20_xmm6.h +8 -0
  220. data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int/salsa20_xmm6int-avx2.c +131 -0
  221. data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int/salsa20_xmm6int-avx2.h +8 -0
  222. data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int/salsa20_xmm6int-sse2.c +122 -0
  223. data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int/salsa20_xmm6int-sse2.h +8 -0
  224. data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int/u0.h +195 -0
  225. data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int/u1.h +207 -0
  226. data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int/u4.h +547 -0
  227. data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int/u8.h +476 -0
  228. data/vendor/libsodium/src/libsodium/crypto_stream/salsa2012/ref/stream_salsa2012_ref.c +106 -0
  229. data/vendor/libsodium/src/libsodium/crypto_stream/salsa2012/stream_salsa2012.c +20 -0
  230. data/vendor/libsodium/src/libsodium/crypto_stream/salsa208/ref/stream_salsa208_ref.c +106 -0
  231. data/vendor/libsodium/src/libsodium/crypto_stream/salsa208/stream_salsa208.c +20 -0
  232. data/vendor/libsodium/src/libsodium/crypto_stream/xchacha20/stream_xchacha20.c +63 -0
  233. data/vendor/libsodium/src/libsodium/crypto_stream/xsalsa20/stream_xsalsa20.c +60 -0
  234. data/vendor/libsodium/src/libsodium/crypto_verify/sodium/verify.c +61 -0
  235. data/vendor/libsodium/src/libsodium/include/Makefile.am +8 -6
  236. data/vendor/libsodium/src/libsodium/include/Makefile.in +29 -21
  237. data/vendor/libsodium/src/libsodium/include/sodium.h +15 -4
  238. data/vendor/libsodium/src/libsodium/include/sodium/crypto_aead_aes256gcm.h +4 -0
  239. data/vendor/libsodium/src/libsodium/include/sodium/crypto_aead_chacha20poly1305.h +6 -0
  240. data/vendor/libsodium/src/libsodium/include/sodium/crypto_aead_xchacha20poly1305.h +91 -0
  241. data/vendor/libsodium/src/libsodium/include/sodium/crypto_auth.h +3 -0
  242. data/vendor/libsodium/src/libsodium/include/sodium/crypto_auth_hmacsha256.h +5 -0
  243. data/vendor/libsodium/src/libsodium/include/sodium/crypto_auth_hmacsha512.h +4 -0
  244. data/vendor/libsodium/src/libsodium/include/sodium/crypto_auth_hmacsha512256.h +4 -0
  245. data/vendor/libsodium/src/libsodium/include/sodium/crypto_box_curve25519xchacha20poly1305.h +153 -0
  246. data/vendor/libsodium/src/libsodium/include/sodium/crypto_generichash.h +4 -0
  247. data/vendor/libsodium/src/libsodium/include/sodium/crypto_generichash_blake2b.h +3 -4
  248. data/vendor/libsodium/src/libsodium/include/sodium/crypto_hash_sha256.h +4 -3
  249. data/vendor/libsodium/src/libsodium/include/sodium/crypto_hash_sha512.h +4 -3
  250. data/vendor/libsodium/src/libsodium/include/sodium/crypto_kdf.h +51 -0
  251. data/vendor/libsodium/src/libsodium/include/sodium/crypto_kdf_blake2b.h +42 -0
  252. data/vendor/libsodium/src/libsodium/include/sodium/crypto_kx.h +64 -0
  253. data/vendor/libsodium/src/libsodium/include/sodium/crypto_onetimeauth.h +4 -0
  254. data/vendor/libsodium/src/libsodium/include/sodium/crypto_onetimeauth_poly1305.h +11 -9
  255. data/vendor/libsodium/src/libsodium/include/sodium/crypto_pwhash.h +37 -1
  256. data/vendor/libsodium/src/libsodium/include/sodium/crypto_pwhash_argon2i.h +40 -10
  257. data/vendor/libsodium/src/libsodium/include/sodium/crypto_pwhash_argon2id.h +116 -0
  258. data/vendor/libsodium/src/libsodium/include/sodium/crypto_pwhash_scryptsalsa208sha256.h +37 -4
  259. data/vendor/libsodium/src/libsodium/include/sodium/crypto_scalarmult_curve25519.h +0 -4
  260. data/vendor/libsodium/src/libsodium/include/sodium/crypto_secretbox.h +3 -0
  261. data/vendor/libsodium/src/libsodium/include/sodium/crypto_secretbox_xchacha20poly1305.h +62 -0
  262. data/vendor/libsodium/src/libsodium/include/sodium/crypto_secretbox_xsalsa20poly1305.h +5 -1
  263. data/vendor/libsodium/src/libsodium/include/sodium/crypto_shorthash.h +3 -0
  264. data/vendor/libsodium/src/libsodium/include/sodium/crypto_shorthash_siphash24.h +18 -0
  265. data/vendor/libsodium/src/libsodium/include/sodium/crypto_sign.h +22 -0
  266. data/vendor/libsodium/src/libsodium/include/sodium/crypto_sign_ed25519.h +28 -0
  267. data/vendor/libsodium/src/libsodium/include/sodium/crypto_stream.h +3 -0
  268. data/vendor/libsodium/src/libsodium/include/sodium/crypto_stream_aes128ctr.h +10 -5
  269. data/vendor/libsodium/src/libsodium/include/sodium/crypto_stream_chacha20.h +14 -3
  270. data/vendor/libsodium/src/libsodium/include/sodium/crypto_stream_salsa20.h +4 -0
  271. data/vendor/libsodium/src/libsodium/include/sodium/crypto_stream_salsa2012.h +3 -0
  272. data/vendor/libsodium/src/libsodium/include/sodium/crypto_stream_salsa208.h +3 -0
  273. data/vendor/libsodium/src/libsodium/include/sodium/crypto_stream_xchacha20.h +53 -0
  274. data/vendor/libsodium/src/libsodium/include/sodium/crypto_stream_xsalsa20.h +4 -0
  275. data/vendor/libsodium/src/libsodium/include/sodium/private/common.h +84 -17
  276. data/vendor/libsodium/src/libsodium/include/sodium/private/implementations.h +11 -0
  277. data/vendor/libsodium/src/libsodium/include/sodium/private/sse2_64_32.h +50 -0
  278. data/vendor/libsodium/src/libsodium/include/sodium/randombytes.h +10 -2
  279. data/vendor/libsodium/src/libsodium/include/sodium/utils.h +4 -5
  280. data/vendor/libsodium/src/libsodium/include/sodium/version.h.in +4 -0
  281. data/vendor/libsodium/src/libsodium/randombytes/randombytes.c +47 -19
  282. data/vendor/libsodium/src/libsodium/randombytes/salsa20/randombytes_salsa20_random.c +30 -50
  283. data/vendor/libsodium/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c +25 -15
  284. data/vendor/libsodium/src/libsodium/sodium/core.c +25 -23
  285. data/vendor/libsodium/src/libsodium/sodium/runtime.c +66 -57
  286. data/vendor/libsodium/src/libsodium/sodium/utils.c +120 -106
  287. data/vendor/libsodium/src/libsodium/sodium/version.c +10 -0
  288. data/vendor/libsodium/test/Makefile.in +11 -7
  289. data/vendor/libsodium/test/default/Makefile.am +65 -5
  290. data/vendor/libsodium/test/default/Makefile.in +243 -78
  291. data/vendor/libsodium/test/default/aead_aes256gcm.c +2 -2
  292. data/vendor/libsodium/test/default/aead_xchacha20poly1305.c +188 -0
  293. data/vendor/libsodium/test/default/aead_xchacha20poly1305.exp +51 -0
  294. data/vendor/libsodium/test/default/auth.c +11 -7
  295. data/vendor/libsodium/test/default/auth2.c +15 -12
  296. data/vendor/libsodium/test/default/auth3.c +18 -15
  297. data/vendor/libsodium/test/default/auth5.c +3 -2
  298. data/vendor/libsodium/test/default/auth6.c +4 -3
  299. data/vendor/libsodium/test/default/auth7.c +3 -2
  300. data/vendor/libsodium/test/default/box.c +57 -52
  301. data/vendor/libsodium/test/default/box2.c +41 -36
  302. data/vendor/libsodium/test/default/box7.c +4 -3
  303. data/vendor/libsodium/test/default/box8.c +4 -3
  304. data/vendor/libsodium/test/default/box_easy.c +36 -32
  305. data/vendor/libsodium/test/default/box_easy2.c +41 -34
  306. data/vendor/libsodium/test/default/box_seal.c +7 -6
  307. data/vendor/libsodium/test/default/box_seed.c +10 -8
  308. data/vendor/libsodium/test/default/chacha20.c +18 -3
  309. data/vendor/libsodium/test/default/chacha20.exp +45 -0
  310. data/vendor/libsodium/test/default/cmptest.h +1 -0
  311. data/vendor/libsodium/test/default/core1.c +10 -9
  312. data/vendor/libsodium/test/default/core2.c +13 -12
  313. data/vendor/libsodium/test/default/core3.c +13 -12
  314. data/vendor/libsodium/test/default/core4.c +11 -12
  315. data/vendor/libsodium/test/default/core5.c +13 -12
  316. data/vendor/libsodium/test/default/core6.c +15 -13
  317. data/vendor/libsodium/test/default/ed25519_convert.c +12 -9
  318. data/vendor/libsodium/test/default/hash.c +10 -6
  319. data/vendor/libsodium/test/default/hash3.c +3 -2
  320. data/vendor/libsodium/test/default/index-wasm.html.tpl +118 -0
  321. data/vendor/libsodium/test/default/kdf.c +61 -0
  322. data/vendor/libsodium/test/default/kdf.exp +77 -0
  323. data/vendor/libsodium/test/default/keygen.c +64 -0
  324. data/vendor/libsodium/test/default/keygen.exp +1 -0
  325. data/vendor/libsodium/test/default/kx.c +119 -0
  326. data/vendor/libsodium/test/default/kx.exp +7 -0
  327. data/vendor/libsodium/test/default/nacl-test-wrapper.sh +9 -2
  328. data/vendor/libsodium/test/default/onetimeauth.c +26 -23
  329. data/vendor/libsodium/test/default/onetimeauth2.c +22 -20
  330. data/vendor/libsodium/test/default/onetimeauth7.c +3 -2
  331. data/vendor/libsodium/test/default/pwhash.c +209 -157
  332. data/vendor/libsodium/test/default/pwhash_argon2id.c +388 -0
  333. data/vendor/libsodium/test/default/pwhash_argon2id.exp +15 -0
  334. data/vendor/libsodium/test/default/pwhash_scrypt.c +232 -224
  335. data/vendor/libsodium/test/default/pwhash_scrypt.exp +2 -1
  336. data/vendor/libsodium/test/default/pwhash_scrypt_ll.c +39 -41
  337. data/vendor/libsodium/test/default/randombytes.c +34 -13
  338. data/vendor/libsodium/test/default/randombytes.exp +1 -0
  339. data/vendor/libsodium/test/default/scalarmult.c +21 -18
  340. data/vendor/libsodium/test/default/scalarmult2.c +8 -6
  341. data/vendor/libsodium/test/default/scalarmult5.c +13 -10
  342. data/vendor/libsodium/test/default/scalarmult6.c +17 -14
  343. data/vendor/libsodium/test/default/scalarmult7.c +9 -10
  344. data/vendor/libsodium/test/default/secretbox.c +39 -36
  345. data/vendor/libsodium/test/default/secretbox2.c +28 -25
  346. data/vendor/libsodium/test/default/secretbox7.c +3 -2
  347. data/vendor/libsodium/test/default/secretbox8.c +4 -3
  348. data/vendor/libsodium/test/default/secretbox_easy.c +40 -37
  349. data/vendor/libsodium/test/default/secretbox_easy2.c +19 -18
  350. data/vendor/libsodium/test/default/shorthash.c +4 -4
  351. data/vendor/libsodium/test/default/sign.c +70 -13
  352. data/vendor/libsodium/test/default/sign.exp +2 -0
  353. data/vendor/libsodium/test/default/siphashx24.c +33 -0
  354. data/vendor/libsodium/test/default/siphashx24.exp +64 -0
  355. data/vendor/libsodium/test/default/sodium_core.c +9 -8
  356. data/vendor/libsodium/test/default/sodium_utils.c +52 -46
  357. data/vendor/libsodium/test/default/sodium_utils2.c +17 -8
  358. data/vendor/libsodium/test/default/sodium_utils3.c +15 -6
  359. data/vendor/libsodium/test/default/sodium_version.c +7 -1
  360. data/vendor/libsodium/test/default/stream.c +31 -18
  361. data/vendor/libsodium/test/default/stream.exp +65 -0
  362. data/vendor/libsodium/test/default/stream2.c +13 -9
  363. data/vendor/libsodium/test/default/stream3.c +12 -10
  364. data/vendor/libsodium/test/default/stream4.c +30 -27
  365. data/vendor/libsodium/test/default/verify1.c +5 -4
  366. data/vendor/libsodium/test/default/xchacha20.c +376 -0
  367. data/vendor/libsodium/test/default/xchacha20.exp +5 -0
  368. data/vendor/libsodium/test/quirks/quirks.h +4 -3
  369. metadata +140 -111
  370. data/vendor/libsodium/autom4te.cache/output.3 +0 -17240
  371. data/vendor/libsodium/autom4te.cache/output.4 +0 -17517
  372. data/vendor/libsodium/autom4te.cache/output.5 +0 -18535
  373. data/vendor/libsodium/autom4te.cache/output.6 +0 -19077
  374. data/vendor/libsodium/autom4te.cache/output.7 +0 -19837
  375. data/vendor/libsodium/autom4te.cache/traces.3 +0 -2833
  376. data/vendor/libsodium/autom4te.cache/traces.4 +0 -2951
  377. data/vendor/libsodium/autom4te.cache/traces.5 +0 -3042
  378. data/vendor/libsodium/autom4te.cache/traces.6 +0 -3194
  379. data/vendor/libsodium/autom4te.cache/traces.7 +0 -3614
  380. data/vendor/libsodium/builds/msvc/properties/ARM.props +0 -20
  381. data/vendor/libsodium/compile +0 -347
  382. data/vendor/libsodium/config.guess +0 -1568
  383. data/vendor/libsodium/config.sub +0 -1793
  384. data/vendor/libsodium/depcomp +0 -791
  385. data/vendor/libsodium/install-sh +0 -527
  386. data/vendor/libsodium/ltmain.sh +0 -9655
  387. data/vendor/libsodium/missing +0 -215
  388. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha256/auth_hmacsha256_api.c +0 -16
  389. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha256/cp/verify_hmacsha256.c +0 -11
  390. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512/auth_hmacsha512_api.c +0 -16
  391. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512/cp/verify_hmacsha512.c +0 -12
  392. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512256/auth_hmacsha512256_api.c +0 -16
  393. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512256/cp/verify_hmacsha512256.c +0 -14
  394. data/vendor/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/box_curve25519xsalsa20poly1305_api.c +0 -41
  395. data/vendor/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/ref/after_curve25519xsalsa20poly1305.c +0 -22
  396. data/vendor/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/ref/before_curve25519xsalsa20poly1305.c +0 -18
  397. data/vendor/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/ref/box_curve25519xsalsa20poly1305.c +0 -42
  398. data/vendor/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/ref/keypair_curve25519xsalsa20poly1305.c +0 -29
  399. data/vendor/libsodium/src/libsodium/crypto_core/hchacha20/core_hchacha20.h +0 -28
  400. data/vendor/libsodium/src/libsodium/crypto_core/hsalsa20/ref2/core_hsalsa20.c +0 -100
  401. data/vendor/libsodium/src/libsodium/crypto_core/salsa20/core_salsa20_api.c +0 -21
  402. data/vendor/libsodium/src/libsodium/crypto_core/salsa20/ref/core_salsa20.c +0 -126
  403. data/vendor/libsodium/src/libsodium/crypto_core/salsa2012/core_salsa2012_api.c +0 -21
  404. data/vendor/libsodium/src/libsodium/crypto_core/salsa2012/ref/core_salsa2012.c +0 -126
  405. data/vendor/libsodium/src/libsodium/crypto_core/salsa208/core_salsa208_api.c +0 -21
  406. data/vendor/libsodium/src/libsodium/crypto_core/salsa208/ref/core_salsa208.c +0 -126
  407. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2-impl.h +0 -48
  408. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2.h +0 -97
  409. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-compress-avx2.c +0 -45
  410. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-compress-avx2.h +0 -123
  411. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-compress-ref.c +0 -94
  412. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-compress-sse41.c +0 -80
  413. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-compress-sse41.h +0 -97
  414. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-compress-ssse3.c +0 -87
  415. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-compress-ssse3.h +0 -97
  416. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-load-avx2.h +0 -339
  417. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-load-sse2.h +0 -66
  418. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-load-sse41.h +0 -400
  419. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-ref.c +0 -456
  420. data/vendor/libsodium/src/libsodium/crypto_hash/sha256/cp/hash_sha256.c +0 -269
  421. data/vendor/libsodium/src/libsodium/crypto_hash/sha512/cp/hash_sha512.c +0 -298
  422. data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-impl.h +0 -40
  423. data/vendor/libsodium/src/libsodium/crypto_secretbox/xsalsa20poly1305/ref/box_xsalsa20poly1305.c +0 -35
  424. data/vendor/libsodium/src/libsodium/crypto_secretbox/xsalsa20poly1305/secretbox_xsalsa20poly1305_api.c +0 -26
  425. data/vendor/libsodium/src/libsodium/crypto_shorthash/siphash24/ref/shorthash_siphash24.c +0 -72
  426. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/description +0 -1
  427. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/sign_ed25519_api.c +0 -39
  428. data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/afternm_aes128ctr.c +0 -159
  429. data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/beforenm_aes128ctr.c +0 -59
  430. data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/common.h +0 -771
  431. data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/consts.h +0 -28
  432. data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/consts_aes128ctr.c +0 -14
  433. data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/int128.h +0 -56
  434. data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/int128_aes128ctr.c +0 -131
  435. data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/stream_aes128ctr.c +0 -29
  436. data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/types.h +0 -10
  437. data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/xor_afternm_aes128ctr.c +0 -180
  438. data/vendor/libsodium/src/libsodium/crypto_stream/chacha20/ref/stream_chacha20_ref.h +0 -28
  439. data/vendor/libsodium/src/libsodium/crypto_stream/chacha20/vec/stream_chacha20_vec.c +0 -336
  440. data/vendor/libsodium/src/libsodium/crypto_stream/chacha20/vec/stream_chacha20_vec.h +0 -28
  441. data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/ref/stream_salsa20_ref.c +0 -55
  442. data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/ref/xor_salsa20_ref.c +0 -63
  443. data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/stream_salsa20_api.c +0 -19
  444. data/vendor/libsodium/src/libsodium/crypto_stream/salsa2012/ref/stream_salsa2012.c +0 -51
  445. data/vendor/libsodium/src/libsodium/crypto_stream/salsa2012/ref/xor_salsa2012.c +0 -54
  446. data/vendor/libsodium/src/libsodium/crypto_stream/salsa2012/stream_salsa2012_api.c +0 -11
  447. data/vendor/libsodium/src/libsodium/crypto_stream/salsa208/ref/stream_salsa208.c +0 -51
  448. data/vendor/libsodium/src/libsodium/crypto_stream/salsa208/ref/xor_salsa208.c +0 -54
  449. data/vendor/libsodium/src/libsodium/crypto_stream/salsa208/stream_salsa208_api.c +0 -11
  450. data/vendor/libsodium/src/libsodium/crypto_stream/xsalsa20/ref/stream_xsalsa20.c +0 -24
  451. data/vendor/libsodium/src/libsodium/crypto_stream/xsalsa20/ref/xor_xsalsa20.c +0 -35
  452. data/vendor/libsodium/src/libsodium/crypto_stream/xsalsa20/stream_xsalsa20_api.c +0 -11
  453. data/vendor/libsodium/src/libsodium/crypto_verify/16/ref/verify_16.c +0 -17
  454. data/vendor/libsodium/src/libsodium/crypto_verify/16/verify_16_api.c +0 -6
  455. data/vendor/libsodium/src/libsodium/crypto_verify/32/ref/verify_32.c +0 -17
  456. data/vendor/libsodium/src/libsodium/crypto_verify/32/verify_32_api.c +0 -6
  457. data/vendor/libsodium/src/libsodium/crypto_verify/64/ref/verify_64.c +0 -17
  458. data/vendor/libsodium/src/libsodium/crypto_verify/64/verify_64_api.c +0 -6
  459. data/vendor/libsodium/src/libsodium/include/sodium/crypto_int32.h +0 -8
  460. data/vendor/libsodium/src/libsodium/include/sodium/crypto_int64.h +0 -8
  461. data/vendor/libsodium/src/libsodium/include/sodium/crypto_uint16.h +0 -8
  462. data/vendor/libsodium/src/libsodium/include/sodium/crypto_uint32.h +0 -8
  463. data/vendor/libsodium/src/libsodium/include/sodium/crypto_uint64.h +0 -8
  464. data/vendor/libsodium/src/libsodium/include/sodium/crypto_uint8.h +0 -8
  465. data/vendor/libsodium/test-driver +0 -139
@@ -18,3 +18,13 @@ sodium_library_version_minor(void)
18
18
  {
19
19
  return SODIUM_LIBRARY_VERSION_MINOR;
20
20
  }
21
+
22
+ int
23
+ sodium_library_minimal(void)
24
+ {
25
+ #ifdef SODIUM_LIBRARY_MINIMAL
26
+ return 1;
27
+ #else
28
+ return 0;
29
+ #endif
30
+ }
@@ -1,7 +1,7 @@
1
- # Makefile.in generated by automake 1.15 from Makefile.am.
1
+ # Makefile.in generated by automake 1.15.1 from Makefile.am.
2
2
  # @configure_input@
3
3
 
4
- # Copyright (C) 1994-2014 Free Software Foundation, Inc.
4
+ # Copyright (C) 1994-2017 Free Software Foundation, Inc.
5
5
 
6
6
  # This Makefile.in is free software; the Free Software Foundation
7
7
  # gives unlimited permission to copy and/or distribute it,
@@ -89,7 +89,8 @@ build_triplet = @build@
89
89
  host_triplet = @host@
90
90
  subdir = test
91
91
  ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
92
- am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
92
+ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_catchable_segv.m4 \
93
+ $(top_srcdir)/m4/ax_check_compile_flag.m4 \
93
94
  $(top_srcdir)/m4/ax_check_define.m4 \
94
95
  $(top_srcdir)/m4/ax_check_link_flag.m4 \
95
96
  $(top_srcdir)/m4/ax_pthread.m4 \
@@ -224,6 +225,10 @@ ECHO_C = @ECHO_C@
224
225
  ECHO_N = @ECHO_N@
225
226
  ECHO_T = @ECHO_T@
226
227
  EGREP = @EGREP@
228
+ ENABLE_VALGRIND_drd = @ENABLE_VALGRIND_drd@
229
+ ENABLE_VALGRIND_helgrind = @ENABLE_VALGRIND_helgrind@
230
+ ENABLE_VALGRIND_memcheck = @ENABLE_VALGRIND_memcheck@
231
+ ENABLE_VALGRIND_sgcheck = @ENABLE_VALGRIND_sgcheck@
227
232
  EXEEXT = @EXEEXT@
228
233
  FGREP = @FGREP@
229
234
  GREP = @GREP@
@@ -274,6 +279,7 @@ SAFECODE_HOME = @SAFECODE_HOME@
274
279
  SED = @SED@
275
280
  SET_MAKE = @SET_MAKE@
276
281
  SHELL = @SHELL@
282
+ SODIUM_LIBRARY_MINIMAL_DEF = @SODIUM_LIBRARY_MINIMAL_DEF@
277
283
  SODIUM_LIBRARY_VERSION = @SODIUM_LIBRARY_VERSION@
278
284
  SODIUM_LIBRARY_VERSION_MAJOR = @SODIUM_LIBRARY_VERSION_MAJOR@
279
285
  SODIUM_LIBRARY_VERSION_MINOR = @SODIUM_LIBRARY_VERSION_MINOR@
@@ -281,10 +287,6 @@ STRIP = @STRIP@
281
287
  TEST_LDFLAGS = @TEST_LDFLAGS@
282
288
  VALGRIND = @VALGRIND@
283
289
  VALGRIND_ENABLED = @VALGRIND_ENABLED@
284
- VALGRIND_HAVE_TOOL_drd = @VALGRIND_HAVE_TOOL_drd@
285
- VALGRIND_HAVE_TOOL_exp_sgcheck = @VALGRIND_HAVE_TOOL_exp_sgcheck@
286
- VALGRIND_HAVE_TOOL_helgrind = @VALGRIND_HAVE_TOOL_helgrind@
287
- VALGRIND_HAVE_TOOL_memcheck = @VALGRIND_HAVE_TOOL_memcheck@
288
290
  VERSION = @VERSION@
289
291
  abs_builddir = @abs_builddir@
290
292
  abs_srcdir = @abs_srcdir@
@@ -339,6 +341,8 @@ target_alias = @target_alias@
339
341
  top_build_prefix = @top_build_prefix@
340
342
  top_builddir = @top_builddir@
341
343
  top_srcdir = @top_srcdir@
344
+ valgrind_enabled_tools = @valgrind_enabled_tools@
345
+ valgrind_tools = @valgrind_tools@
342
346
  SUBDIRS = \
343
347
  default
344
348
 
@@ -5,6 +5,7 @@ EXTRA_DIST = \
5
5
  pre.js.inc \
6
6
  aead_aes256gcm.exp \
7
7
  aead_chacha20poly1305.exp \
8
+ aead_xchacha20poly1305.exp \
8
9
  auth.exp \
9
10
  auth2.exp \
10
11
  auth3.exp \
@@ -33,10 +34,14 @@ EXTRA_DIST = \
33
34
  hash.exp \
34
35
  hash2.exp \
35
36
  hash3.exp \
37
+ kdf.exp \
38
+ keygen.exp \
39
+ kx.exp \
36
40
  onetimeauth.exp \
37
41
  onetimeauth2.exp \
38
42
  onetimeauth7.exp \
39
43
  pwhash.exp \
44
+ pwhash_argon2id.exp \
40
45
  pwhash_scrypt.exp \
41
46
  pwhash_scrypt_ll.exp \
42
47
  randombytes.exp \
@@ -53,6 +58,7 @@ EXTRA_DIST = \
53
58
  secretbox_easy2.exp \
54
59
  shorthash.exp \
55
60
  sign.exp \
61
+ siphashx24.exp \
56
62
  sodium_core.exp \
57
63
  sodium_utils.exp \
58
64
  sodium_utils2.exp \
@@ -62,11 +68,13 @@ EXTRA_DIST = \
62
68
  stream2.exp \
63
69
  stream3.exp \
64
70
  stream4.exp \
65
- verify1.exp
71
+ verify1.exp \
72
+ xchacha20.exp
66
73
 
67
74
  DISTCLEANFILES = \
68
75
  aead_aes256gcm.res \
69
76
  aead_chacha20poly1305.res \
77
+ aead_xchacha20poly1305.res \
70
78
  auth.res \
71
79
  auth2.res \
72
80
  auth3.res \
@@ -95,10 +103,14 @@ DISTCLEANFILES = \
95
103
  hash.res \
96
104
  hash2.res \
97
105
  hash3.res \
106
+ kdf.res \
107
+ keygen.res \
108
+ kx.res \
98
109
  onetimeauth.res \
99
110
  onetimeauth2.res \
100
111
  onetimeauth7.res \
101
112
  pwhash.res \
113
+ pwhash_argon2id.res \
102
114
  pwhash_scrypt.res \
103
115
  pwhash_scrypt_ll.res \
104
116
  randombytes.res \
@@ -115,6 +127,7 @@ DISTCLEANFILES = \
115
127
  secretbox_easy2.res \
116
128
  shorthash.res \
117
129
  sign.res \
130
+ siphashx24.res \
118
131
  sodium_core.res \
119
132
  sodium_utils.res \
120
133
  sodium_utils2.res \
@@ -124,12 +137,14 @@ DISTCLEANFILES = \
124
137
  stream2.res \
125
138
  stream3.res \
126
139
  stream4.res \
127
- verify1.res
140
+ verify1.res \
141
+ xchacha20.res
128
142
 
129
143
  if NATIVECLIENT
130
144
  CLEANFILES = \
131
145
  aead_aes256gcm.final \
132
146
  aead_chacha20poly1305.final \
147
+ aead_xchacha20poly1305.final \
133
148
  auth.final \
134
149
  auth2.final \
135
150
  auth3.final \
@@ -158,10 +173,14 @@ CLEANFILES = \
158
173
  hash.final \
159
174
  hash2.final \
160
175
  hash3.final \
176
+ kdf.final \
177
+ keygen.final \
178
+ kx.final \
161
179
  onetimeauth.final \
162
180
  onetimeauth2.final \
163
181
  onetimeauth7.final \
164
182
  pwhash.final \
183
+ pwhash_argon2id.final \
165
184
  pwhash_scrypt.final \
166
185
  pwhash_scrypt_ll.final \
167
186
  randombytes.final \
@@ -178,6 +197,7 @@ CLEANFILES = \
178
197
  secretbox_easy2.final \
179
198
  shorthash.final \
180
199
  sign.final \
200
+ siphashx24.final \
181
201
  sodium_core.final \
182
202
  sodium_utils.final \
183
203
  sodium_version.final \
@@ -186,8 +206,10 @@ CLEANFILES = \
186
206
  stream3.final \
187
207
  stream4.final \
188
208
  verify1.final \
209
+ xchacha20.final \
189
210
  aead_aes256gcm.nexe \
190
211
  aead_chacha20poly1305.nexe \
212
+ aead_xchacha20poly1305.nexe \
191
213
  auth.nexe \
192
214
  auth2.nexe \
193
215
  auth3.nexe \
@@ -216,10 +238,14 @@ CLEANFILES = \
216
238
  hash.nexe \
217
239
  hash2.nexe \
218
240
  hash3.nexe \
241
+ kdf.nexe \
242
+ keygen.nexe \
243
+ kx.nexe \
219
244
  onetimeauth.nexe \
220
245
  onetimeauth2.nexe \
221
246
  onetimeauth7.nexe \
222
247
  pwhash.nexe \
248
+ pwhash_argon2id.nexe \
223
249
  pwhash_scrypt.nexe \
224
250
  pwhash_scrypt_ll.nexe \
225
251
  randombytes.nexe \
@@ -236,6 +262,7 @@ CLEANFILES = \
236
262
  secretbox_easy2.nexe \
237
263
  shorthash.nexe \
238
264
  sign.nexe \
265
+ siphashx24.nexe \
239
266
  sodium_core.nexe \
240
267
  sodium_utils.nexe \
241
268
  sodium_version.nexe \
@@ -243,7 +270,8 @@ CLEANFILES = \
243
270
  stream2.nexe \
244
271
  stream3.nexe \
245
272
  stream4.nexe \
246
- verify1.nexe
273
+ verify1.nexe \
274
+ xchacha20.nexe
247
275
  endif
248
276
 
249
277
  AM_CPPFLAGS = \
@@ -259,6 +287,7 @@ AM_LDFLAGS = @TEST_LDFLAGS@
259
287
  TESTS_TARGETS = \
260
288
  aead_aes256gcm \
261
289
  aead_chacha20poly1305 \
290
+ aead_xchacha20poly1305 \
262
291
  auth \
263
292
  auth2 \
264
293
  auth3 \
@@ -286,12 +315,14 @@ TESTS_TARGETS = \
286
315
  generichash3 \
287
316
  hash \
288
317
  hash3 \
318
+ kdf \
319
+ keygen \
320
+ kx \
289
321
  onetimeauth \
290
322
  onetimeauth2 \
291
323
  onetimeauth7 \
292
324
  pwhash \
293
- pwhash_scrypt \
294
- pwhash_scrypt_ll \
325
+ pwhash_argon2id \
295
326
  randombytes \
296
327
  scalarmult \
297
328
  scalarmult2 \
@@ -336,6 +367,9 @@ aead_aes256gcm_LDADD = $(TESTS_LDADD)
336
367
  aead_chacha20poly1305_SOURCE = cmptest.h aead_chacha20poly1305.c
337
368
  aead_chacha20poly1305_LDADD = $(TESTS_LDADD)
338
369
 
370
+ aead_xchacha20poly1305_SOURCE = cmptest.h aead_xchacha20poly1305.c
371
+ aead_xchacha20poly1305_LDADD = $(TESTS_LDADD)
372
+
339
373
  auth_SOURCE = cmptest.h auth.c
340
374
  auth_LDADD = $(TESTS_LDADD)
341
375
 
@@ -417,6 +451,15 @@ hash_LDADD = $(TESTS_LDADD)
417
451
  hash3_SOURCE = cmptest.h hash3.c
418
452
  hash3_LDADD = $(TESTS_LDADD)
419
453
 
454
+ kdf_SOURCE = cmptest.h kdf.c
455
+ kdf_LDADD = $(TESTS_LDADD)
456
+
457
+ keygen_SOURCE = cmptest.h keygen.c
458
+ keygen_LDADD = $(TESTS_LDADD)
459
+
460
+ kx_SOURCE = cmptest.h kx.c
461
+ kx_LDADD = $(TESTS_LDADD)
462
+
420
463
  onetimeauth_SOURCE = cmptest.h onetimeauth.c
421
464
  onetimeauth_LDADD = $(TESTS_LDADD)
422
465
 
@@ -429,6 +472,9 @@ onetimeauth7_LDADD = $(TESTS_LDADD)
429
472
  pwhash_SOURCE = cmptest.h pwhash.c
430
473
  pwhash_LDADD = $(TESTS_LDADD)
431
474
 
475
+ pwhash_argon2id_SOURCE = cmptest.h pwhash_argon2id.c
476
+ pwhash_argon2id_LDADD = $(TESTS_LDADD)
477
+
432
478
  pwhash_scrypt_SOURCE = cmptest.h pwhash_scrypt.c
433
479
  pwhash_scrypt_LDADD = $(TESTS_LDADD)
434
480
 
@@ -477,6 +523,9 @@ shorthash_LDADD = $(TESTS_LDADD)
477
523
  sign_SOURCE = cmptest.h sign.c
478
524
  sign_LDADD = $(TESTS_LDADD)
479
525
 
526
+ siphashx24_SOURCE = cmptest.h siphashx24.c
527
+ siphashx24_LDADD = $(TESTS_LDADD)
528
+
480
529
  sodium_core_SOURCE = cmptest.h sodium_core.c
481
530
  sodium_core_LDADD = $(TESTS_LDADD)
482
531
 
@@ -507,6 +556,17 @@ stream4_LDADD = $(TESTS_LDADD)
507
556
  verify1_SOURCE = cmptest.h verify1.c
508
557
  verify1_LDADD = $(TESTS_LDADD)
509
558
 
559
+ xchacha20_SOURCE = cmptest.h xchacha20.c
560
+ xchacha20_LDADD = $(TESTS_LDADD)
561
+
562
+ if !MINIMAL
563
+ TESTS_TARGETS += \
564
+ pwhash_scrypt \
565
+ pwhash_scrypt_ll \
566
+ siphashx24 \
567
+ xchacha20
568
+ endif
569
+
510
570
  if NATIVECLIENT
511
571
  LOG_COMPILER = ./nacl-test-wrapper.sh
512
572
  endif
@@ -1,7 +1,7 @@
1
- # Makefile.in generated by automake 1.15 from Makefile.am.
1
+ # Makefile.in generated by automake 1.15.1 from Makefile.am.
2
2
  # @configure_input@
3
3
 
4
- # Copyright (C) 1994-2014 Free Software Foundation, Inc.
4
+ # Copyright (C) 1994-2017 Free Software Foundation, Inc.
5
5
 
6
6
  # This Makefile.in is free software; the Free Software Foundation
7
7
  # gives unlimited permission to copy and/or distribute it,
@@ -91,11 +91,18 @@ host_triplet = @host@
91
91
  @EMSCRIPTEN_FALSE@@NATIVECLIENT_FALSE@ sodium_utils2 \
92
92
  @EMSCRIPTEN_FALSE@@NATIVECLIENT_FALSE@ sodium_utils3
93
93
 
94
- check_PROGRAMS = $(am__EXEEXT_2)
95
- TESTS = $(am__EXEEXT_2)
94
+ check_PROGRAMS = $(am__EXEEXT_3)
95
+ TESTS = $(am__EXEEXT_3)
96
+ @MINIMAL_FALSE@am__append_2 = \
97
+ @MINIMAL_FALSE@ pwhash_scrypt \
98
+ @MINIMAL_FALSE@ pwhash_scrypt_ll \
99
+ @MINIMAL_FALSE@ siphashx24 \
100
+ @MINIMAL_FALSE@ xchacha20
101
+
96
102
  subdir = test/default
97
103
  ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
98
- am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
104
+ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_catchable_segv.m4 \
105
+ $(top_srcdir)/m4/ax_check_compile_flag.m4 \
99
106
  $(top_srcdir)/m4/ax_check_define.m4 \
100
107
  $(top_srcdir)/m4/ax_check_link_flag.m4 \
101
108
  $(top_srcdir)/m4/ax_pthread.m4 \
@@ -113,26 +120,30 @@ CONFIG_CLEAN_VPATH_FILES =
113
120
  @EMSCRIPTEN_FALSE@@NATIVECLIENT_FALSE@am__EXEEXT_1 = \
114
121
  @EMSCRIPTEN_FALSE@@NATIVECLIENT_FALSE@ sodium_utils2$(EXEEXT) \
115
122
  @EMSCRIPTEN_FALSE@@NATIVECLIENT_FALSE@ sodium_utils3$(EXEEXT)
116
- am__EXEEXT_2 = aead_aes256gcm$(EXEEXT) aead_chacha20poly1305$(EXEEXT) \
117
- auth$(EXEEXT) auth2$(EXEEXT) auth3$(EXEEXT) auth5$(EXEEXT) \
118
- auth6$(EXEEXT) auth7$(EXEEXT) box$(EXEEXT) box2$(EXEEXT) \
119
- box7$(EXEEXT) box8$(EXEEXT) box_easy$(EXEEXT) \
120
- box_easy2$(EXEEXT) box_seal$(EXEEXT) box_seed$(EXEEXT) \
121
- chacha20$(EXEEXT) core1$(EXEEXT) core2$(EXEEXT) core3$(EXEEXT) \
122
- core4$(EXEEXT) core5$(EXEEXT) core6$(EXEEXT) \
123
- ed25519_convert$(EXEEXT) generichash$(EXEEXT) \
123
+ @MINIMAL_FALSE@am__EXEEXT_2 = pwhash_scrypt$(EXEEXT) \
124
+ @MINIMAL_FALSE@ pwhash_scrypt_ll$(EXEEXT) siphashx24$(EXEEXT) \
125
+ @MINIMAL_FALSE@ xchacha20$(EXEEXT)
126
+ am__EXEEXT_3 = aead_aes256gcm$(EXEEXT) aead_chacha20poly1305$(EXEEXT) \
127
+ aead_xchacha20poly1305$(EXEEXT) auth$(EXEEXT) auth2$(EXEEXT) \
128
+ auth3$(EXEEXT) auth5$(EXEEXT) auth6$(EXEEXT) auth7$(EXEEXT) \
129
+ box$(EXEEXT) box2$(EXEEXT) box7$(EXEEXT) box8$(EXEEXT) \
130
+ box_easy$(EXEEXT) box_easy2$(EXEEXT) box_seal$(EXEEXT) \
131
+ box_seed$(EXEEXT) chacha20$(EXEEXT) core1$(EXEEXT) \
132
+ core2$(EXEEXT) core3$(EXEEXT) core4$(EXEEXT) core5$(EXEEXT) \
133
+ core6$(EXEEXT) ed25519_convert$(EXEEXT) generichash$(EXEEXT) \
124
134
  generichash2$(EXEEXT) generichash3$(EXEEXT) hash$(EXEEXT) \
125
- hash3$(EXEEXT) onetimeauth$(EXEEXT) onetimeauth2$(EXEEXT) \
126
- onetimeauth7$(EXEEXT) pwhash$(EXEEXT) pwhash_scrypt$(EXEEXT) \
127
- pwhash_scrypt_ll$(EXEEXT) randombytes$(EXEEXT) \
128
- scalarmult$(EXEEXT) scalarmult2$(EXEEXT) scalarmult5$(EXEEXT) \
129
- scalarmult6$(EXEEXT) scalarmult7$(EXEEXT) secretbox$(EXEEXT) \
130
- secretbox2$(EXEEXT) secretbox7$(EXEEXT) secretbox8$(EXEEXT) \
131
- secretbox_easy$(EXEEXT) secretbox_easy2$(EXEEXT) \
132
- shorthash$(EXEEXT) sign$(EXEEXT) sodium_core$(EXEEXT) \
133
- sodium_utils$(EXEEXT) sodium_version$(EXEEXT) stream$(EXEEXT) \
134
- stream2$(EXEEXT) stream3$(EXEEXT) stream4$(EXEEXT) \
135
- verify1$(EXEEXT) $(am__EXEEXT_1)
135
+ hash3$(EXEEXT) kdf$(EXEEXT) keygen$(EXEEXT) kx$(EXEEXT) \
136
+ onetimeauth$(EXEEXT) onetimeauth2$(EXEEXT) \
137
+ onetimeauth7$(EXEEXT) pwhash$(EXEEXT) pwhash_argon2id$(EXEEXT) \
138
+ randombytes$(EXEEXT) scalarmult$(EXEEXT) scalarmult2$(EXEEXT) \
139
+ scalarmult5$(EXEEXT) scalarmult6$(EXEEXT) scalarmult7$(EXEEXT) \
140
+ secretbox$(EXEEXT) secretbox2$(EXEEXT) secretbox7$(EXEEXT) \
141
+ secretbox8$(EXEEXT) secretbox_easy$(EXEEXT) \
142
+ secretbox_easy2$(EXEEXT) shorthash$(EXEEXT) sign$(EXEEXT) \
143
+ sodium_core$(EXEEXT) sodium_utils$(EXEEXT) \
144
+ sodium_version$(EXEEXT) stream$(EXEEXT) stream2$(EXEEXT) \
145
+ stream3$(EXEEXT) stream4$(EXEEXT) verify1$(EXEEXT) \
146
+ $(am__EXEEXT_1) $(am__EXEEXT_2)
136
147
  aead_aes256gcm_SOURCES = aead_aes256gcm.c
137
148
  aead_aes256gcm_OBJECTS = aead_aes256gcm.$(OBJEXT)
138
149
  aead_aes256gcm_DEPENDENCIES = $(TESTS_LDADD)
@@ -143,6 +154,9 @@ am__v_lt_1 =
143
154
  aead_chacha20poly1305_SOURCES = aead_chacha20poly1305.c
144
155
  aead_chacha20poly1305_OBJECTS = aead_chacha20poly1305.$(OBJEXT)
145
156
  aead_chacha20poly1305_DEPENDENCIES = $(TESTS_LDADD)
157
+ aead_xchacha20poly1305_SOURCES = aead_xchacha20poly1305.c
158
+ aead_xchacha20poly1305_OBJECTS = aead_xchacha20poly1305.$(OBJEXT)
159
+ aead_xchacha20poly1305_DEPENDENCIES = $(TESTS_LDADD)
146
160
  auth_SOURCES = auth.c
147
161
  auth_OBJECTS = auth.$(OBJEXT)
148
162
  auth_DEPENDENCIES = $(TESTS_LDADD)
@@ -224,6 +238,15 @@ hash_DEPENDENCIES = $(TESTS_LDADD)
224
238
  hash3_SOURCES = hash3.c
225
239
  hash3_OBJECTS = hash3.$(OBJEXT)
226
240
  hash3_DEPENDENCIES = $(TESTS_LDADD)
241
+ kdf_SOURCES = kdf.c
242
+ kdf_OBJECTS = kdf.$(OBJEXT)
243
+ kdf_DEPENDENCIES = $(TESTS_LDADD)
244
+ keygen_SOURCES = keygen.c
245
+ keygen_OBJECTS = keygen.$(OBJEXT)
246
+ keygen_DEPENDENCIES = $(TESTS_LDADD)
247
+ kx_SOURCES = kx.c
248
+ kx_OBJECTS = kx.$(OBJEXT)
249
+ kx_DEPENDENCIES = $(TESTS_LDADD)
227
250
  onetimeauth_SOURCES = onetimeauth.c
228
251
  onetimeauth_OBJECTS = onetimeauth.$(OBJEXT)
229
252
  onetimeauth_DEPENDENCIES = $(TESTS_LDADD)
@@ -236,6 +259,9 @@ onetimeauth7_DEPENDENCIES = $(TESTS_LDADD)
236
259
  pwhash_SOURCES = pwhash.c
237
260
  pwhash_OBJECTS = pwhash.$(OBJEXT)
238
261
  pwhash_DEPENDENCIES = $(TESTS_LDADD)
262
+ pwhash_argon2id_SOURCES = pwhash_argon2id.c
263
+ pwhash_argon2id_OBJECTS = pwhash_argon2id.$(OBJEXT)
264
+ pwhash_argon2id_DEPENDENCIES = $(TESTS_LDADD)
239
265
  pwhash_scrypt_SOURCES = pwhash_scrypt.c
240
266
  pwhash_scrypt_OBJECTS = pwhash_scrypt.$(OBJEXT)
241
267
  pwhash_scrypt_DEPENDENCIES = $(TESTS_LDADD)
@@ -284,6 +310,9 @@ shorthash_DEPENDENCIES = $(TESTS_LDADD)
284
310
  sign_SOURCES = sign.c
285
311
  sign_OBJECTS = sign.$(OBJEXT)
286
312
  sign_DEPENDENCIES = $(TESTS_LDADD)
313
+ siphashx24_SOURCES = siphashx24.c
314
+ siphashx24_OBJECTS = siphashx24.$(OBJEXT)
315
+ siphashx24_DEPENDENCIES = $(TESTS_LDADD)
287
316
  sodium_core_SOURCES = sodium_core.c
288
317
  sodium_core_OBJECTS = sodium_core.$(OBJEXT)
289
318
  sodium_core_DEPENDENCIES = $(TESTS_LDADD)
@@ -314,6 +343,9 @@ stream4_DEPENDENCIES = $(TESTS_LDADD)
314
343
  verify1_SOURCES = verify1.c
315
344
  verify1_OBJECTS = verify1.$(OBJEXT)
316
345
  verify1_DEPENDENCIES = $(TESTS_LDADD)
346
+ xchacha20_SOURCES = xchacha20.c
347
+ xchacha20_OBJECTS = xchacha20.$(OBJEXT)
348
+ xchacha20_DEPENDENCIES = $(TESTS_LDADD)
317
349
  AM_V_P = $(am__v_P_@AM_V@)
318
350
  am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
319
351
  am__v_P_0 = false
@@ -348,32 +380,36 @@ AM_V_CCLD = $(am__v_CCLD_@AM_V@)
348
380
  am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
349
381
  am__v_CCLD_0 = @echo " CCLD " $@;
350
382
  am__v_CCLD_1 =
351
- SOURCES = aead_aes256gcm.c aead_chacha20poly1305.c auth.c auth2.c \
352
- auth3.c auth5.c auth6.c auth7.c box.c box2.c box7.c box8.c \
353
- box_easy.c box_easy2.c box_seal.c box_seed.c chacha20.c \
354
- core1.c core2.c core3.c core4.c core5.c core6.c \
355
- ed25519_convert.c generichash.c generichash2.c generichash3.c \
356
- hash.c hash3.c onetimeauth.c onetimeauth2.c onetimeauth7.c \
357
- pwhash.c pwhash_scrypt.c pwhash_scrypt_ll.c randombytes.c \
358
- scalarmult.c scalarmult2.c scalarmult5.c scalarmult6.c \
359
- scalarmult7.c secretbox.c secretbox2.c secretbox7.c \
360
- secretbox8.c secretbox_easy.c secretbox_easy2.c shorthash.c \
361
- sign.c sodium_core.c sodium_utils.c sodium_utils2.c \
362
- sodium_utils3.c sodium_version.c stream.c stream2.c stream3.c \
363
- stream4.c verify1.c
364
- DIST_SOURCES = aead_aes256gcm.c aead_chacha20poly1305.c auth.c auth2.c \
365
- auth3.c auth5.c auth6.c auth7.c box.c box2.c box7.c box8.c \
366
- box_easy.c box_easy2.c box_seal.c box_seed.c chacha20.c \
367
- core1.c core2.c core3.c core4.c core5.c core6.c \
368
- ed25519_convert.c generichash.c generichash2.c generichash3.c \
369
- hash.c hash3.c onetimeauth.c onetimeauth2.c onetimeauth7.c \
370
- pwhash.c pwhash_scrypt.c pwhash_scrypt_ll.c randombytes.c \
371
- scalarmult.c scalarmult2.c scalarmult5.c scalarmult6.c \
372
- scalarmult7.c secretbox.c secretbox2.c secretbox7.c \
373
- secretbox8.c secretbox_easy.c secretbox_easy2.c shorthash.c \
374
- sign.c sodium_core.c sodium_utils.c sodium_utils2.c \
375
- sodium_utils3.c sodium_version.c stream.c stream2.c stream3.c \
376
- stream4.c verify1.c
383
+ SOURCES = aead_aes256gcm.c aead_chacha20poly1305.c \
384
+ aead_xchacha20poly1305.c auth.c auth2.c auth3.c auth5.c \
385
+ auth6.c auth7.c box.c box2.c box7.c box8.c box_easy.c \
386
+ box_easy2.c box_seal.c box_seed.c chacha20.c core1.c core2.c \
387
+ core3.c core4.c core5.c core6.c ed25519_convert.c \
388
+ generichash.c generichash2.c generichash3.c hash.c hash3.c \
389
+ kdf.c keygen.c kx.c onetimeauth.c onetimeauth2.c \
390
+ onetimeauth7.c pwhash.c pwhash_argon2id.c pwhash_scrypt.c \
391
+ pwhash_scrypt_ll.c randombytes.c scalarmult.c scalarmult2.c \
392
+ scalarmult5.c scalarmult6.c scalarmult7.c secretbox.c \
393
+ secretbox2.c secretbox7.c secretbox8.c secretbox_easy.c \
394
+ secretbox_easy2.c shorthash.c sign.c siphashx24.c \
395
+ sodium_core.c sodium_utils.c sodium_utils2.c sodium_utils3.c \
396
+ sodium_version.c stream.c stream2.c stream3.c stream4.c \
397
+ verify1.c xchacha20.c
398
+ DIST_SOURCES = aead_aes256gcm.c aead_chacha20poly1305.c \
399
+ aead_xchacha20poly1305.c auth.c auth2.c auth3.c auth5.c \
400
+ auth6.c auth7.c box.c box2.c box7.c box8.c box_easy.c \
401
+ box_easy2.c box_seal.c box_seed.c chacha20.c core1.c core2.c \
402
+ core3.c core4.c core5.c core6.c ed25519_convert.c \
403
+ generichash.c generichash2.c generichash3.c hash.c hash3.c \
404
+ kdf.c keygen.c kx.c onetimeauth.c onetimeauth2.c \
405
+ onetimeauth7.c pwhash.c pwhash_argon2id.c pwhash_scrypt.c \
406
+ pwhash_scrypt_ll.c randombytes.c scalarmult.c scalarmult2.c \
407
+ scalarmult5.c scalarmult6.c scalarmult7.c secretbox.c \
408
+ secretbox2.c secretbox7.c secretbox8.c secretbox_easy.c \
409
+ secretbox_easy2.c shorthash.c sign.c siphashx24.c \
410
+ sodium_core.c sodium_utils.c sodium_utils2.c sodium_utils3.c \
411
+ sodium_version.c stream.c stream2.c stream3.c stream4.c \
412
+ verify1.c xchacha20.c
377
413
  am__can_run_installinfo = \
378
414
  case $$AM_UPDATE_INFO_DIR in \
379
415
  n|no|NO) false;; \
@@ -644,6 +680,10 @@ ECHO_C = @ECHO_C@
644
680
  ECHO_N = @ECHO_N@
645
681
  ECHO_T = @ECHO_T@
646
682
  EGREP = @EGREP@
683
+ ENABLE_VALGRIND_drd = @ENABLE_VALGRIND_drd@
684
+ ENABLE_VALGRIND_helgrind = @ENABLE_VALGRIND_helgrind@
685
+ ENABLE_VALGRIND_memcheck = @ENABLE_VALGRIND_memcheck@
686
+ ENABLE_VALGRIND_sgcheck = @ENABLE_VALGRIND_sgcheck@
647
687
  EXEEXT = @EXEEXT@
648
688
  FGREP = @FGREP@
649
689
  GREP = @GREP@
@@ -694,6 +734,7 @@ SAFECODE_HOME = @SAFECODE_HOME@
694
734
  SED = @SED@
695
735
  SET_MAKE = @SET_MAKE@
696
736
  SHELL = @SHELL@
737
+ SODIUM_LIBRARY_MINIMAL_DEF = @SODIUM_LIBRARY_MINIMAL_DEF@
697
738
  SODIUM_LIBRARY_VERSION = @SODIUM_LIBRARY_VERSION@
698
739
  SODIUM_LIBRARY_VERSION_MAJOR = @SODIUM_LIBRARY_VERSION_MAJOR@
699
740
  SODIUM_LIBRARY_VERSION_MINOR = @SODIUM_LIBRARY_VERSION_MINOR@
@@ -701,10 +742,6 @@ STRIP = @STRIP@
701
742
  TEST_LDFLAGS = @TEST_LDFLAGS@
702
743
  VALGRIND = @VALGRIND@
703
744
  VALGRIND_ENABLED = @VALGRIND_ENABLED@
704
- VALGRIND_HAVE_TOOL_drd = @VALGRIND_HAVE_TOOL_drd@
705
- VALGRIND_HAVE_TOOL_exp_sgcheck = @VALGRIND_HAVE_TOOL_exp_sgcheck@
706
- VALGRIND_HAVE_TOOL_helgrind = @VALGRIND_HAVE_TOOL_helgrind@
707
- VALGRIND_HAVE_TOOL_memcheck = @VALGRIND_HAVE_TOOL_memcheck@
708
745
  VERSION = @VERSION@
709
746
  abs_builddir = @abs_builddir@
710
747
  abs_srcdir = @abs_srcdir@
@@ -759,12 +796,15 @@ target_alias = @target_alias@
759
796
  top_build_prefix = @top_build_prefix@
760
797
  top_builddir = @top_builddir@
761
798
  top_srcdir = @top_srcdir@
799
+ valgrind_enabled_tools = @valgrind_enabled_tools@
800
+ valgrind_tools = @valgrind_tools@
762
801
  EXTRA_DIST = \
763
802
  cmptest.h \
764
803
  wintest.bat \
765
804
  pre.js.inc \
766
805
  aead_aes256gcm.exp \
767
806
  aead_chacha20poly1305.exp \
807
+ aead_xchacha20poly1305.exp \
768
808
  auth.exp \
769
809
  auth2.exp \
770
810
  auth3.exp \
@@ -793,10 +833,14 @@ EXTRA_DIST = \
793
833
  hash.exp \
794
834
  hash2.exp \
795
835
  hash3.exp \
836
+ kdf.exp \
837
+ keygen.exp \
838
+ kx.exp \
796
839
  onetimeauth.exp \
797
840
  onetimeauth2.exp \
798
841
  onetimeauth7.exp \
799
842
  pwhash.exp \
843
+ pwhash_argon2id.exp \
800
844
  pwhash_scrypt.exp \
801
845
  pwhash_scrypt_ll.exp \
802
846
  randombytes.exp \
@@ -813,6 +857,7 @@ EXTRA_DIST = \
813
857
  secretbox_easy2.exp \
814
858
  shorthash.exp \
815
859
  sign.exp \
860
+ siphashx24.exp \
816
861
  sodium_core.exp \
817
862
  sodium_utils.exp \
818
863
  sodium_utils2.exp \
@@ -822,11 +867,13 @@ EXTRA_DIST = \
822
867
  stream2.exp \
823
868
  stream3.exp \
824
869
  stream4.exp \
825
- verify1.exp
870
+ verify1.exp \
871
+ xchacha20.exp
826
872
 
827
873
  DISTCLEANFILES = \
828
874
  aead_aes256gcm.res \
829
875
  aead_chacha20poly1305.res \
876
+ aead_xchacha20poly1305.res \
830
877
  auth.res \
831
878
  auth2.res \
832
879
  auth3.res \
@@ -855,10 +902,14 @@ DISTCLEANFILES = \
855
902
  hash.res \
856
903
  hash2.res \
857
904
  hash3.res \
905
+ kdf.res \
906
+ keygen.res \
907
+ kx.res \
858
908
  onetimeauth.res \
859
909
  onetimeauth2.res \
860
910
  onetimeauth7.res \
861
911
  pwhash.res \
912
+ pwhash_argon2id.res \
862
913
  pwhash_scrypt.res \
863
914
  pwhash_scrypt_ll.res \
864
915
  randombytes.res \
@@ -875,6 +926,7 @@ DISTCLEANFILES = \
875
926
  secretbox_easy2.res \
876
927
  shorthash.res \
877
928
  sign.res \
929
+ siphashx24.res \
878
930
  sodium_core.res \
879
931
  sodium_utils.res \
880
932
  sodium_utils2.res \
@@ -884,11 +936,13 @@ DISTCLEANFILES = \
884
936
  stream2.res \
885
937
  stream3.res \
886
938
  stream4.res \
887
- verify1.res
939
+ verify1.res \
940
+ xchacha20.res
888
941
 
889
942
  @NATIVECLIENT_TRUE@CLEANFILES = \
890
943
  @NATIVECLIENT_TRUE@ aead_aes256gcm.final \
891
944
  @NATIVECLIENT_TRUE@ aead_chacha20poly1305.final \
945
+ @NATIVECLIENT_TRUE@ aead_xchacha20poly1305.final \
892
946
  @NATIVECLIENT_TRUE@ auth.final \
893
947
  @NATIVECLIENT_TRUE@ auth2.final \
894
948
  @NATIVECLIENT_TRUE@ auth3.final \
@@ -917,10 +971,14 @@ DISTCLEANFILES = \
917
971
  @NATIVECLIENT_TRUE@ hash.final \
918
972
  @NATIVECLIENT_TRUE@ hash2.final \
919
973
  @NATIVECLIENT_TRUE@ hash3.final \
974
+ @NATIVECLIENT_TRUE@ kdf.final \
975
+ @NATIVECLIENT_TRUE@ keygen.final \
976
+ @NATIVECLIENT_TRUE@ kx.final \
920
977
  @NATIVECLIENT_TRUE@ onetimeauth.final \
921
978
  @NATIVECLIENT_TRUE@ onetimeauth2.final \
922
979
  @NATIVECLIENT_TRUE@ onetimeauth7.final \
923
980
  @NATIVECLIENT_TRUE@ pwhash.final \
981
+ @NATIVECLIENT_TRUE@ pwhash_argon2id.final \
924
982
  @NATIVECLIENT_TRUE@ pwhash_scrypt.final \
925
983
  @NATIVECLIENT_TRUE@ pwhash_scrypt_ll.final \
926
984
  @NATIVECLIENT_TRUE@ randombytes.final \
@@ -937,6 +995,7 @@ DISTCLEANFILES = \
937
995
  @NATIVECLIENT_TRUE@ secretbox_easy2.final \
938
996
  @NATIVECLIENT_TRUE@ shorthash.final \
939
997
  @NATIVECLIENT_TRUE@ sign.final \
998
+ @NATIVECLIENT_TRUE@ siphashx24.final \
940
999
  @NATIVECLIENT_TRUE@ sodium_core.final \
941
1000
  @NATIVECLIENT_TRUE@ sodium_utils.final \
942
1001
  @NATIVECLIENT_TRUE@ sodium_version.final \
@@ -945,8 +1004,10 @@ DISTCLEANFILES = \
945
1004
  @NATIVECLIENT_TRUE@ stream3.final \
946
1005
  @NATIVECLIENT_TRUE@ stream4.final \
947
1006
  @NATIVECLIENT_TRUE@ verify1.final \
1007
+ @NATIVECLIENT_TRUE@ xchacha20.final \
948
1008
  @NATIVECLIENT_TRUE@ aead_aes256gcm.nexe \
949
1009
  @NATIVECLIENT_TRUE@ aead_chacha20poly1305.nexe \
1010
+ @NATIVECLIENT_TRUE@ aead_xchacha20poly1305.nexe \
950
1011
  @NATIVECLIENT_TRUE@ auth.nexe \
951
1012
  @NATIVECLIENT_TRUE@ auth2.nexe \
952
1013
  @NATIVECLIENT_TRUE@ auth3.nexe \
@@ -975,10 +1036,14 @@ DISTCLEANFILES = \
975
1036
  @NATIVECLIENT_TRUE@ hash.nexe \
976
1037
  @NATIVECLIENT_TRUE@ hash2.nexe \
977
1038
  @NATIVECLIENT_TRUE@ hash3.nexe \
1039
+ @NATIVECLIENT_TRUE@ kdf.nexe \
1040
+ @NATIVECLIENT_TRUE@ keygen.nexe \
1041
+ @NATIVECLIENT_TRUE@ kx.nexe \
978
1042
  @NATIVECLIENT_TRUE@ onetimeauth.nexe \
979
1043
  @NATIVECLIENT_TRUE@ onetimeauth2.nexe \
980
1044
  @NATIVECLIENT_TRUE@ onetimeauth7.nexe \
981
1045
  @NATIVECLIENT_TRUE@ pwhash.nexe \
1046
+ @NATIVECLIENT_TRUE@ pwhash_argon2id.nexe \
982
1047
  @NATIVECLIENT_TRUE@ pwhash_scrypt.nexe \
983
1048
  @NATIVECLIENT_TRUE@ pwhash_scrypt_ll.nexe \
984
1049
  @NATIVECLIENT_TRUE@ randombytes.nexe \
@@ -995,6 +1060,7 @@ DISTCLEANFILES = \
995
1060
  @NATIVECLIENT_TRUE@ secretbox_easy2.nexe \
996
1061
  @NATIVECLIENT_TRUE@ shorthash.nexe \
997
1062
  @NATIVECLIENT_TRUE@ sign.nexe \
1063
+ @NATIVECLIENT_TRUE@ siphashx24.nexe \
998
1064
  @NATIVECLIENT_TRUE@ sodium_core.nexe \
999
1065
  @NATIVECLIENT_TRUE@ sodium_utils.nexe \
1000
1066
  @NATIVECLIENT_TRUE@ sodium_version.nexe \
@@ -1002,7 +1068,8 @@ DISTCLEANFILES = \
1002
1068
  @NATIVECLIENT_TRUE@ stream2.nexe \
1003
1069
  @NATIVECLIENT_TRUE@ stream3.nexe \
1004
1070
  @NATIVECLIENT_TRUE@ stream4.nexe \
1005
- @NATIVECLIENT_TRUE@ verify1.nexe
1071
+ @NATIVECLIENT_TRUE@ verify1.nexe \
1072
+ @NATIVECLIENT_TRUE@ xchacha20.nexe
1006
1073
 
1007
1074
  AM_CPPFLAGS = \
1008
1075
  -DTEST_SRCDIR=\"@srcdir@\" \
@@ -1013,17 +1080,17 @@ AM_CPPFLAGS = \
1013
1080
  -I$(top_srcdir)/test/quirks
1014
1081
 
1015
1082
  AM_LDFLAGS = @TEST_LDFLAGS@
1016
- TESTS_TARGETS = aead_aes256gcm aead_chacha20poly1305 auth auth2 auth3 \
1017
- auth5 auth6 auth7 box box2 box7 box8 box_easy box_easy2 \
1018
- box_seal box_seed chacha20 core1 core2 core3 core4 core5 core6 \
1019
- ed25519_convert generichash generichash2 generichash3 hash \
1020
- hash3 onetimeauth onetimeauth2 onetimeauth7 pwhash \
1021
- pwhash_scrypt pwhash_scrypt_ll randombytes scalarmult \
1022
- scalarmult2 scalarmult5 scalarmult6 scalarmult7 secretbox \
1023
- secretbox2 secretbox7 secretbox8 secretbox_easy \
1024
- secretbox_easy2 shorthash sign sodium_core sodium_utils \
1025
- sodium_version stream stream2 stream3 stream4 verify1 \
1026
- $(am__append_1)
1083
+ TESTS_TARGETS = aead_aes256gcm aead_chacha20poly1305 \
1084
+ aead_xchacha20poly1305 auth auth2 auth3 auth5 auth6 auth7 box \
1085
+ box2 box7 box8 box_easy box_easy2 box_seal box_seed chacha20 \
1086
+ core1 core2 core3 core4 core5 core6 ed25519_convert \
1087
+ generichash generichash2 generichash3 hash hash3 kdf keygen kx \
1088
+ onetimeauth onetimeauth2 onetimeauth7 pwhash pwhash_argon2id \
1089
+ randombytes scalarmult scalarmult2 scalarmult5 scalarmult6 \
1090
+ scalarmult7 secretbox secretbox2 secretbox7 secretbox8 \
1091
+ secretbox_easy secretbox_easy2 shorthash sign sodium_core \
1092
+ sodium_utils sodium_version stream stream2 stream3 stream4 \
1093
+ verify1 $(am__append_1) $(am__append_2)
1027
1094
  TESTS_LDADD = \
1028
1095
  ${top_builddir}/src/libsodium/libsodium.la
1029
1096
 
@@ -1031,6 +1098,8 @@ aead_aes256gcm_SOURCE = cmptest.h aead_aes256gcm.c
1031
1098
  aead_aes256gcm_LDADD = $(TESTS_LDADD)
1032
1099
  aead_chacha20poly1305_SOURCE = cmptest.h aead_chacha20poly1305.c
1033
1100
  aead_chacha20poly1305_LDADD = $(TESTS_LDADD)
1101
+ aead_xchacha20poly1305_SOURCE = cmptest.h aead_xchacha20poly1305.c
1102
+ aead_xchacha20poly1305_LDADD = $(TESTS_LDADD)
1034
1103
  auth_SOURCE = cmptest.h auth.c
1035
1104
  auth_LDADD = $(TESTS_LDADD)
1036
1105
  auth2_SOURCE = cmptest.h auth2.c
@@ -1085,6 +1154,12 @@ hash_SOURCE = cmptest.h hash.c
1085
1154
  hash_LDADD = $(TESTS_LDADD)
1086
1155
  hash3_SOURCE = cmptest.h hash3.c
1087
1156
  hash3_LDADD = $(TESTS_LDADD)
1157
+ kdf_SOURCE = cmptest.h kdf.c
1158
+ kdf_LDADD = $(TESTS_LDADD)
1159
+ keygen_SOURCE = cmptest.h keygen.c
1160
+ keygen_LDADD = $(TESTS_LDADD)
1161
+ kx_SOURCE = cmptest.h kx.c
1162
+ kx_LDADD = $(TESTS_LDADD)
1088
1163
  onetimeauth_SOURCE = cmptest.h onetimeauth.c
1089
1164
  onetimeauth_LDADD = $(TESTS_LDADD)
1090
1165
  onetimeauth2_SOURCE = cmptest.h onetimeauth2.c
@@ -1093,6 +1168,8 @@ onetimeauth7_SOURCE = cmptest.h onetimeauth7.c
1093
1168
  onetimeauth7_LDADD = $(TESTS_LDADD)
1094
1169
  pwhash_SOURCE = cmptest.h pwhash.c
1095
1170
  pwhash_LDADD = $(TESTS_LDADD)
1171
+ pwhash_argon2id_SOURCE = cmptest.h pwhash_argon2id.c
1172
+ pwhash_argon2id_LDADD = $(TESTS_LDADD)
1096
1173
  pwhash_scrypt_SOURCE = cmptest.h pwhash_scrypt.c
1097
1174
  pwhash_scrypt_LDADD = $(TESTS_LDADD)
1098
1175
  pwhash_scrypt_ll_SOURCE = cmptest.h pwhash_scrypt_ll.c
@@ -1125,6 +1202,8 @@ shorthash_SOURCE = cmptest.h shorthash.c
1125
1202
  shorthash_LDADD = $(TESTS_LDADD)
1126
1203
  sign_SOURCE = cmptest.h sign.c
1127
1204
  sign_LDADD = $(TESTS_LDADD)
1205
+ siphashx24_SOURCE = cmptest.h siphashx24.c
1206
+ siphashx24_LDADD = $(TESTS_LDADD)
1128
1207
  sodium_core_SOURCE = cmptest.h sodium_core.c
1129
1208
  sodium_core_LDADD = $(TESTS_LDADD)
1130
1209
  sodium_utils_SOURCE = cmptest.h sodium_utils.c
@@ -1145,6 +1224,8 @@ stream4_SOURCE = cmptest.h stream4.c
1145
1224
  stream4_LDADD = $(TESTS_LDADD)
1146
1225
  verify1_SOURCE = cmptest.h verify1.c
1147
1226
  verify1_LDADD = $(TESTS_LDADD)
1227
+ xchacha20_SOURCE = cmptest.h xchacha20.c
1228
+ xchacha20_LDADD = $(TESTS_LDADD)
1148
1229
  @NATIVECLIENT_TRUE@LOG_COMPILER = ./nacl-test-wrapper.sh
1149
1230
  all: all-am
1150
1231
 
@@ -1197,6 +1278,10 @@ aead_chacha20poly1305$(EXEEXT): $(aead_chacha20poly1305_OBJECTS) $(aead_chacha20
1197
1278
  @rm -f aead_chacha20poly1305$(EXEEXT)
1198
1279
  $(AM_V_CCLD)$(LINK) $(aead_chacha20poly1305_OBJECTS) $(aead_chacha20poly1305_LDADD) $(LIBS)
1199
1280
 
1281
+ aead_xchacha20poly1305$(EXEEXT): $(aead_xchacha20poly1305_OBJECTS) $(aead_xchacha20poly1305_DEPENDENCIES) $(EXTRA_aead_xchacha20poly1305_DEPENDENCIES)
1282
+ @rm -f aead_xchacha20poly1305$(EXEEXT)
1283
+ $(AM_V_CCLD)$(LINK) $(aead_xchacha20poly1305_OBJECTS) $(aead_xchacha20poly1305_LDADD) $(LIBS)
1284
+
1200
1285
  auth$(EXEEXT): $(auth_OBJECTS) $(auth_DEPENDENCIES) $(EXTRA_auth_DEPENDENCIES)
1201
1286
  @rm -f auth$(EXEEXT)
1202
1287
  $(AM_V_CCLD)$(LINK) $(auth_OBJECTS) $(auth_LDADD) $(LIBS)
@@ -1305,6 +1390,18 @@ hash3$(EXEEXT): $(hash3_OBJECTS) $(hash3_DEPENDENCIES) $(EXTRA_hash3_DEPENDENCIE
1305
1390
  @rm -f hash3$(EXEEXT)
1306
1391
  $(AM_V_CCLD)$(LINK) $(hash3_OBJECTS) $(hash3_LDADD) $(LIBS)
1307
1392
 
1393
+ kdf$(EXEEXT): $(kdf_OBJECTS) $(kdf_DEPENDENCIES) $(EXTRA_kdf_DEPENDENCIES)
1394
+ @rm -f kdf$(EXEEXT)
1395
+ $(AM_V_CCLD)$(LINK) $(kdf_OBJECTS) $(kdf_LDADD) $(LIBS)
1396
+
1397
+ keygen$(EXEEXT): $(keygen_OBJECTS) $(keygen_DEPENDENCIES) $(EXTRA_keygen_DEPENDENCIES)
1398
+ @rm -f keygen$(EXEEXT)
1399
+ $(AM_V_CCLD)$(LINK) $(keygen_OBJECTS) $(keygen_LDADD) $(LIBS)
1400
+
1401
+ kx$(EXEEXT): $(kx_OBJECTS) $(kx_DEPENDENCIES) $(EXTRA_kx_DEPENDENCIES)
1402
+ @rm -f kx$(EXEEXT)
1403
+ $(AM_V_CCLD)$(LINK) $(kx_OBJECTS) $(kx_LDADD) $(LIBS)
1404
+
1308
1405
  onetimeauth$(EXEEXT): $(onetimeauth_OBJECTS) $(onetimeauth_DEPENDENCIES) $(EXTRA_onetimeauth_DEPENDENCIES)
1309
1406
  @rm -f onetimeauth$(EXEEXT)
1310
1407
  $(AM_V_CCLD)$(LINK) $(onetimeauth_OBJECTS) $(onetimeauth_LDADD) $(LIBS)
@@ -1321,6 +1418,10 @@ pwhash$(EXEEXT): $(pwhash_OBJECTS) $(pwhash_DEPENDENCIES) $(EXTRA_pwhash_DEPENDE
1321
1418
  @rm -f pwhash$(EXEEXT)
1322
1419
  $(AM_V_CCLD)$(LINK) $(pwhash_OBJECTS) $(pwhash_LDADD) $(LIBS)
1323
1420
 
1421
+ pwhash_argon2id$(EXEEXT): $(pwhash_argon2id_OBJECTS) $(pwhash_argon2id_DEPENDENCIES) $(EXTRA_pwhash_argon2id_DEPENDENCIES)
1422
+ @rm -f pwhash_argon2id$(EXEEXT)
1423
+ $(AM_V_CCLD)$(LINK) $(pwhash_argon2id_OBJECTS) $(pwhash_argon2id_LDADD) $(LIBS)
1424
+
1324
1425
  pwhash_scrypt$(EXEEXT): $(pwhash_scrypt_OBJECTS) $(pwhash_scrypt_DEPENDENCIES) $(EXTRA_pwhash_scrypt_DEPENDENCIES)
1325
1426
  @rm -f pwhash_scrypt$(EXEEXT)
1326
1427
  $(AM_V_CCLD)$(LINK) $(pwhash_scrypt_OBJECTS) $(pwhash_scrypt_LDADD) $(LIBS)
@@ -1385,6 +1486,10 @@ sign$(EXEEXT): $(sign_OBJECTS) $(sign_DEPENDENCIES) $(EXTRA_sign_DEPENDENCIES)
1385
1486
  @rm -f sign$(EXEEXT)
1386
1487
  $(AM_V_CCLD)$(LINK) $(sign_OBJECTS) $(sign_LDADD) $(LIBS)
1387
1488
 
1489
+ siphashx24$(EXEEXT): $(siphashx24_OBJECTS) $(siphashx24_DEPENDENCIES) $(EXTRA_siphashx24_DEPENDENCIES)
1490
+ @rm -f siphashx24$(EXEEXT)
1491
+ $(AM_V_CCLD)$(LINK) $(siphashx24_OBJECTS) $(siphashx24_LDADD) $(LIBS)
1492
+
1388
1493
  sodium_core$(EXEEXT): $(sodium_core_OBJECTS) $(sodium_core_DEPENDENCIES) $(EXTRA_sodium_core_DEPENDENCIES)
1389
1494
  @rm -f sodium_core$(EXEEXT)
1390
1495
  $(AM_V_CCLD)$(LINK) $(sodium_core_OBJECTS) $(sodium_core_LDADD) $(LIBS)
@@ -1425,6 +1530,10 @@ verify1$(EXEEXT): $(verify1_OBJECTS) $(verify1_DEPENDENCIES) $(EXTRA_verify1_DEP
1425
1530
  @rm -f verify1$(EXEEXT)
1426
1531
  $(AM_V_CCLD)$(LINK) $(verify1_OBJECTS) $(verify1_LDADD) $(LIBS)
1427
1532
 
1533
+ xchacha20$(EXEEXT): $(xchacha20_OBJECTS) $(xchacha20_DEPENDENCIES) $(EXTRA_xchacha20_DEPENDENCIES)
1534
+ @rm -f xchacha20$(EXEEXT)
1535
+ $(AM_V_CCLD)$(LINK) $(xchacha20_OBJECTS) $(xchacha20_LDADD) $(LIBS)
1536
+
1428
1537
  mostlyclean-compile:
1429
1538
  -rm -f *.$(OBJEXT)
1430
1539
 
@@ -1433,6 +1542,7 @@ distclean-compile:
1433
1542
 
1434
1543
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/aead_aes256gcm.Po@am__quote@
1435
1544
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/aead_chacha20poly1305.Po@am__quote@
1545
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/aead_xchacha20poly1305.Po@am__quote@
1436
1546
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/auth.Po@am__quote@
1437
1547
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/auth2.Po@am__quote@
1438
1548
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/auth3.Po@am__quote@
@@ -1460,10 +1570,14 @@ distclean-compile:
1460
1570
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/generichash3.Po@am__quote@
1461
1571
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hash.Po@am__quote@
1462
1572
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hash3.Po@am__quote@
1573
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/kdf.Po@am__quote@
1574
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/keygen.Po@am__quote@
1575
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/kx.Po@am__quote@
1463
1576
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/onetimeauth.Po@am__quote@
1464
1577
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/onetimeauth2.Po@am__quote@
1465
1578
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/onetimeauth7.Po@am__quote@
1466
1579
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pwhash.Po@am__quote@
1580
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pwhash_argon2id.Po@am__quote@
1467
1581
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pwhash_scrypt.Po@am__quote@
1468
1582
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pwhash_scrypt_ll.Po@am__quote@
1469
1583
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/randombytes.Po@am__quote@
@@ -1480,6 +1594,7 @@ distclean-compile:
1480
1594
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/secretbox_easy2.Po@am__quote@
1481
1595
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/shorthash.Po@am__quote@
1482
1596
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sign.Po@am__quote@
1597
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/siphashx24.Po@am__quote@
1483
1598
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sodium_core.Po@am__quote@
1484
1599
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sodium_utils.Po@am__quote@
1485
1600
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sodium_utils2.Po@am__quote@
@@ -1490,6 +1605,7 @@ distclean-compile:
1490
1605
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stream3.Po@am__quote@
1491
1606
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stream4.Po@am__quote@
1492
1607
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/verify1.Po@am__quote@
1608
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xchacha20.Po@am__quote@
1493
1609
 
1494
1610
  .c.o:
1495
1611
  @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
@@ -1728,6 +1844,13 @@ aead_chacha20poly1305.log: aead_chacha20poly1305$(EXEEXT)
1728
1844
  --log-file $$b.log --trs-file $$b.trs \
1729
1845
  $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1730
1846
  "$$tst" $(AM_TESTS_FD_REDIRECT)
1847
+ aead_xchacha20poly1305.log: aead_xchacha20poly1305$(EXEEXT)
1848
+ @p='aead_xchacha20poly1305$(EXEEXT)'; \
1849
+ b='aead_xchacha20poly1305'; \
1850
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1851
+ --log-file $$b.log --trs-file $$b.trs \
1852
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1853
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
1731
1854
  auth.log: auth$(EXEEXT)
1732
1855
  @p='auth$(EXEEXT)'; \
1733
1856
  b='auth'; \
@@ -1917,6 +2040,27 @@ hash3.log: hash3$(EXEEXT)
1917
2040
  --log-file $$b.log --trs-file $$b.trs \
1918
2041
  $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1919
2042
  "$$tst" $(AM_TESTS_FD_REDIRECT)
2043
+ kdf.log: kdf$(EXEEXT)
2044
+ @p='kdf$(EXEEXT)'; \
2045
+ b='kdf'; \
2046
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2047
+ --log-file $$b.log --trs-file $$b.trs \
2048
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2049
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
2050
+ keygen.log: keygen$(EXEEXT)
2051
+ @p='keygen$(EXEEXT)'; \
2052
+ b='keygen'; \
2053
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2054
+ --log-file $$b.log --trs-file $$b.trs \
2055
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2056
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
2057
+ kx.log: kx$(EXEEXT)
2058
+ @p='kx$(EXEEXT)'; \
2059
+ b='kx'; \
2060
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2061
+ --log-file $$b.log --trs-file $$b.trs \
2062
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2063
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
1920
2064
  onetimeauth.log: onetimeauth$(EXEEXT)
1921
2065
  @p='onetimeauth$(EXEEXT)'; \
1922
2066
  b='onetimeauth'; \
@@ -1945,16 +2089,9 @@ pwhash.log: pwhash$(EXEEXT)
1945
2089
  --log-file $$b.log --trs-file $$b.trs \
1946
2090
  $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1947
2091
  "$$tst" $(AM_TESTS_FD_REDIRECT)
1948
- pwhash_scrypt.log: pwhash_scrypt$(EXEEXT)
1949
- @p='pwhash_scrypt$(EXEEXT)'; \
1950
- b='pwhash_scrypt'; \
1951
- $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1952
- --log-file $$b.log --trs-file $$b.trs \
1953
- $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1954
- "$$tst" $(AM_TESTS_FD_REDIRECT)
1955
- pwhash_scrypt_ll.log: pwhash_scrypt_ll$(EXEEXT)
1956
- @p='pwhash_scrypt_ll$(EXEEXT)'; \
1957
- b='pwhash_scrypt_ll'; \
2092
+ pwhash_argon2id.log: pwhash_argon2id$(EXEEXT)
2093
+ @p='pwhash_argon2id$(EXEEXT)'; \
2094
+ b='pwhash_argon2id'; \
1958
2095
  $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1959
2096
  --log-file $$b.log --trs-file $$b.trs \
1960
2097
  $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
@@ -2127,6 +2264,34 @@ sodium_utils3.log: sodium_utils3$(EXEEXT)
2127
2264
  --log-file $$b.log --trs-file $$b.trs \
2128
2265
  $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2129
2266
  "$$tst" $(AM_TESTS_FD_REDIRECT)
2267
+ pwhash_scrypt.log: pwhash_scrypt$(EXEEXT)
2268
+ @p='pwhash_scrypt$(EXEEXT)'; \
2269
+ b='pwhash_scrypt'; \
2270
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2271
+ --log-file $$b.log --trs-file $$b.trs \
2272
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2273
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
2274
+ pwhash_scrypt_ll.log: pwhash_scrypt_ll$(EXEEXT)
2275
+ @p='pwhash_scrypt_ll$(EXEEXT)'; \
2276
+ b='pwhash_scrypt_ll'; \
2277
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2278
+ --log-file $$b.log --trs-file $$b.trs \
2279
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2280
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
2281
+ siphashx24.log: siphashx24$(EXEEXT)
2282
+ @p='siphashx24$(EXEEXT)'; \
2283
+ b='siphashx24'; \
2284
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2285
+ --log-file $$b.log --trs-file $$b.trs \
2286
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2287
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
2288
+ xchacha20.log: xchacha20$(EXEEXT)
2289
+ @p='xchacha20$(EXEEXT)'; \
2290
+ b='xchacha20'; \
2291
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2292
+ --log-file $$b.log --trs-file $$b.trs \
2293
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2294
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
2130
2295
  .test.log:
2131
2296
  @p='$<'; \
2132
2297
  $(am__set_b); \