laag-libsodium 1.0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (550) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +57 -0
  3. data/LICENSE.txt +18 -0
  4. data/README.org +34 -0
  5. data/ext/laag/libsodium/extconf.rb +13 -0
  6. data/laag-libsodium.gemspec +20 -0
  7. data/lib/laag/libsodium.rb +31 -0
  8. data/vendor/github.com/jedisct1/libsodium/.gitignore +157 -0
  9. data/vendor/github.com/jedisct1/libsodium/.travis.yml +33 -0
  10. data/vendor/github.com/jedisct1/libsodium/AUTHORS +135 -0
  11. data/vendor/github.com/jedisct1/libsodium/ChangeLog +505 -0
  12. data/vendor/github.com/jedisct1/libsodium/LICENSE +18 -0
  13. data/vendor/github.com/jedisct1/libsodium/Makefile.am +24 -0
  14. data/vendor/github.com/jedisct1/libsodium/README.markdown +46 -0
  15. data/vendor/github.com/jedisct1/libsodium/THANKS +91 -0
  16. data/vendor/github.com/jedisct1/libsodium/appveyor.yml +25 -0
  17. data/vendor/github.com/jedisct1/libsodium/autogen.sh +36 -0
  18. data/vendor/github.com/jedisct1/libsodium/builds/.gitignore +7 -0
  19. data/vendor/github.com/jedisct1/libsodium/builds/Makefile.am +65 -0
  20. data/vendor/github.com/jedisct1/libsodium/builds/msvc/build/buildall.bat +14 -0
  21. data/vendor/github.com/jedisct1/libsodium/builds/msvc/build/buildbase.bat +70 -0
  22. data/vendor/github.com/jedisct1/libsodium/builds/msvc/properties/Common.props +21 -0
  23. data/vendor/github.com/jedisct1/libsodium/builds/msvc/properties/DLL.props +16 -0
  24. data/vendor/github.com/jedisct1/libsodium/builds/msvc/properties/Debug.props +29 -0
  25. data/vendor/github.com/jedisct1/libsodium/builds/msvc/properties/DebugDEXE.props +21 -0
  26. data/vendor/github.com/jedisct1/libsodium/builds/msvc/properties/DebugDLL.props +20 -0
  27. data/vendor/github.com/jedisct1/libsodium/builds/msvc/properties/DebugLEXE.props +20 -0
  28. data/vendor/github.com/jedisct1/libsodium/builds/msvc/properties/DebugLIB.props +21 -0
  29. data/vendor/github.com/jedisct1/libsodium/builds/msvc/properties/DebugLTCG.props +20 -0
  30. data/vendor/github.com/jedisct1/libsodium/builds/msvc/properties/DebugSEXE.props +21 -0
  31. data/vendor/github.com/jedisct1/libsodium/builds/msvc/properties/EXE.props +17 -0
  32. data/vendor/github.com/jedisct1/libsodium/builds/msvc/properties/LIB.props +16 -0
  33. data/vendor/github.com/jedisct1/libsodium/builds/msvc/properties/LTCG.props +13 -0
  34. data/vendor/github.com/jedisct1/libsodium/builds/msvc/properties/Link.props +21 -0
  35. data/vendor/github.com/jedisct1/libsodium/builds/msvc/properties/Messages.props +15 -0
  36. data/vendor/github.com/jedisct1/libsodium/builds/msvc/properties/Output.props +30 -0
  37. data/vendor/github.com/jedisct1/libsodium/builds/msvc/properties/Release.props +41 -0
  38. data/vendor/github.com/jedisct1/libsodium/builds/msvc/properties/ReleaseDEXE.props +20 -0
  39. data/vendor/github.com/jedisct1/libsodium/builds/msvc/properties/ReleaseDLL.props +19 -0
  40. data/vendor/github.com/jedisct1/libsodium/builds/msvc/properties/ReleaseLEXE.props +20 -0
  41. data/vendor/github.com/jedisct1/libsodium/builds/msvc/properties/ReleaseLIB.props +19 -0
  42. data/vendor/github.com/jedisct1/libsodium/builds/msvc/properties/ReleaseLTCG.props +19 -0
  43. data/vendor/github.com/jedisct1/libsodium/builds/msvc/properties/ReleaseSEXE.props +20 -0
  44. data/vendor/github.com/jedisct1/libsodium/builds/msvc/properties/Win32.props +23 -0
  45. data/vendor/github.com/jedisct1/libsodium/builds/msvc/properties/x64.props +26 -0
  46. data/vendor/github.com/jedisct1/libsodium/builds/msvc/resource.h +14 -0
  47. data/vendor/github.com/jedisct1/libsodium/builds/msvc/resource.rc +63 -0
  48. data/vendor/github.com/jedisct1/libsodium/builds/msvc/version.h +32 -0
  49. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2010/libsodium/libsodium.props +48 -0
  50. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2010/libsodium/libsodium.vcxproj +324 -0
  51. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2010/libsodium/libsodium.vcxproj.filters +986 -0
  52. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2010/libsodium/libsodium.xml +15 -0
  53. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2010/libsodium.import.props +52 -0
  54. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2010/libsodium.import.xml +17 -0
  55. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2010/libsodium.sln +50 -0
  56. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2012/libsodium/libsodium.props +48 -0
  57. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2012/libsodium/libsodium.vcxproj +324 -0
  58. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2012/libsodium/libsodium.vcxproj.filters +986 -0
  59. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2012/libsodium/libsodium.xml +15 -0
  60. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2012/libsodium.import.props +52 -0
  61. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2012/libsodium.import.xml +17 -0
  62. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2012/libsodium.sln +50 -0
  63. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2013/libsodium/libsodium.props +48 -0
  64. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2013/libsodium/libsodium.vcxproj +324 -0
  65. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2013/libsodium/libsodium.vcxproj.filters +986 -0
  66. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2013/libsodium/libsodium.xml +15 -0
  67. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2013/libsodium.import.props +52 -0
  68. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2013/libsodium.import.xml +17 -0
  69. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2013/libsodium.sln +52 -0
  70. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2015/libsodium/libsodium.props +48 -0
  71. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2015/libsodium/libsodium.vcxproj +324 -0
  72. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2015/libsodium/libsodium.vcxproj.filters +986 -0
  73. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2015/libsodium/libsodium.xml +15 -0
  74. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2015/libsodium.import.props +52 -0
  75. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2015/libsodium.import.xml +17 -0
  76. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2015/libsodium.sln +52 -0
  77. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2017/libsodium/libsodium.props +48 -0
  78. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2017/libsodium/libsodium.vcxproj +324 -0
  79. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2017/libsodium/libsodium.vcxproj.filters +986 -0
  80. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2017/libsodium/libsodium.xml +15 -0
  81. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2017/libsodium.import.props +52 -0
  82. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2017/libsodium.import.xml +17 -0
  83. data/vendor/github.com/jedisct1/libsodium/builds/msvc/vs2017/libsodium.sln +52 -0
  84. data/vendor/github.com/jedisct1/libsodium/configure.ac +824 -0
  85. data/vendor/github.com/jedisct1/libsodium/contrib/Findsodium.cmake +288 -0
  86. data/vendor/github.com/jedisct1/libsodium/contrib/Makefile.am +3 -0
  87. data/vendor/github.com/jedisct1/libsodium/dist-build/Makefile.am +17 -0
  88. data/vendor/github.com/jedisct1/libsodium/dist-build/android-arm.sh +4 -0
  89. data/vendor/github.com/jedisct1/libsodium/dist-build/android-armv7-a.sh +4 -0
  90. data/vendor/github.com/jedisct1/libsodium/dist-build/android-armv8-a.sh +4 -0
  91. data/vendor/github.com/jedisct1/libsodium/dist-build/android-build.sh +82 -0
  92. data/vendor/github.com/jedisct1/libsodium/dist-build/android-mips32.sh +4 -0
  93. data/vendor/github.com/jedisct1/libsodium/dist-build/android-mips64.sh +4 -0
  94. data/vendor/github.com/jedisct1/libsodium/dist-build/android-x86.sh +4 -0
  95. data/vendor/github.com/jedisct1/libsodium/dist-build/android-x86_64.sh +4 -0
  96. data/vendor/github.com/jedisct1/libsodium/dist-build/emscripten-symbols.def +570 -0
  97. data/vendor/github.com/jedisct1/libsodium/dist-build/emscripten.sh +168 -0
  98. data/vendor/github.com/jedisct1/libsodium/dist-build/generate-emscripten-symbols.sh +57 -0
  99. data/vendor/github.com/jedisct1/libsodium/dist-build/ios.sh +125 -0
  100. data/vendor/github.com/jedisct1/libsodium/dist-build/msys2-win32.sh +18 -0
  101. data/vendor/github.com/jedisct1/libsodium/dist-build/msys2-win64.sh +18 -0
  102. data/vendor/github.com/jedisct1/libsodium/dist-build/nativeclient-pnacl.sh +27 -0
  103. data/vendor/github.com/jedisct1/libsodium/dist-build/nativeclient-x86.sh +19 -0
  104. data/vendor/github.com/jedisct1/libsodium/dist-build/nativeclient-x86_64.sh +19 -0
  105. data/vendor/github.com/jedisct1/libsodium/dist-build/osx.sh +20 -0
  106. data/vendor/github.com/jedisct1/libsodium/libsodium-uninstalled.pc.in +6 -0
  107. data/vendor/github.com/jedisct1/libsodium/libsodium.pc.in +11 -0
  108. data/vendor/github.com/jedisct1/libsodium/libsodium.sln +40 -0
  109. data/vendor/github.com/jedisct1/libsodium/libsodium.vcxproj +562 -0
  110. data/vendor/github.com/jedisct1/libsodium/libsodium.vcxproj.filters +720 -0
  111. data/vendor/github.com/jedisct1/libsodium/logo.png +0 -0
  112. data/vendor/github.com/jedisct1/libsodium/m4/ax_check_catchable_abrt.m4 +57 -0
  113. data/vendor/github.com/jedisct1/libsodium/m4/ax_check_catchable_segv.m4 +42 -0
  114. data/vendor/github.com/jedisct1/libsodium/m4/ax_check_compile_flag.m4 +75 -0
  115. data/vendor/github.com/jedisct1/libsodium/m4/ax_check_define.m4 +92 -0
  116. data/vendor/github.com/jedisct1/libsodium/m4/ax_check_gnu_make.m4 +84 -0
  117. data/vendor/github.com/jedisct1/libsodium/m4/ax_check_link_flag.m4 +75 -0
  118. data/vendor/github.com/jedisct1/libsodium/m4/ax_pthread.m4 +485 -0
  119. data/vendor/github.com/jedisct1/libsodium/m4/ax_tls.m4 +74 -0
  120. data/vendor/github.com/jedisct1/libsodium/m4/ax_valgrind_check.m4 +241 -0
  121. data/vendor/github.com/jedisct1/libsodium/m4/ld-output-def.m4 +29 -0
  122. data/vendor/github.com/jedisct1/libsodium/msvc-scripts/Makefile.am +4 -0
  123. data/vendor/github.com/jedisct1/libsodium/msvc-scripts/process.bat +5 -0
  124. data/vendor/github.com/jedisct1/libsodium/msvc-scripts/rep.vbs +12 -0
  125. data/vendor/github.com/jedisct1/libsodium/msvc-scripts/sodium.props +28 -0
  126. data/vendor/github.com/jedisct1/libsodium/packaging/dotnet-core/.gitignore +5 -0
  127. data/vendor/github.com/jedisct1/libsodium/packaging/dotnet-core/README.md +59 -0
  128. data/vendor/github.com/jedisct1/libsodium/packaging/dotnet-core/libsodium.props +36 -0
  129. data/vendor/github.com/jedisct1/libsodium/packaging/dotnet-core/prepare.py +244 -0
  130. data/vendor/github.com/jedisct1/libsodium/packaging/dotnet-core/recipes/alpine-x64 +3 -0
  131. data/vendor/github.com/jedisct1/libsodium/packaging/dotnet-core/recipes/build +9 -0
  132. data/vendor/github.com/jedisct1/libsodium/packaging/dotnet-core/recipes/centos-x64 +3 -0
  133. data/vendor/github.com/jedisct1/libsodium/packaging/dotnet-core/recipes/debian-x64 +4 -0
  134. data/vendor/github.com/jedisct1/libsodium/packaging/dotnet-core/recipes/fedora-x64 +3 -0
  135. data/vendor/github.com/jedisct1/libsodium/packaging/dotnet-core/recipes/linux-x64 +4 -0
  136. data/vendor/github.com/jedisct1/libsodium/packaging/dotnet-core/recipes/opensuse-x64 +3 -0
  137. data/vendor/github.com/jedisct1/libsodium/packaging/dotnet-core/recipes/pack +5 -0
  138. data/vendor/github.com/jedisct1/libsodium/packaging/dotnet-core/recipes/test +27 -0
  139. data/vendor/github.com/jedisct1/libsodium/packaging/dotnet-core/recipes/ubuntu-x64 +4 -0
  140. data/vendor/github.com/jedisct1/libsodium/packaging/nuget/.gitignore +4 -0
  141. data/vendor/github.com/jedisct1/libsodium/packaging/nuget/package.bat +13 -0
  142. data/vendor/github.com/jedisct1/libsodium/packaging/nuget/package.config +4 -0
  143. data/vendor/github.com/jedisct1/libsodium/packaging/nuget/package.gsl +260 -0
  144. data/vendor/github.com/jedisct1/libsodium/regen-msvc/libsodium.vcxproj +326 -0
  145. data/vendor/github.com/jedisct1/libsodium/regen-msvc/libsodium.vcxproj.filters +23 -0
  146. data/vendor/github.com/jedisct1/libsodium/regen-msvc/libsodium.vcxproj.filters.tpl +35 -0
  147. data/vendor/github.com/jedisct1/libsodium/regen-msvc/libsodium.vcxproj.tpl +93 -0
  148. data/vendor/github.com/jedisct1/libsodium/regen-msvc/regen-msvc.py +136 -0
  149. data/vendor/github.com/jedisct1/libsodium/regen-msvc/tl_libsodium.vcxproj.filters.tpl +23 -0
  150. data/vendor/github.com/jedisct1/libsodium/regen-msvc/tl_libsodium.vcxproj.tpl +331 -0
  151. data/vendor/github.com/jedisct1/libsodium/src/Makefile.am +3 -0
  152. data/vendor/github.com/jedisct1/libsodium/src/libsodium/Makefile.am +290 -0
  153. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_aead/aes256gcm/aesni/aead_aes256gcm_aesni.c +1079 -0
  154. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.c +399 -0
  155. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_aead/xchacha20poly1305/sodium/aead_xchacha20poly1305.c +160 -0
  156. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_auth/crypto_auth.c +41 -0
  157. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_auth/hmacsha256/auth_hmacsha256.c +118 -0
  158. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_auth/hmacsha512/auth_hmacsha512.c +118 -0
  159. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_auth/hmacsha512256/auth_hmacsha512256.c +93 -0
  160. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_box/crypto_box.c +114 -0
  161. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_box/crypto_box_easy.c +115 -0
  162. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_box/crypto_box_seal.c +68 -0
  163. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_box/curve25519xchacha20poly1305/box_curve25519xchacha20poly1305.c +204 -0
  164. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_box/curve25519xchacha20poly1305/box_seal_curve25519xchacha20poly1305.c +79 -0
  165. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/box_curve25519xsalsa20poly1305.c +156 -0
  166. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_core/ed25519/core_ed25519.c +79 -0
  167. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_core/ed25519/ref10/ed25519_ref10.c +2031 -0
  168. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_core/ed25519/ref10/fe_25_5/base.h +1344 -0
  169. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_core/ed25519/ref10/fe_25_5/base2.h +40 -0
  170. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_core/ed25519/ref10/fe_25_5/constants.h +20 -0
  171. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_core/ed25519/ref10/fe_25_5/fe.h +220 -0
  172. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_core/ed25519/ref10/fe_51/base.h +1344 -0
  173. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_core/ed25519/ref10/fe_51/base2.h +40 -0
  174. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_core/ed25519/ref10/fe_51/constants.h +21 -0
  175. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_core/ed25519/ref10/fe_51/fe.h +116 -0
  176. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_core/hchacha20/core_hchacha20.c +93 -0
  177. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_core/hsalsa20/core_hsalsa20.c +21 -0
  178. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_core/hsalsa20/ref2/core_hsalsa20_ref2.c +95 -0
  179. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_core/salsa/ref/core_salsa_ref.c +195 -0
  180. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_generichash/blake2b/generichash_blake2.c +55 -0
  181. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_generichash/blake2b/ref/blake2.h +109 -0
  182. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_generichash/blake2b/ref/blake2b-compress-avx2.c +49 -0
  183. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_generichash/blake2b/ref/blake2b-compress-avx2.h +140 -0
  184. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_generichash/blake2b/ref/blake2b-compress-ref.c +93 -0
  185. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_generichash/blake2b/ref/blake2b-compress-sse41.c +87 -0
  186. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_generichash/blake2b/ref/blake2b-compress-sse41.h +103 -0
  187. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_generichash/blake2b/ref/blake2b-compress-ssse3.c +90 -0
  188. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_generichash/blake2b/ref/blake2b-compress-ssse3.h +103 -0
  189. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_generichash/blake2b/ref/blake2b-load-avx2.h +340 -0
  190. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_generichash/blake2b/ref/blake2b-load-sse2.h +164 -0
  191. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_generichash/blake2b/ref/blake2b-load-sse41.h +307 -0
  192. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_generichash/blake2b/ref/blake2b-ref.c +436 -0
  193. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_generichash/blake2b/ref/generichash_blake2b.c +111 -0
  194. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_generichash/crypto_generichash.c +91 -0
  195. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_hash/crypto_hash.c +20 -0
  196. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_hash/sha256/cp/hash_sha256_cp.c +254 -0
  197. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_hash/sha256/hash_sha256.c +13 -0
  198. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_hash/sha512/cp/hash_sha512_cp.c +282 -0
  199. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_hash/sha512/hash_sha512.c +13 -0
  200. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_kdf/blake2b/kdf_blake2b.c +52 -0
  201. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_kdf/crypto_kdf.c +49 -0
  202. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_kx/crypto_kx.c +143 -0
  203. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_onetimeauth/crypto_onetimeauth.c +71 -0
  204. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.c +124 -0
  205. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.h +12 -0
  206. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna32.h +235 -0
  207. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna64.h +220 -0
  208. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305.c +90 -0
  209. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305.h +21 -0
  210. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_onetimeauth/poly1305/sse2/poly1305_sse2.c +949 -0
  211. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_onetimeauth/poly1305/sse2/poly1305_sse2.h +12 -0
  212. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-core.c +549 -0
  213. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-core.h +297 -0
  214. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-encoding.c +305 -0
  215. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-encoding.h +33 -0
  216. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-fill-block-avx2.c +239 -0
  217. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-fill-block-avx512f.c +244 -0
  218. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-fill-block-ref.c +233 -0
  219. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-fill-block-ssse3.c +238 -0
  220. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_pwhash/argon2/argon2.c +277 -0
  221. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_pwhash/argon2/argon2.h +305 -0
  222. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_pwhash/argon2/blake2b-long.c +79 -0
  223. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_pwhash/argon2/blake2b-long.h +8 -0
  224. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_pwhash/argon2/blamka-round-avx2.h +150 -0
  225. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_pwhash/argon2/blamka-round-avx512f.h +145 -0
  226. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_pwhash/argon2/blamka-round-ref.h +40 -0
  227. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_pwhash/argon2/blamka-round-ssse3.h +120 -0
  228. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_pwhash/argon2/pwhash_argon2i.c +290 -0
  229. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_pwhash/argon2/pwhash_argon2id.c +234 -0
  230. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_pwhash/crypto_pwhash.c +211 -0
  231. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/crypto_scrypt-common.c +263 -0
  232. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/crypto_scrypt.h +98 -0
  233. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/nosse/pwhash_scryptsalsa208sha256_nosse.c +375 -0
  234. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/pbkdf2-sha256.c +95 -0
  235. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/pbkdf2-sha256.h +45 -0
  236. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/pwhash_scryptsalsa208sha256.c +285 -0
  237. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/scrypt_platform.c +108 -0
  238. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/sse/pwhash_scryptsalsa208sha256_sse.c +400 -0
  239. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.c +33 -0
  240. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/x25519_ref10.c +159 -0
  241. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/x25519_ref10.h +10 -0
  242. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/consts.S +25 -0
  243. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/consts_namespace.h +20 -0
  244. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/curve25519_sandy2x.c +114 -0
  245. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/curve25519_sandy2x.h +9 -0
  246. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/fe.h +26 -0
  247. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/fe51.h +35 -0
  248. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/fe51_invert.c +58 -0
  249. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/fe51_mul.S +197 -0
  250. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/fe51_namespace.h +16 -0
  251. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/fe51_nsquare.S +172 -0
  252. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/fe51_pack.S +226 -0
  253. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/fe_frombytes_sandy2x.c +78 -0
  254. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/ladder.S +1440 -0
  255. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/ladder.h +18 -0
  256. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/ladder_base.S +1295 -0
  257. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/ladder_base.h +18 -0
  258. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/ladder_base_namespace.h +8 -0
  259. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/ladder_namespace.h +8 -0
  260. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/sandy2x.S +17 -0
  261. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_scalarmult/curve25519/scalarmult_curve25519.c +59 -0
  262. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_scalarmult/curve25519/scalarmult_curve25519.h +11 -0
  263. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_scalarmult/ed25519/ref10/scalarmult_ed25519_ref10.c +86 -0
  264. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_secretbox/crypto_secretbox.c +67 -0
  265. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_secretbox/crypto_secretbox_easy.c +144 -0
  266. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_secretbox/xchacha20poly1305/secretbox_xchacha20poly1305.c +177 -0
  267. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_secretbox/xsalsa20poly1305/secretbox_xsalsa20poly1305.c +89 -0
  268. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_secretstream/xchacha20poly1305/secretstream_xchacha20poly1305.c +311 -0
  269. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_shorthash/crypto_shorthash.c +34 -0
  270. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_shorthash/siphash24/ref/shorthash_siphash24_ref.c +65 -0
  271. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_shorthash/siphash24/ref/shorthash_siphash_ref.h +24 -0
  272. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_shorthash/siphash24/ref/shorthash_siphashx24_ref.c +71 -0
  273. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_shorthash/siphash24/shorthash_siphash24.c +11 -0
  274. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_shorthash/siphash24/shorthash_siphashx24.c +11 -0
  275. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_sign/crypto_sign.c +115 -0
  276. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_sign/ed25519/ref10/keypair.c +91 -0
  277. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_sign/ed25519/ref10/obsolete.c +116 -0
  278. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_sign/ed25519/ref10/open.c +93 -0
  279. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_sign/ed25519/ref10/sign.c +144 -0
  280. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_sign/ed25519/ref10/sign_ed25519_ref10.h +18 -0
  281. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_sign/ed25519/sign_ed25519.c +97 -0
  282. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/chacha20/dolbeau/chacha20_dolbeau-avx2.c +180 -0
  283. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/chacha20/dolbeau/chacha20_dolbeau-avx2.h +8 -0
  284. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/chacha20/dolbeau/chacha20_dolbeau-ssse3.c +174 -0
  285. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/chacha20/dolbeau/chacha20_dolbeau-ssse3.h +8 -0
  286. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/chacha20/dolbeau/u0.h +86 -0
  287. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/chacha20/dolbeau/u1.h +98 -0
  288. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/chacha20/dolbeau/u4.h +175 -0
  289. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/chacha20/dolbeau/u8.h +357 -0
  290. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/chacha20/ref/chacha20_ref.c +315 -0
  291. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/chacha20/ref/chacha20_ref.h +8 -0
  292. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/chacha20/stream_chacha20.c +130 -0
  293. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/chacha20/stream_chacha20.h +22 -0
  294. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/crypto_stream.c +49 -0
  295. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/salsa20/ref/salsa20_ref.c +120 -0
  296. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/salsa20/ref/salsa20_ref.h +8 -0
  297. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/salsa20/stream_salsa20.c +100 -0
  298. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/salsa20/stream_salsa20.h +16 -0
  299. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/salsa20/xmm6/salsa20_xmm6-asm.S +960 -0
  300. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/salsa20/xmm6/salsa20_xmm6.c +31 -0
  301. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/salsa20/xmm6/salsa20_xmm6.h +8 -0
  302. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int/salsa20_xmm6int-avx2.c +131 -0
  303. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int/salsa20_xmm6int-avx2.h +8 -0
  304. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int/salsa20_xmm6int-sse2.c +122 -0
  305. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int/salsa20_xmm6int-sse2.h +8 -0
  306. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int/u0.h +195 -0
  307. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int/u1.h +207 -0
  308. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int/u4.h +547 -0
  309. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int/u8.h +476 -0
  310. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/salsa2012/ref/stream_salsa2012_ref.c +106 -0
  311. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/salsa2012/stream_salsa2012.c +26 -0
  312. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/salsa208/ref/stream_salsa208_ref.c +106 -0
  313. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/salsa208/stream_salsa208.c +26 -0
  314. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/xchacha20/stream_xchacha20.c +69 -0
  315. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_stream/xsalsa20/stream_xsalsa20.c +66 -0
  316. data/vendor/github.com/jedisct1/libsodium/src/libsodium/crypto_verify/sodium/verify.c +98 -0
  317. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/Makefile.am +75 -0
  318. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/core.h +28 -0
  319. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_aead_aes256gcm.h +171 -0
  320. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_aead_chacha20poly1305.h +174 -0
  321. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_aead_xchacha20poly1305.h +97 -0
  322. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_auth.h +44 -0
  323. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_auth_hmacsha256.h +68 -0
  324. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_auth_hmacsha512.h +67 -0
  325. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_auth_hmacsha512256.h +62 -0
  326. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_box.h +173 -0
  327. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_box_curve25519xchacha20poly1305.h +159 -0
  328. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_box_curve25519xsalsa20poly1305.h +109 -0
  329. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_core_ed25519.h +37 -0
  330. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_core_hchacha20.h +35 -0
  331. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_core_hsalsa20.h +35 -0
  332. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_core_salsa20.h +35 -0
  333. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_core_salsa2012.h +35 -0
  334. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_core_salsa208.h +39 -0
  335. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_generichash.h +75 -0
  336. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_generichash_blake2b.h +117 -0
  337. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_hash.h +40 -0
  338. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_hash_sha256.h +57 -0
  339. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_hash_sha512.h +57 -0
  340. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_kdf.h +51 -0
  341. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_kdf_blake2b.h +42 -0
  342. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_kx.h +64 -0
  343. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_onetimeauth.h +62 -0
  344. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_onetimeauth_poly1305.h +67 -0
  345. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_pwhash.h +147 -0
  346. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_pwhash_argon2i.h +122 -0
  347. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_pwhash_argon2id.h +122 -0
  348. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_pwhash_scryptsalsa208sha256.h +120 -0
  349. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_scalarmult.h +45 -0
  350. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_scalarmult_curve25519.h +40 -0
  351. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_scalarmult_ed25519.h +41 -0
  352. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_secretbox.h +91 -0
  353. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_secretbox_xchacha20poly1305.h +68 -0
  354. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_secretbox_xsalsa20poly1305.h +67 -0
  355. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_secretstream_xchacha20poly1305.h +102 -0
  356. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_shorthash.h +39 -0
  357. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_shorthash_siphash24.h +48 -0
  358. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_sign.h +103 -0
  359. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_sign_ed25519.h +114 -0
  360. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_sign_edwards25519sha512batch.h +55 -0
  361. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_stream.h +56 -0
  362. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_stream_chacha20.h +98 -0
  363. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_stream_salsa20.h +57 -0
  364. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_stream_salsa2012.h +50 -0
  365. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_stream_salsa208.h +56 -0
  366. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_stream_xchacha20.h +57 -0
  367. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_stream_xsalsa20.h +57 -0
  368. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_verify_16.h +23 -0
  369. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_verify_32.h +23 -0
  370. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/crypto_verify_64.h +23 -0
  371. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/export.h +53 -0
  372. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/private/common.h +246 -0
  373. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/private/ed25519_ref10.h +125 -0
  374. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/private/ed25519_ref10_fe_25_5.h +1050 -0
  375. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/private/ed25519_ref10_fe_51.h +518 -0
  376. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/private/implementations.h +11 -0
  377. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/private/mutex.h +7 -0
  378. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/private/sse2_64_32.h +50 -0
  379. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/randombytes.h +68 -0
  380. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/randombytes_nativeclient.h +23 -0
  381. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/randombytes_salsa20_random.h +19 -0
  382. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/randombytes_sysrandom.h +19 -0
  383. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/runtime.h +52 -0
  384. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/utils.h +170 -0
  385. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium/version.h.in +33 -0
  386. data/vendor/github.com/jedisct1/libsodium/src/libsodium/include/sodium.h +70 -0
  387. data/vendor/github.com/jedisct1/libsodium/src/libsodium/randombytes/nativeclient/randombytes_nativeclient.c +61 -0
  388. data/vendor/github.com/jedisct1/libsodium/src/libsodium/randombytes/randombytes.c +206 -0
  389. data/vendor/github.com/jedisct1/libsodium/src/libsodium/randombytes/salsa20/randombytes_salsa20_random.c +564 -0
  390. data/vendor/github.com/jedisct1/libsodium/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c +382 -0
  391. data/vendor/github.com/jedisct1/libsodium/src/libsodium/sodium/codecs.c +333 -0
  392. data/vendor/github.com/jedisct1/libsodium/src/libsodium/sodium/core.c +231 -0
  393. data/vendor/github.com/jedisct1/libsodium/src/libsodium/sodium/runtime.c +286 -0
  394. data/vendor/github.com/jedisct1/libsodium/src/libsodium/sodium/utils.c +737 -0
  395. data/vendor/github.com/jedisct1/libsodium/src/libsodium/sodium/version.c +30 -0
  396. data/vendor/github.com/jedisct1/libsodium/test/Makefile.am +5 -0
  397. data/vendor/github.com/jedisct1/libsodium/test/constcheck.sh +19 -0
  398. data/vendor/github.com/jedisct1/libsodium/test/default/Makefile.am +624 -0
  399. data/vendor/github.com/jedisct1/libsodium/test/default/aead_aes256gcm.c +3243 -0
  400. data/vendor/github.com/jedisct1/libsodium/test/default/aead_aes256gcm.exp +1 -0
  401. data/vendor/github.com/jedisct1/libsodium/test/default/aead_chacha20poly1305.c +372 -0
  402. data/vendor/github.com/jedisct1/libsodium/test/default/aead_chacha20poly1305.exp +63 -0
  403. data/vendor/github.com/jedisct1/libsodium/test/default/aead_xchacha20poly1305.c +198 -0
  404. data/vendor/github.com/jedisct1/libsodium/test/default/aead_xchacha20poly1305.exp +51 -0
  405. data/vendor/github.com/jedisct1/libsodium/test/default/auth.c +85 -0
  406. data/vendor/github.com/jedisct1/libsodium/test/default/auth.exp +30 -0
  407. data/vendor/github.com/jedisct1/libsodium/test/default/auth2.c +34 -0
  408. data/vendor/github.com/jedisct1/libsodium/test/default/auth2.exp +4 -0
  409. data/vendor/github.com/jedisct1/libsodium/test/default/auth3.c +31 -0
  410. data/vendor/github.com/jedisct1/libsodium/test/default/auth3.exp +1 -0
  411. data/vendor/github.com/jedisct1/libsodium/test/default/auth5.c +36 -0
  412. data/vendor/github.com/jedisct1/libsodium/test/default/auth5.exp +0 -0
  413. data/vendor/github.com/jedisct1/libsodium/test/default/auth6.c +23 -0
  414. data/vendor/github.com/jedisct1/libsodium/test/default/auth6.exp +8 -0
  415. data/vendor/github.com/jedisct1/libsodium/test/default/auth7.c +36 -0
  416. data/vendor/github.com/jedisct1/libsodium/test/default/auth7.exp +0 -0
  417. data/vendor/github.com/jedisct1/libsodium/test/default/box.c +112 -0
  418. data/vendor/github.com/jedisct1/libsodium/test/default/box.exp +38 -0
  419. data/vendor/github.com/jedisct1/libsodium/test/default/box2.c +80 -0
  420. data/vendor/github.com/jedisct1/libsodium/test/default/box2.exp +34 -0
  421. data/vendor/github.com/jedisct1/libsodium/test/default/box7.c +50 -0
  422. data/vendor/github.com/jedisct1/libsodium/test/default/box7.exp +0 -0
  423. data/vendor/github.com/jedisct1/libsodium/test/default/box8.c +58 -0
  424. data/vendor/github.com/jedisct1/libsodium/test/default/box8.exp +0 -0
  425. data/vendor/github.com/jedisct1/libsodium/test/default/box_easy.c +71 -0
  426. data/vendor/github.com/jedisct1/libsodium/test/default/box_easy.exp +3 -0
  427. data/vendor/github.com/jedisct1/libsodium/test/default/box_easy2.c +149 -0
  428. data/vendor/github.com/jedisct1/libsodium/test/default/box_easy2.exp +7 -0
  429. data/vendor/github.com/jedisct1/libsodium/test/default/box_seal.c +44 -0
  430. data/vendor/github.com/jedisct1/libsodium/test/default/box_seal.exp +4 -0
  431. data/vendor/github.com/jedisct1/libsodium/test/default/box_seed.c +30 -0
  432. data/vendor/github.com/jedisct1/libsodium/test/default/box_seed.exp +8 -0
  433. data/vendor/github.com/jedisct1/libsodium/test/default/chacha20.c +186 -0
  434. data/vendor/github.com/jedisct1/libsodium/test/default/chacha20.exp +64 -0
  435. data/vendor/github.com/jedisct1/libsodium/test/default/cmptest.h +138 -0
  436. data/vendor/github.com/jedisct1/libsodium/test/default/codecs.c +226 -0
  437. data/vendor/github.com/jedisct1/libsodium/test/default/codecs.exp +28 -0
  438. data/vendor/github.com/jedisct1/libsodium/test/default/core1.c +41 -0
  439. data/vendor/github.com/jedisct1/libsodium/test/default/core1.exp +4 -0
  440. data/vendor/github.com/jedisct1/libsodium/test/default/core2.c +38 -0
  441. data/vendor/github.com/jedisct1/libsodium/test/default/core2.exp +4 -0
  442. data/vendor/github.com/jedisct1/libsodium/test/default/core3.c +115 -0
  443. data/vendor/github.com/jedisct1/libsodium/test/default/core3.exp +3 -0
  444. data/vendor/github.com/jedisct1/libsodium/test/default/core4.c +36 -0
  445. data/vendor/github.com/jedisct1/libsodium/test/default/core4.exp +8 -0
  446. data/vendor/github.com/jedisct1/libsodium/test/default/core5.c +33 -0
  447. data/vendor/github.com/jedisct1/libsodium/test/default/core5.exp +4 -0
  448. data/vendor/github.com/jedisct1/libsodium/test/default/core6.c +52 -0
  449. data/vendor/github.com/jedisct1/libsodium/test/default/core6.exp +4 -0
  450. data/vendor/github.com/jedisct1/libsodium/test/default/core_ed25519.c +151 -0
  451. data/vendor/github.com/jedisct1/libsodium/test/default/core_ed25519.exp +1 -0
  452. data/vendor/github.com/jedisct1/libsodium/test/default/ed25519_convert.c +76 -0
  453. data/vendor/github.com/jedisct1/libsodium/test/default/ed25519_convert.exp +3 -0
  454. data/vendor/github.com/jedisct1/libsodium/test/default/generichash.c +1406 -0
  455. data/vendor/github.com/jedisct1/libsodium/test/default/generichash.exp +65 -0
  456. data/vendor/github.com/jedisct1/libsodium/test/default/generichash2.c +56 -0
  457. data/vendor/github.com/jedisct1/libsodium/test/default/generichash2.exp +64 -0
  458. data/vendor/github.com/jedisct1/libsodium/test/default/generichash3.c +176 -0
  459. data/vendor/github.com/jedisct1/libsodium/test/default/generichash3.exp +75 -0
  460. data/vendor/github.com/jedisct1/libsodium/test/default/hash.c +47 -0
  461. data/vendor/github.com/jedisct1/libsodium/test/default/hash.exp +4 -0
  462. data/vendor/github.com/jedisct1/libsodium/test/default/hash2.exp +1 -0
  463. data/vendor/github.com/jedisct1/libsodium/test/default/hash3.c +20 -0
  464. data/vendor/github.com/jedisct1/libsodium/test/default/hash3.exp +1 -0
  465. data/vendor/github.com/jedisct1/libsodium/test/default/index.html.tpl +98 -0
  466. data/vendor/github.com/jedisct1/libsodium/test/default/kdf.c +67 -0
  467. data/vendor/github.com/jedisct1/libsodium/test/default/kdf.exp +77 -0
  468. data/vendor/github.com/jedisct1/libsodium/test/default/keygen.c +67 -0
  469. data/vendor/github.com/jedisct1/libsodium/test/default/keygen.exp +1 -0
  470. data/vendor/github.com/jedisct1/libsodium/test/default/kx.c +149 -0
  471. data/vendor/github.com/jedisct1/libsodium/test/default/kx.exp +7 -0
  472. data/vendor/github.com/jedisct1/libsodium/test/default/metamorphic.c +187 -0
  473. data/vendor/github.com/jedisct1/libsodium/test/default/metamorphic.exp +1 -0
  474. data/vendor/github.com/jedisct1/libsodium/test/default/misuse.c +173 -0
  475. data/vendor/github.com/jedisct1/libsodium/test/default/misuse.exp +0 -0
  476. data/vendor/github.com/jedisct1/libsodium/test/default/nacl-test-wrapper.sh +35 -0
  477. data/vendor/github.com/jedisct1/libsodium/test/default/onetimeauth.c +63 -0
  478. data/vendor/github.com/jedisct1/libsodium/test/default/onetimeauth.exp +4 -0
  479. data/vendor/github.com/jedisct1/libsodium/test/default/onetimeauth2.c +33 -0
  480. data/vendor/github.com/jedisct1/libsodium/test/default/onetimeauth2.exp +1 -0
  481. data/vendor/github.com/jedisct1/libsodium/test/default/onetimeauth7.c +36 -0
  482. data/vendor/github.com/jedisct1/libsodium/test/default/onetimeauth7.exp +0 -0
  483. data/vendor/github.com/jedisct1/libsodium/test/default/pre.js.inc +20 -0
  484. data/vendor/github.com/jedisct1/libsodium/test/default/pwhash_argon2i.c +452 -0
  485. data/vendor/github.com/jedisct1/libsodium/test/default/pwhash_argon2i.exp +11 -0
  486. data/vendor/github.com/jedisct1/libsodium/test/default/pwhash_argon2id.c +503 -0
  487. data/vendor/github.com/jedisct1/libsodium/test/default/pwhash_argon2id.exp +14 -0
  488. data/vendor/github.com/jedisct1/libsodium/test/default/pwhash_scrypt.c +400 -0
  489. data/vendor/github.com/jedisct1/libsodium/test/default/pwhash_scrypt.exp +38 -0
  490. data/vendor/github.com/jedisct1/libsodium/test/default/pwhash_scrypt_ll.c +59 -0
  491. data/vendor/github.com/jedisct1/libsodium/test/default/pwhash_scrypt_ll.exp +15 -0
  492. data/vendor/github.com/jedisct1/libsodium/test/default/randombytes.c +167 -0
  493. data/vendor/github.com/jedisct1/libsodium/test/default/randombytes.exp +2 -0
  494. data/vendor/github.com/jedisct1/libsodium/test/default/scalarmult.c +71 -0
  495. data/vendor/github.com/jedisct1/libsodium/test/default/scalarmult.exp +4 -0
  496. data/vendor/github.com/jedisct1/libsodium/test/default/scalarmult2.c +32 -0
  497. data/vendor/github.com/jedisct1/libsodium/test/default/scalarmult2.exp +4 -0
  498. data/vendor/github.com/jedisct1/libsodium/test/default/scalarmult5.c +40 -0
  499. data/vendor/github.com/jedisct1/libsodium/test/default/scalarmult5.exp +4 -0
  500. data/vendor/github.com/jedisct1/libsodium/test/default/scalarmult6.c +54 -0
  501. data/vendor/github.com/jedisct1/libsodium/test/default/scalarmult6.exp +4 -0
  502. data/vendor/github.com/jedisct1/libsodium/test/default/scalarmult7.c +34 -0
  503. data/vendor/github.com/jedisct1/libsodium/test/default/scalarmult7.exp +1 -0
  504. data/vendor/github.com/jedisct1/libsodium/test/default/scalarmult_ed25519.c +90 -0
  505. data/vendor/github.com/jedisct1/libsodium/test/default/scalarmult_ed25519.exp +1 -0
  506. data/vendor/github.com/jedisct1/libsodium/test/default/secretbox.c +84 -0
  507. data/vendor/github.com/jedisct1/libsodium/test/default/secretbox.exp +38 -0
  508. data/vendor/github.com/jedisct1/libsodium/test/default/secretbox2.c +55 -0
  509. data/vendor/github.com/jedisct1/libsodium/test/default/secretbox2.exp +17 -0
  510. data/vendor/github.com/jedisct1/libsodium/test/default/secretbox7.c +36 -0
  511. data/vendor/github.com/jedisct1/libsodium/test/default/secretbox7.exp +0 -0
  512. data/vendor/github.com/jedisct1/libsodium/test/default/secretbox8.c +41 -0
  513. data/vendor/github.com/jedisct1/libsodium/test/default/secretbox8.exp +0 -0
  514. data/vendor/github.com/jedisct1/libsodium/test/default/secretbox_easy.c +124 -0
  515. data/vendor/github.com/jedisct1/libsodium/test/default/secretbox_easy.exp +9 -0
  516. data/vendor/github.com/jedisct1/libsodium/test/default/secretbox_easy2.c +72 -0
  517. data/vendor/github.com/jedisct1/libsodium/test/default/secretbox_easy2.exp +5 -0
  518. data/vendor/github.com/jedisct1/libsodium/test/default/secretstream.c +329 -0
  519. data/vendor/github.com/jedisct1/libsodium/test/default/secretstream.exp +1 -0
  520. data/vendor/github.com/jedisct1/libsodium/test/default/shorthash.c +35 -0
  521. data/vendor/github.com/jedisct1/libsodium/test/default/shorthash.exp +64 -0
  522. data/vendor/github.com/jedisct1/libsodium/test/default/sign.c +1331 -0
  523. data/vendor/github.com/jedisct1/libsodium/test/default/sign.exp +5 -0
  524. data/vendor/github.com/jedisct1/libsodium/test/default/siphashx24.c +33 -0
  525. data/vendor/github.com/jedisct1/libsodium/test/default/siphashx24.exp +64 -0
  526. data/vendor/github.com/jedisct1/libsodium/test/default/sodium_core.c +42 -0
  527. data/vendor/github.com/jedisct1/libsodium/test/default/sodium_core.exp +1 -0
  528. data/vendor/github.com/jedisct1/libsodium/test/default/sodium_utils.c +178 -0
  529. data/vendor/github.com/jedisct1/libsodium/test/default/sodium_utils.exp +16 -0
  530. data/vendor/github.com/jedisct1/libsodium/test/default/sodium_utils2.c +98 -0
  531. data/vendor/github.com/jedisct1/libsodium/test/default/sodium_utils2.exp +3 -0
  532. data/vendor/github.com/jedisct1/libsodium/test/default/sodium_utils3.c +68 -0
  533. data/vendor/github.com/jedisct1/libsodium/test/default/sodium_utils3.exp +2 -0
  534. data/vendor/github.com/jedisct1/libsodium/test/default/sodium_version.c +18 -0
  535. data/vendor/github.com/jedisct1/libsodium/test/default/sodium_version.exp +3 -0
  536. data/vendor/github.com/jedisct1/libsodium/test/default/stream.c +65 -0
  537. data/vendor/github.com/jedisct1/libsodium/test/default/stream.exp +67 -0
  538. data/vendor/github.com/jedisct1/libsodium/test/default/stream2.c +47 -0
  539. data/vendor/github.com/jedisct1/libsodium/test/default/stream2.exp +2 -0
  540. data/vendor/github.com/jedisct1/libsodium/test/default/stream3.c +31 -0
  541. data/vendor/github.com/jedisct1/libsodium/test/default/stream3.exp +4 -0
  542. data/vendor/github.com/jedisct1/libsodium/test/default/stream4.c +50 -0
  543. data/vendor/github.com/jedisct1/libsodium/test/default/stream4.exp +17 -0
  544. data/vendor/github.com/jedisct1/libsodium/test/default/verify1.c +76 -0
  545. data/vendor/github.com/jedisct1/libsodium/test/default/verify1.exp +2 -0
  546. data/vendor/github.com/jedisct1/libsodium/test/default/wintest.bat +56 -0
  547. data/vendor/github.com/jedisct1/libsodium/test/default/xchacha20.c +428 -0
  548. data/vendor/github.com/jedisct1/libsodium/test/default/xchacha20.exp +5 -0
  549. data/vendor/github.com/jedisct1/libsodium/test/quirks/quirks.h +51 -0
  550. metadata +613 -0
@@ -0,0 +1,226 @@
1
+ #ifdef IN_SANDY2X
2
+
3
+ /*
4
+ This file is the result of merging
5
+ amd64-51/fe25519_pack.c and amd64-51/fe25519_freeze.s.
6
+ */
7
+ #include "fe51_namespace.h"
8
+ #include "consts_namespace.h"
9
+ .p2align 5
10
+
11
+ #ifdef ASM_HIDE_SYMBOL
12
+ ASM_HIDE_SYMBOL fe51_pack
13
+ ASM_HIDE_SYMBOL _fe51_pack
14
+ #endif
15
+ .globl fe51_pack
16
+ .globl _fe51_pack
17
+ #ifdef __ELF__
18
+ .type fe51_pack, @function
19
+ .type _fe51_pack, @function
20
+ #endif
21
+ fe51_pack:
22
+ _fe51_pack:
23
+
24
+ mov %rsp,%r11
25
+ and $31,%r11
26
+ add $32,%r11
27
+ sub %r11,%rsp
28
+ movq %r11,0(%rsp)
29
+ movq %r12,8(%rsp)
30
+ movq 0(%rsi),%rdx
31
+ movq 8(%rsi),%rcx
32
+ movq 16(%rsi),%r8
33
+ movq 24(%rsi),%r9
34
+ movq 32(%rsi),%rsi
35
+ movq REDMASK51(%rip),%rax
36
+ lea -18(%rax),%r10
37
+ mov $3,%r11
38
+
39
+ .p2align 4
40
+ ._reduceloop:
41
+ mov %rdx,%r12
42
+ shr $51,%r12
43
+ and %rax,%rdx
44
+ add %r12,%rcx
45
+ mov %rcx,%r12
46
+ shr $51,%r12
47
+ and %rax,%rcx
48
+ add %r12,%r8
49
+ mov %r8,%r12
50
+ shr $51,%r12
51
+ and %rax,%r8
52
+ add %r12,%r9
53
+ mov %r9,%r12
54
+ shr $51,%r12
55
+ and %rax,%r9
56
+ add %r12,%rsi
57
+ mov %rsi,%r12
58
+ shr $51,%r12
59
+ and %rax,%rsi
60
+ imulq $19, %r12,%r12
61
+ add %r12,%rdx
62
+ sub $1,%r11
63
+ ja ._reduceloop
64
+
65
+ mov $1,%r12
66
+ cmp %r10,%rdx
67
+ cmovl %r11,%r12
68
+ cmp %rax,%rcx
69
+ cmovne %r11,%r12
70
+ cmp %rax,%r8
71
+ cmovne %r11,%r12
72
+ cmp %rax,%r9
73
+ cmovne %r11,%r12
74
+ cmp %rax,%rsi
75
+ cmovne %r11,%r12
76
+ neg %r12
77
+ and %r12,%rax
78
+ and %r12,%r10
79
+ sub %r10,%rdx
80
+ sub %rax,%rcx
81
+ sub %rax,%r8
82
+ sub %rax,%r9
83
+ sub %rax,%rsi
84
+ mov %rdx,%rax
85
+ and $0xFF,%eax
86
+ movb %al,0(%rdi)
87
+ mov %rdx,%rax
88
+ shr $8,%rax
89
+ and $0xFF,%eax
90
+ movb %al,1(%rdi)
91
+ mov %rdx,%rax
92
+ shr $16,%rax
93
+ and $0xFF,%eax
94
+ movb %al,2(%rdi)
95
+ mov %rdx,%rax
96
+ shr $24,%rax
97
+ and $0xFF,%eax
98
+ movb %al,3(%rdi)
99
+ mov %rdx,%rax
100
+ shr $32,%rax
101
+ and $0xFF,%eax
102
+ movb %al,4(%rdi)
103
+ mov %rdx,%rax
104
+ shr $40,%rax
105
+ and $0xFF,%eax
106
+ movb %al,5(%rdi)
107
+ mov %rdx,%rdx
108
+ shr $48,%rdx
109
+ mov %rcx,%rax
110
+ shl $3,%rax
111
+ and $0xF8,%eax
112
+ xor %rdx,%rax
113
+ movb %al,6(%rdi)
114
+ mov %rcx,%rdx
115
+ shr $5,%rdx
116
+ and $0xFF,%edx
117
+ movb %dl,7(%rdi)
118
+ mov %rcx,%rdx
119
+ shr $13,%rdx
120
+ and $0xFF,%edx
121
+ movb %dl,8(%rdi)
122
+ mov %rcx,%rdx
123
+ shr $21,%rdx
124
+ and $0xFF,%edx
125
+ movb %dl,9(%rdi)
126
+ mov %rcx,%rdx
127
+ shr $29,%rdx
128
+ and $0xFF,%edx
129
+ movb %dl,10(%rdi)
130
+ mov %rcx,%rdx
131
+ shr $37,%rdx
132
+ and $0xFF,%edx
133
+ movb %dl,11(%rdi)
134
+ mov %rcx,%rdx
135
+ shr $45,%rdx
136
+ mov %r8,%rcx
137
+ shl $6,%rcx
138
+ and $0xC0,%ecx
139
+ xor %rdx,%rcx
140
+ movb %cl,12(%rdi)
141
+ mov %r8,%rdx
142
+ shr $2,%rdx
143
+ and $0xFF,%edx
144
+ movb %dl,13(%rdi)
145
+ mov %r8,%rdx
146
+ shr $10,%rdx
147
+ and $0xFF,%edx
148
+ movb %dl,14(%rdi)
149
+ mov %r8,%rdx
150
+ shr $18,%rdx
151
+ and $0xFF,%edx
152
+ movb %dl,15(%rdi)
153
+ mov %r8,%rdx
154
+ shr $26,%rdx
155
+ and $0xFF,%edx
156
+ movb %dl,16(%rdi)
157
+ mov %r8,%rdx
158
+ shr $34,%rdx
159
+ and $0xFF,%edx
160
+ movb %dl,17(%rdi)
161
+ mov %r8,%rdx
162
+ shr $42,%rdx
163
+ movb %dl,18(%rdi)
164
+ mov %r8,%rdx
165
+ shr $50,%rdx
166
+ mov %r9,%rcx
167
+ shl $1,%rcx
168
+ and $0xFE,%ecx
169
+ xor %rdx,%rcx
170
+ movb %cl,19(%rdi)
171
+ mov %r9,%rdx
172
+ shr $7,%rdx
173
+ and $0xFF,%edx
174
+ movb %dl,20(%rdi)
175
+ mov %r9,%rdx
176
+ shr $15,%rdx
177
+ and $0xFF,%edx
178
+ movb %dl,21(%rdi)
179
+ mov %r9,%rdx
180
+ shr $23,%rdx
181
+ and $0xFF,%edx
182
+ movb %dl,22(%rdi)
183
+ mov %r9,%rdx
184
+ shr $31,%rdx
185
+ and $0xFF,%edx
186
+ movb %dl,23(%rdi)
187
+ mov %r9,%rdx
188
+ shr $39,%rdx
189
+ and $0xFF,%edx
190
+ movb %dl,24(%rdi)
191
+ mov %r9,%rdx
192
+ shr $47,%rdx
193
+ mov %rsi,%rcx
194
+ shl $4,%rcx
195
+ and $0xF0,%ecx
196
+ xor %rdx,%rcx
197
+ movb %cl,25(%rdi)
198
+ mov %rsi,%rdx
199
+ shr $4,%rdx
200
+ and $0xFF,%edx
201
+ movb %dl,26(%rdi)
202
+ mov %rsi,%rdx
203
+ shr $12,%rdx
204
+ and $0xFF,%edx
205
+ movb %dl,27(%rdi)
206
+ mov %rsi,%rdx
207
+ shr $20,%rdx
208
+ and $0xFF,%edx
209
+ movb %dl,28(%rdi)
210
+ mov %rsi,%rdx
211
+ shr $28,%rdx
212
+ and $0xFF,%edx
213
+ movb %dl,29(%rdi)
214
+ mov %rsi,%rdx
215
+ shr $36,%rdx
216
+ and $0xFF,%edx
217
+ movb %dl,30(%rdi)
218
+ mov %rsi,%rsi
219
+ shr $44,%rsi
220
+ movb %sil,31(%rdi)
221
+ movq 0(%rsp),%r11
222
+ movq 8(%rsp),%r12
223
+ add %r11,%rsp
224
+ ret
225
+
226
+ #endif
@@ -0,0 +1,78 @@
1
+ /*
2
+ This file is basically ref10/fe_frombytes.h.
3
+ */
4
+
5
+ #include "fe.h"
6
+
7
+ #ifdef HAVE_AVX_ASM
8
+
9
+ static uint64_t
10
+ load_3(const unsigned char *in)
11
+ {
12
+ uint64_t result;
13
+ result = (uint64_t) in[0];
14
+ result |= ((uint64_t) in[1]) << 8;
15
+ result |= ((uint64_t) in[2]) << 16;
16
+ return result;
17
+ }
18
+
19
+ static uint64_t
20
+ load_4(const unsigned char *in)
21
+ {
22
+ uint64_t result;
23
+ result = (uint64_t) in[0];
24
+ result |= ((uint64_t) in[1]) << 8;
25
+ result |= ((uint64_t) in[2]) << 16;
26
+ result |= ((uint64_t) in[3]) << 24;
27
+ return result;
28
+ }
29
+
30
+ void
31
+ fe_frombytes(fe h, const unsigned char *s)
32
+ {
33
+ uint64_t h0 = load_4(s);
34
+ uint64_t h1 = load_3(s + 4) << 6;
35
+ uint64_t h2 = load_3(s + 7) << 5;
36
+ uint64_t h3 = load_3(s + 10) << 3;
37
+ uint64_t h4 = load_3(s + 13) << 2;
38
+ uint64_t h5 = load_4(s + 16);
39
+ uint64_t h6 = load_3(s + 20) << 7;
40
+ uint64_t h7 = load_3(s + 23) << 5;
41
+ uint64_t h8 = load_3(s + 26) << 4;
42
+ uint64_t h9 = (load_3(s + 29) & 8388607) << 2;
43
+ uint64_t carry0;
44
+ uint64_t carry1;
45
+ uint64_t carry2;
46
+ uint64_t carry3;
47
+ uint64_t carry4;
48
+ uint64_t carry5;
49
+ uint64_t carry6;
50
+ uint64_t carry7;
51
+ uint64_t carry8;
52
+ uint64_t carry9;
53
+
54
+ carry9 = h9 >> 25; h0 += carry9 * 19; h9 &= 0x1FFFFFF;
55
+ carry1 = h1 >> 25; h2 += carry1; h1 &= 0x1FFFFFF;
56
+ carry3 = h3 >> 25; h4 += carry3; h3 &= 0x1FFFFFF;
57
+ carry5 = h5 >> 25; h6 += carry5; h5 &= 0x1FFFFFF;
58
+ carry7 = h7 >> 25; h8 += carry7; h7 &= 0x1FFFFFF;
59
+
60
+ carry0 = h0 >> 26; h1 += carry0; h0 &= 0x3FFFFFF;
61
+ carry2 = h2 >> 26; h3 += carry2; h2 &= 0x3FFFFFF;
62
+ carry4 = h4 >> 26; h5 += carry4; h4 &= 0x3FFFFFF;
63
+ carry6 = h6 >> 26; h7 += carry6; h6 &= 0x3FFFFFF;
64
+ carry8 = h8 >> 26; h9 += carry8; h8 &= 0x3FFFFFF;
65
+
66
+ h[0] = h0;
67
+ h[1] = h1;
68
+ h[2] = h2;
69
+ h[3] = h3;
70
+ h[4] = h4;
71
+ h[5] = h5;
72
+ h[6] = h6;
73
+ h[7] = h7;
74
+ h[8] = h8;
75
+ h[9] = h9;
76
+ }
77
+
78
+ #endif