rbnacl-libsodium 0.6.1 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) 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 +0 -3
  5. data/vendor/libsodium/ChangeLog +24 -0
  6. data/vendor/libsodium/THANKS +2 -0
  7. data/vendor/libsodium/autom4te.cache/output.1 +35 -147
  8. data/vendor/libsodium/autom4te.cache/output.3 +35 -147
  9. data/vendor/libsodium/autom4te.cache/requests +127 -127
  10. data/vendor/libsodium/autom4te.cache/traces.1 +244 -254
  11. data/vendor/libsodium/autom4te.cache/traces.3 +111 -113
  12. data/vendor/libsodium/builds/msvc/properties/Common.props +3 -1
  13. data/vendor/libsodium/builds/msvc/properties/Release.props +1 -3
  14. data/vendor/libsodium/builds/msvc/version.h +3 -3
  15. data/vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.vcxproj +1 -11
  16. data/vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.vcxproj.filters +1 -37
  17. data/vendor/libsodium/builds/msvc/vs2010/test/test.vcxproj +10 -1
  18. data/vendor/libsodium/builds/msvc/vs2010/test/test.vcxproj.filters +10 -1
  19. data/vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.vcxproj +1 -11
  20. data/vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.vcxproj.filters +1 -37
  21. data/vendor/libsodium/builds/msvc/vs2012/test/test.vcxproj +10 -1
  22. data/vendor/libsodium/builds/msvc/vs2012/test/test.vcxproj.filters +10 -1
  23. data/vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.vcxproj +1 -11
  24. data/vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.vcxproj.filters +1 -37
  25. data/vendor/libsodium/builds/msvc/vs2013/test/test.vcxproj +10 -1
  26. data/vendor/libsodium/builds/msvc/vs2013/test/test.vcxproj.filters +10 -1
  27. data/vendor/libsodium/configure +33 -145
  28. data/vendor/libsodium/configure.ac +22 -23
  29. data/vendor/libsodium/dist-build/android-build.sh +1 -0
  30. data/vendor/libsodium/dist-build/emscripten.sh +2 -2
  31. data/vendor/libsodium/dist-build/ios.sh +1 -0
  32. data/vendor/libsodium/libsodium.pc.in +1 -1
  33. data/vendor/libsodium/libsodium.vcxproj +1 -5
  34. data/vendor/libsodium/libsodium.vcxproj.filters +1 -13
  35. data/vendor/libsodium/msvc-scripts/process.bat +3 -3
  36. data/vendor/libsodium/msvc-scripts/sodium.props +4 -1
  37. data/vendor/libsodium/src/libsodium/Makefile.am +1 -10
  38. data/vendor/libsodium/src/libsodium/Makefile.in +5 -79
  39. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha256/cp/verify_hmacsha256.c +3 -1
  40. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512/cp/verify_hmacsha512.c +3 -1
  41. data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512256/cp/verify_hmacsha512256.c +3 -1
  42. data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/pwhash_scryptsalsa208sha256.c +6 -0
  43. data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/pow225521.h +2 -2
  44. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/keypair.c +46 -3
  45. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/open.c +2 -10
  46. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/sign.c +7 -1
  47. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/sign_ed25519_api.c +18 -0
  48. data/vendor/libsodium/src/libsodium/include/Makefile.am +0 -1
  49. data/vendor/libsodium/src/libsodium/include/Makefile.in +0 -1
  50. data/vendor/libsodium/src/libsodium/include/sodium.h +0 -1
  51. data/vendor/libsodium/src/libsodium/include/sodium/crypto_onetimeauth_poly1305.h +1 -2
  52. data/vendor/libsodium/src/libsodium/include/sodium/crypto_pwhash_scryptsalsa208sha256.h +5 -0
  53. data/vendor/libsodium/src/libsodium/include/sodium/crypto_sign_ed25519.h +15 -0
  54. data/vendor/libsodium/src/libsodium/include/sodium/utils.h +54 -3
  55. data/vendor/libsodium/src/libsodium/randombytes/salsa20/randombytes_salsa20_random.c +22 -7
  56. data/vendor/libsodium/src/libsodium/sodium/core.c +2 -0
  57. data/vendor/libsodium/src/libsodium/sodium/utils.c +305 -31
  58. data/vendor/libsodium/test/default/Makefile.am +18 -16
  59. data/vendor/libsodium/test/default/Makefile.in +141 -76
  60. data/vendor/libsodium/test/default/ed25519_convert.c +48 -0
  61. data/vendor/libsodium/test/default/ed25519_convert.exp +3 -0
  62. data/vendor/libsodium/test/default/sign.c +15 -4
  63. data/vendor/libsodium/test/default/sodium_utils2.c +70 -0
  64. data/vendor/libsodium/test/default/sodium_utils2.exp +3 -0
  65. data/vendor/libsodium/test/default/sodium_utils3.c +55 -0
  66. data/vendor/libsodium/test/default/sodium_utils3.exp +2 -0
  67. metadata +8 -24
  68. data/vendor/libsodium/src/libsodium/crypto_auth/try.c +0 -119
  69. data/vendor/libsodium/src/libsodium/crypto_box/try.c +0 -195
  70. data/vendor/libsodium/src/libsodium/crypto_hash/try.c +0 -76
  71. data/vendor/libsodium/src/libsodium/crypto_scalarmult/try.c +0 -125
  72. data/vendor/libsodium/src/libsodium/crypto_secretbox/try.c +0 -129
  73. data/vendor/libsodium/src/libsodium/crypto_sign/try.c +0 -87
  74. data/vendor/libsodium/src/libsodium/crypto_stream/aes256estream/hongjun/aes-table-be.h +0 -273
  75. data/vendor/libsodium/src/libsodium/crypto_stream/aes256estream/hongjun/aes-table-le.h +0 -274
  76. data/vendor/libsodium/src/libsodium/crypto_stream/aes256estream/hongjun/aes-table.h +0 -62
  77. data/vendor/libsodium/src/libsodium/crypto_stream/aes256estream/hongjun/aes256-ctr.c +0 -239
  78. data/vendor/libsodium/src/libsodium/crypto_stream/aes256estream/hongjun/aes256.h +0 -171
  79. data/vendor/libsodium/src/libsodium/crypto_stream/aes256estream/hongjun/api.h +0 -13
  80. data/vendor/libsodium/src/libsodium/crypto_stream/aes256estream/hongjun/ecrypt-sync.h +0 -27
  81. data/vendor/libsodium/src/libsodium/crypto_stream/aes256estream/stream_aes256estream_api.c +0 -16
  82. data/vendor/libsodium/src/libsodium/crypto_stream/try.c +0 -122
  83. data/vendor/libsodium/src/libsodium/crypto_verify/try.c +0 -76
  84. data/vendor/libsodium/src/libsodium/include/sodium/crypto_stream_aes256estream.h +0 -67
  85. data/vendor/libsodium/src/libsodium/sodium/compat.c +0 -361
  86. data/vendor/libsodium/test/default/stream5.c +0 -29
  87. data/vendor/libsodium/test/default/stream5.exp +0 -1
  88. data/vendor/libsodium/test/default/stream6.c +0 -54
  89. data/vendor/libsodium/test/default/stream6.exp +0 -17
@@ -49,6 +49,9 @@
49
49
  <ClCompile Include="..\..\..\..\test\default\core6.c">
50
50
  <Filter>src</Filter>
51
51
  </ClCompile>
52
+ <ClCompile Include="..\..\..\..\test\default\ed25519_convert.c">
53
+ <Filter>src</Filter>
54
+ </ClCompile>
52
55
  <ClCompile Include="..\..\..\..\test\default\generichash.c">
53
56
  <Filter>src</Filter>
54
57
  </ClCompile>
@@ -115,6 +118,12 @@
115
118
  <ClCompile Include="..\..\..\..\test\default\sodium_utils.c">
116
119
  <Filter>src</Filter>
117
120
  </ClCompile>
121
+ <ClCompile Include="..\..\..\..\test\default\sodium_utils2.c">
122
+ <Filter>src</Filter>
123
+ </ClCompile>
124
+ <ClCompile Include="..\..\..\..\test\default\sodium_utils3.c">
125
+ <Filter>src</Filter>
126
+ </ClCompile>
118
127
  <ClCompile Include="..\..\..\..\test\default\sodium_version.c">
119
128
  <Filter>src</Filter>
120
129
  </ClCompile>
@@ -159,4 +168,4 @@
159
168
  <UniqueIdentifier>{5b5af4b5-c6aa-4b30-bdef-074b1bdc43ea}</UniqueIdentifier>
160
169
  </Filter>
161
170
  </ItemGroup>
162
- </Project>
171
+ </Project>
@@ -130,7 +130,6 @@
130
130
  <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_sign_edwards25519sha512batch.h" />
131
131
  <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_stream.h" />
132
132
  <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_stream_aes128ctr.h" />
133
- <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_stream_aes256estream.h" />
134
133
  <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_stream_salsa20.h" />
135
134
  <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_stream_salsa2012.h" />
136
135
  <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_stream_salsa208.h" />
@@ -303,14 +302,6 @@
303
302
  <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\stream_aes128ctr.c" />
304
303
  <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\types.h" />
305
304
  <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\xor_afternm_aes128ctr.c" />
306
- <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\aes-table.h" />
307
- <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\aes-table-be.h" />
308
- <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\aes-table-le.h" />
309
- <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\aes256-ctr.c" />
310
- <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\aes256.h" />
311
- <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\stream_aes256estream_api.c" />
312
- <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\api.h" />
313
- <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\ecrypt-sync.h" />
314
305
  <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\salsa20\amd64_xmm6\api.h" />
315
306
  <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\salsa20\ref\api.h" />
316
307
  <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\salsa20\stream_salsa20_api.c" />
@@ -338,7 +329,6 @@
338
329
  <ClCompile Include="..\..\..\..\src\libsodium\randombytes\randombytes.c" />
339
330
  <ClCompile Include="..\..\..\..\src\libsodium\randombytes\salsa20\randombytes_salsa20_random.c" />
340
331
  <ClCompile Include="..\..\..\..\src\libsodium\randombytes\sysrandom\randombytes_sysrandom.c" />
341
- <ClCompile Include="..\..\..\..\src\libsodium\sodium\compat.c" />
342
332
  <ClCompile Include="..\..\..\..\src\libsodium\sodium\core.c" />
343
333
  <ClCompile Include="..\..\..\..\src\libsodium\sodium\runtime.c" />
344
334
  <ClCompile Include="..\..\..\..\src\libsodium\sodium\utils.c" />
@@ -362,4 +352,4 @@
362
352
  <Xml Include="..\..\..\..\packaging\nuget\package.xml" />
363
353
  </ItemGroup>
364
354
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
365
- </Project>
355
+ </Project>
@@ -94,9 +94,6 @@
94
94
  <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_stream_aes128ctr.h">
95
95
  <Filter>include\sodium</Filter>
96
96
  </ClInclude>
97
- <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_stream_aes256estream.h">
98
- <Filter>include\sodium</Filter>
99
- </ClInclude>
100
97
  <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_stream_salsa20.h">
101
98
  <Filter>include\sodium</Filter>
102
99
  </ClInclude>
@@ -154,9 +151,6 @@
154
151
  <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\utils.h">
155
152
  <Filter>include\sodium</Filter>
156
153
  </ClInclude>
157
- <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\aes256-ctr.c">
158
- <Filter>src\crypto_stream\aes256estream\hongjun</Filter>
159
- </ClCompile>
160
154
  <ClCompile Include="..\..\..\..\src\libsodium\crypto_box\curve25519xsalsa20poly1305\ref\after_curve25519xsalsa20poly1305.c">
161
155
  <Filter>src\crypto_box\curve25519xsalsa20poly1305\ref</Filter>
162
156
  </ClCompile>
@@ -427,9 +421,6 @@
427
421
  <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\stream_aes128ctr_api.c">
428
422
  <Filter>src\crypto_stream\aes128ctr</Filter>
429
423
  </ClCompile>
430
- <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\stream_aes256estream_api.c">
431
- <Filter>src\crypto_stream\aes256estream</Filter>
432
- </ClCompile>
433
424
  <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\salsa20\stream_salsa20_api.c">
434
425
  <Filter>src\crypto_stream\salsa20</Filter>
435
426
  </ClCompile>
@@ -493,9 +484,6 @@
493
484
  <ClCompile Include="..\..\..\..\src\libsodium\crypto_auth\hmacsha512256\cp\verify_hmacsha512256.c">
494
485
  <Filter>src\crypto_auth\hmacsha512256\cp</Filter>
495
486
  </ClCompile>
496
- <ClCompile Include="..\..\..\..\src\libsodium\sodium\compat.c">
497
- <Filter>src\sodium</Filter>
498
- </ClCompile>
499
487
  <ClCompile Include="..\..\..\..\src\libsodium\sodium\core.c">
500
488
  <Filter>src\sodium</Filter>
501
489
  </ClCompile>
@@ -532,18 +520,6 @@
532
520
  <ClCompile Include="..\..\..\..\src\libsodium\randombytes\sysrandom\randombytes_sysrandom.c">
533
521
  <Filter>src\randombytes\sysrandom</Filter>
534
522
  </ClCompile>
535
- <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\aes256.h">
536
- <Filter>src\crypto_stream\aes256estream\hongjun</Filter>
537
- </ClInclude>
538
- <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\aes-table.h">
539
- <Filter>src\crypto_stream\aes256estream\hongjun</Filter>
540
- </ClInclude>
541
- <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\aes-table-be.h">
542
- <Filter>src\crypto_stream\aes256estream\hongjun</Filter>
543
- </ClInclude>
544
- <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\aes-table-le.h">
545
- <Filter>src\crypto_stream\aes256estream\hongjun</Filter>
546
- </ClInclude>
547
523
  <ClCompile Include="..\..\..\..\src\libsodium\crypto_auth\hmacsha512\auth_hmacsha512_api.c">
548
524
  <Filter>src\crypto_auth\hmacsha512</Filter>
549
525
  </ClCompile>
@@ -565,9 +541,6 @@
565
541
  <ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\crypto_scrypt-common.c">
566
542
  <Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
567
543
  </ClCompile>
568
- <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\ecrypt-sync.h">
569
- <Filter>src\crypto_stream\aes256estream\hongjun</Filter>
570
- </ClInclude>
571
544
  <ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\fe.h">
572
545
  <Filter>src\crypto_sign\ed25519\ref10</Filter>
573
546
  </ClInclude>
@@ -676,9 +649,6 @@
676
649
  <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\api.h">
677
650
  <Filter>src\crypto_stream\aes128ctr\portable</Filter>
678
651
  </ClInclude>
679
- <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\api.h">
680
- <Filter>src\crypto_stream\aes256estream\hongjun</Filter>
681
- </ClInclude>
682
652
  <ClInclude Include="..\..\..\..\src\libsodium\crypto_verify\16\ref\api.h">
683
653
  <Filter>src\crypto_verify\16\ref</Filter>
684
654
  </ClInclude>
@@ -946,9 +916,6 @@
946
916
  <Filter Include="src\crypto_stream\aes128ctr">
947
917
  <UniqueIdentifier>{ca40b775-e025-4359-87ae-02c771c1a222}</UniqueIdentifier>
948
918
  </Filter>
949
- <Filter Include="src\crypto_stream\aes256estream">
950
- <UniqueIdentifier>{afb86556-101b-407c-93f6-db784a9e3f4f}</UniqueIdentifier>
951
- </Filter>
952
919
  <Filter Include="src\crypto_stream\salsa20">
953
920
  <UniqueIdentifier>{91c31952-2f36-418e-aa07-68ed57057d0f}</UniqueIdentifier>
954
921
  </Filter>
@@ -970,9 +937,6 @@
970
937
  <Filter Include="src\crypto_stream\salsa2012\ref">
971
938
  <UniqueIdentifier>{1c006197-b25b-48e8-833f-2dd59a571b9d}</UniqueIdentifier>
972
939
  </Filter>
973
- <Filter Include="src\crypto_stream\aes256estream\hongjun">
974
- <UniqueIdentifier>{3acc42ca-4646-462d-bbac-2a07e9eb30be}</UniqueIdentifier>
975
- </Filter>
976
940
  <Filter Include="src\crypto_stream\aes128ctr\portable">
977
941
  <UniqueIdentifier>{46eb8265-dc41-4289-aa7d-c1918e05cf75}</UniqueIdentifier>
978
942
  </Filter>
@@ -1111,4 +1075,4 @@
1111
1075
  <Filter>src\crypto_aead\chacha20poly1305\sodium</Filter>
1112
1076
  </ClCompile>
1113
1077
  </ItemGroup>
1114
- </Project>
1078
+ </Project>
@@ -112,6 +112,9 @@
112
112
  <ClCompile Include="..\..\..\..\test\default\core6.c">
113
113
  <ExcludedFromBuild>true</ExcludedFromBuild>
114
114
  </ClCompile>
115
+ <ClCompile Include="..\..\..\..\test\default\ed25519_convert.c">
116
+ <ExcludedFromBuild>true</ExcludedFromBuild>
117
+ </ClCompile>
115
118
  <ClCompile Include="..\..\..\..\test\default\generichash.c">
116
119
  <ExcludedFromBuild>true</ExcludedFromBuild>
117
120
  </ClCompile>
@@ -184,6 +187,12 @@
184
187
  <ClCompile Include="..\..\..\..\test\default\sodium_utils.c">
185
188
  <ExcludedFromBuild>true</ExcludedFromBuild>
186
189
  </ClCompile>
190
+ <ClCompile Include="..\..\..\..\test\default\sodium_utils2.c">
191
+ <ExcludedFromBuild>true</ExcludedFromBuild>
192
+ </ClCompile>
193
+ <ClCompile Include="..\..\..\..\test\default\sodium_utils3.c">
194
+ <ExcludedFromBuild>true</ExcludedFromBuild>
195
+ </ClCompile>
187
196
  <ClCompile Include="..\..\..\..\test\default\sodium_version.c">
188
197
  <ExcludedFromBuild>true</ExcludedFromBuild>
189
198
  </ClCompile>
@@ -211,4 +220,4 @@
211
220
  <ClInclude Include="..\..\..\..\test\quirks\windows\windows-quirks.h" />
212
221
  </ItemGroup>
213
222
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
214
- </Project>
223
+ </Project>
@@ -49,6 +49,9 @@
49
49
  <ClCompile Include="..\..\..\..\test\default\core6.c">
50
50
  <Filter>src</Filter>
51
51
  </ClCompile>
52
+ <ClCompile Include="..\..\..\..\test\default\ed25519_convert.c">
53
+ <Filter>src</Filter>
54
+ </ClCompile>
52
55
  <ClCompile Include="..\..\..\..\test\default\generichash.c">
53
56
  <Filter>src</Filter>
54
57
  </ClCompile>
@@ -115,6 +118,12 @@
115
118
  <ClCompile Include="..\..\..\..\test\default\sodium_utils.c">
116
119
  <Filter>src</Filter>
117
120
  </ClCompile>
121
+ <ClCompile Include="..\..\..\..\test\default\sodium_utils2.c">
122
+ <Filter>src</Filter>
123
+ </ClCompile>
124
+ <ClCompile Include="..\..\..\..\test\default\sodium_utils3.c">
125
+ <Filter>src</Filter>
126
+ </ClCompile>
118
127
  <ClCompile Include="..\..\..\..\test\default\sodium_version.c">
119
128
  <Filter>src</Filter>
120
129
  </ClCompile>
@@ -159,4 +168,4 @@
159
168
  <UniqueIdentifier>{5b5af4b5-c6aa-4b30-bdef-074b1bdc43ea}</UniqueIdentifier>
160
169
  </Filter>
161
170
  </ItemGroup>
162
- </Project>
171
+ </Project>
@@ -130,7 +130,6 @@
130
130
  <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_sign_edwards25519sha512batch.h" />
131
131
  <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_stream.h" />
132
132
  <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_stream_aes128ctr.h" />
133
- <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_stream_aes256estream.h" />
134
133
  <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_stream_salsa20.h" />
135
134
  <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_stream_salsa2012.h" />
136
135
  <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_stream_salsa208.h" />
@@ -303,14 +302,6 @@
303
302
  <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\stream_aes128ctr.c" />
304
303
  <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\types.h" />
305
304
  <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\xor_afternm_aes128ctr.c" />
306
- <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\aes-table.h" />
307
- <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\aes-table-be.h" />
308
- <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\aes-table-le.h" />
309
- <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\aes256-ctr.c" />
310
- <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\aes256.h" />
311
- <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\stream_aes256estream_api.c" />
312
- <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\api.h" />
313
- <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\ecrypt-sync.h" />
314
305
  <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\salsa20\amd64_xmm6\api.h" />
315
306
  <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\salsa20\ref\api.h" />
316
307
  <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\salsa20\stream_salsa20_api.c" />
@@ -338,7 +329,6 @@
338
329
  <ClCompile Include="..\..\..\..\src\libsodium\randombytes\randombytes.c" />
339
330
  <ClCompile Include="..\..\..\..\src\libsodium\randombytes\salsa20\randombytes_salsa20_random.c" />
340
331
  <ClCompile Include="..\..\..\..\src\libsodium\randombytes\sysrandom\randombytes_sysrandom.c" />
341
- <ClCompile Include="..\..\..\..\src\libsodium\sodium\compat.c" />
342
332
  <ClCompile Include="..\..\..\..\src\libsodium\sodium\core.c" />
343
333
  <ClCompile Include="..\..\..\..\src\libsodium\sodium\runtime.c" />
344
334
  <ClCompile Include="..\..\..\..\src\libsodium\sodium\utils.c" />
@@ -362,4 +352,4 @@
362
352
  <Xml Include="..\..\..\..\packaging\nuget\package.xml" />
363
353
  </ItemGroup>
364
354
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
365
- </Project>
355
+ </Project>
@@ -94,9 +94,6 @@
94
94
  <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_stream_aes128ctr.h">
95
95
  <Filter>include\sodium</Filter>
96
96
  </ClInclude>
97
- <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_stream_aes256estream.h">
98
- <Filter>include\sodium</Filter>
99
- </ClInclude>
100
97
  <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_stream_salsa20.h">
101
98
  <Filter>include\sodium</Filter>
102
99
  </ClInclude>
@@ -154,9 +151,6 @@
154
151
  <ClInclude Include="..\..\..\..\src\libsodium\include\sodium\utils.h">
155
152
  <Filter>include\sodium</Filter>
156
153
  </ClInclude>
157
- <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\aes256-ctr.c">
158
- <Filter>src\crypto_stream\aes256estream\hongjun</Filter>
159
- </ClCompile>
160
154
  <ClCompile Include="..\..\..\..\src\libsodium\crypto_box\curve25519xsalsa20poly1305\ref\after_curve25519xsalsa20poly1305.c">
161
155
  <Filter>src\crypto_box\curve25519xsalsa20poly1305\ref</Filter>
162
156
  </ClCompile>
@@ -427,9 +421,6 @@
427
421
  <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\stream_aes128ctr_api.c">
428
422
  <Filter>src\crypto_stream\aes128ctr</Filter>
429
423
  </ClCompile>
430
- <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\stream_aes256estream_api.c">
431
- <Filter>src\crypto_stream\aes256estream</Filter>
432
- </ClCompile>
433
424
  <ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\salsa20\stream_salsa20_api.c">
434
425
  <Filter>src\crypto_stream\salsa20</Filter>
435
426
  </ClCompile>
@@ -493,9 +484,6 @@
493
484
  <ClCompile Include="..\..\..\..\src\libsodium\crypto_auth\hmacsha512256\cp\verify_hmacsha512256.c">
494
485
  <Filter>src\crypto_auth\hmacsha512256\cp</Filter>
495
486
  </ClCompile>
496
- <ClCompile Include="..\..\..\..\src\libsodium\sodium\compat.c">
497
- <Filter>src\sodium</Filter>
498
- </ClCompile>
499
487
  <ClCompile Include="..\..\..\..\src\libsodium\sodium\core.c">
500
488
  <Filter>src\sodium</Filter>
501
489
  </ClCompile>
@@ -532,18 +520,6 @@
532
520
  <ClCompile Include="..\..\..\..\src\libsodium\randombytes\sysrandom\randombytes_sysrandom.c">
533
521
  <Filter>src\randombytes\sysrandom</Filter>
534
522
  </ClCompile>
535
- <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\aes256.h">
536
- <Filter>src\crypto_stream\aes256estream\hongjun</Filter>
537
- </ClInclude>
538
- <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\aes-table.h">
539
- <Filter>src\crypto_stream\aes256estream\hongjun</Filter>
540
- </ClInclude>
541
- <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\aes-table-be.h">
542
- <Filter>src\crypto_stream\aes256estream\hongjun</Filter>
543
- </ClInclude>
544
- <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\aes-table-le.h">
545
- <Filter>src\crypto_stream\aes256estream\hongjun</Filter>
546
- </ClInclude>
547
523
  <ClCompile Include="..\..\..\..\src\libsodium\crypto_auth\hmacsha512\auth_hmacsha512_api.c">
548
524
  <Filter>src\crypto_auth\hmacsha512</Filter>
549
525
  </ClCompile>
@@ -565,9 +541,6 @@
565
541
  <ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\crypto_scrypt-common.c">
566
542
  <Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
567
543
  </ClCompile>
568
- <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\ecrypt-sync.h">
569
- <Filter>src\crypto_stream\aes256estream\hongjun</Filter>
570
- </ClInclude>
571
544
  <ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\fe.h">
572
545
  <Filter>src\crypto_sign\ed25519\ref10</Filter>
573
546
  </ClInclude>
@@ -676,9 +649,6 @@
676
649
  <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\api.h">
677
650
  <Filter>src\crypto_stream\aes128ctr\portable</Filter>
678
651
  </ClInclude>
679
- <ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\api.h">
680
- <Filter>src\crypto_stream\aes256estream\hongjun</Filter>
681
- </ClInclude>
682
652
  <ClInclude Include="..\..\..\..\src\libsodium\crypto_verify\16\ref\api.h">
683
653
  <Filter>src\crypto_verify\16\ref</Filter>
684
654
  </ClInclude>
@@ -946,9 +916,6 @@
946
916
  <Filter Include="src\crypto_stream\aes128ctr">
947
917
  <UniqueIdentifier>{ca40b775-e025-4359-87ae-02c771c1a222}</UniqueIdentifier>
948
918
  </Filter>
949
- <Filter Include="src\crypto_stream\aes256estream">
950
- <UniqueIdentifier>{afb86556-101b-407c-93f6-db784a9e3f4f}</UniqueIdentifier>
951
- </Filter>
952
919
  <Filter Include="src\crypto_stream\salsa20">
953
920
  <UniqueIdentifier>{91c31952-2f36-418e-aa07-68ed57057d0f}</UniqueIdentifier>
954
921
  </Filter>
@@ -970,9 +937,6 @@
970
937
  <Filter Include="src\crypto_stream\salsa2012\ref">
971
938
  <UniqueIdentifier>{1c006197-b25b-48e8-833f-2dd59a571b9d}</UniqueIdentifier>
972
939
  </Filter>
973
- <Filter Include="src\crypto_stream\aes256estream\hongjun">
974
- <UniqueIdentifier>{3acc42ca-4646-462d-bbac-2a07e9eb30be}</UniqueIdentifier>
975
- </Filter>
976
940
  <Filter Include="src\crypto_stream\aes128ctr\portable">
977
941
  <UniqueIdentifier>{46eb8265-dc41-4289-aa7d-c1918e05cf75}</UniqueIdentifier>
978
942
  </Filter>
@@ -1111,4 +1075,4 @@
1111
1075
  <Filter>src\crypto_aead\chacha20poly1305\sodium</Filter>
1112
1076
  </ClCompile>
1113
1077
  </ItemGroup>
1114
- </Project>
1078
+ </Project>
@@ -112,6 +112,9 @@
112
112
  <ClCompile Include="..\..\..\..\test\default\core6.c">
113
113
  <ExcludedFromBuild>true</ExcludedFromBuild>
114
114
  </ClCompile>
115
+ <ClCompile Include="..\..\..\..\test\default\ed25519_convert.c">
116
+ <ExcludedFromBuild>true</ExcludedFromBuild>
117
+ </ClCompile>
115
118
  <ClCompile Include="..\..\..\..\test\default\generichash.c">
116
119
  <ExcludedFromBuild>true</ExcludedFromBuild>
117
120
  </ClCompile>
@@ -184,6 +187,12 @@
184
187
  <ClCompile Include="..\..\..\..\test\default\sodium_utils.c">
185
188
  <ExcludedFromBuild>true</ExcludedFromBuild>
186
189
  </ClCompile>
190
+ <ClCompile Include="..\..\..\..\test\default\sodium_utils2.c">
191
+ <ExcludedFromBuild>true</ExcludedFromBuild>
192
+ </ClCompile>
193
+ <ClCompile Include="..\..\..\..\test\default\sodium_utils3.c">
194
+ <ExcludedFromBuild>true</ExcludedFromBuild>
195
+ </ClCompile>
187
196
  <ClCompile Include="..\..\..\..\test\default\sodium_version.c">
188
197
  <ExcludedFromBuild>true</ExcludedFromBuild>
189
198
  </ClCompile>
@@ -211,4 +220,4 @@
211
220
  <ClInclude Include="..\..\..\..\test\quirks\windows\windows-quirks.h" />
212
221
  </ItemGroup>
213
222
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
214
- </Project>
223
+ </Project>
@@ -49,6 +49,9 @@
49
49
  <ClCompile Include="..\..\..\..\test\default\core6.c">
50
50
  <Filter>src</Filter>
51
51
  </ClCompile>
52
+ <ClCompile Include="..\..\..\..\test\default\ed25519_convert.c">
53
+ <Filter>src</Filter>
54
+ </ClCompile>
52
55
  <ClCompile Include="..\..\..\..\test\default\generichash.c">
53
56
  <Filter>src</Filter>
54
57
  </ClCompile>
@@ -115,6 +118,12 @@
115
118
  <ClCompile Include="..\..\..\..\test\default\sodium_utils.c">
116
119
  <Filter>src</Filter>
117
120
  </ClCompile>
121
+ <ClCompile Include="..\..\..\..\test\default\sodium_utils2.c">
122
+ <Filter>src</Filter>
123
+ </ClCompile>
124
+ <ClCompile Include="..\..\..\..\test\default\sodium_utils3.c">
125
+ <Filter>src</Filter>
126
+ </ClCompile>
118
127
  <ClCompile Include="..\..\..\..\test\default\sodium_version.c">
119
128
  <Filter>src</Filter>
120
129
  </ClCompile>
@@ -159,4 +168,4 @@
159
168
  <UniqueIdentifier>{5b5af4b5-c6aa-4b30-bdef-074b1bdc43ea}</UniqueIdentifier>
160
169
  </Filter>
161
170
  </ItemGroup>
162
- </Project>
171
+ </Project>
@@ -1,6 +1,6 @@
1
1
  #! /bin/sh
2
2
  # Guess values for system-dependent variables and create Makefiles.
3
- # Generated by GNU Autoconf 2.69 for libsodium 0.6.1.
3
+ # Generated by GNU Autoconf 2.69 for libsodium 0.7.0.
4
4
  #
5
5
  # Report bugs to <https://github.com/jedisct1/libsodium/issues>.
6
6
  #
@@ -590,8 +590,8 @@ MAKEFLAGS=
590
590
  # Identity of this package.
591
591
  PACKAGE_NAME='libsodium'
592
592
  PACKAGE_TARNAME='libsodium'
593
- PACKAGE_VERSION='0.6.1'
594
- PACKAGE_STRING='libsodium 0.6.1'
593
+ PACKAGE_VERSION='0.7.0'
594
+ PACKAGE_STRING='libsodium 0.7.0'
595
595
  PACKAGE_BUGREPORT='https://github.com/jedisct1/libsodium/issues'
596
596
  PACKAGE_URL='https://github.com/jedisct1/libsodium'
597
597
 
@@ -1353,7 +1353,7 @@ if test "$ac_init_help" = "long"; then
1353
1353
  # Omit some internal or obsolete options to make the list less imposing.
1354
1354
  # This message is too long to be a string in the A/UX 3.1 sh.
1355
1355
  cat <<_ACEOF
1356
- \`configure' configures libsodium 0.6.1 to adapt to many kinds of systems.
1356
+ \`configure' configures libsodium 0.7.0 to adapt to many kinds of systems.
1357
1357
 
1358
1358
  Usage: $0 [OPTION]... [VAR=VALUE]...
1359
1359
 
@@ -1423,7 +1423,7 @@ fi
1423
1423
 
1424
1424
  if test -n "$ac_init_help"; then
1425
1425
  case $ac_init_help in
1426
- short | recursive ) echo "Configuration of libsodium 0.6.1:";;
1426
+ short | recursive ) echo "Configuration of libsodium 0.7.0:";;
1427
1427
  esac
1428
1428
  cat <<\_ACEOF
1429
1429
 
@@ -1550,7 +1550,7 @@ fi
1550
1550
  test -n "$ac_init_help" && exit $ac_status
1551
1551
  if $ac_init_version; then
1552
1552
  cat <<\_ACEOF
1553
- libsodium configure 0.6.1
1553
+ libsodium configure 0.7.0
1554
1554
  generated by GNU Autoconf 2.69
1555
1555
 
1556
1556
  Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1919,7 +1919,7 @@ cat >config.log <<_ACEOF
1919
1919
  This file contains any messages produced by compilers while
1920
1920
  running configure, to aid debugging if configure makes a mistake.
1921
1921
 
1922
- It was created by libsodium $as_me 0.6.1, which was
1922
+ It was created by libsodium $as_me 0.7.0, which was
1923
1923
  generated by GNU Autoconf 2.69. Invocation command line was
1924
1924
 
1925
1925
  $ $0 $@
@@ -2855,7 +2855,7 @@ fi
2855
2855
 
2856
2856
  # Define the identity of the package.
2857
2857
  PACKAGE='libsodium'
2858
- VERSION='0.6.1'
2858
+ VERSION='0.7.0'
2859
2859
 
2860
2860
 
2861
2861
  cat >>confdefs.h <<_ACEOF
@@ -3149,10 +3149,10 @@ fi
3149
3149
  ISODATE=`date +%Y-%m-%d`
3150
3150
 
3151
3151
 
3152
- SODIUM_LIBRARY_VERSION_MAJOR=6
3153
- SODIUM_LIBRARY_VERSION_MINOR=1
3154
- DLL_VERSION=5
3155
- SODIUM_LIBRARY_VERSION=12:0:2
3152
+ SODIUM_LIBRARY_VERSION_MAJOR=7
3153
+ SODIUM_LIBRARY_VERSION_MINOR=0
3154
+ DLL_VERSION=6
3155
+ SODIUM_LIBRARY_VERSION=13:0:0
3156
3156
  # | | |
3157
3157
  # +------+ | +---+
3158
3158
  # | | |
@@ -3220,13 +3220,6 @@ $as_echo "$as_me: WARNING: compiling to javascript - asm implementations disable
3220
3220
 
3221
3221
  fi
3222
3222
 
3223
- case $host in #(
3224
- x86_64-*-mingw* | x86_64-*-cygwin*) :
3225
- enable_asm="no" ;; #(
3226
- *) :
3227
- ;;
3228
- esac
3229
-
3230
3223
  # Check whether --enable-pie was given.
3231
3224
  if test "${enable_pie+set}" = set; then :
3232
3225
  enableval=$enable_pie; enable_pie=$enableval
@@ -3236,7 +3229,7 @@ fi
3236
3229
 
3237
3230
 
3238
3231
  case $host_os in #(
3239
- mingw*) :
3232
+ mingw*|cygwin*|msys) :
3240
3233
  enable_pie="no" ;; #(
3241
3234
  *) :
3242
3235
  ;;
@@ -5160,7 +5153,12 @@ else
5160
5153
  fi
5161
5154
 
5162
5155
 
5163
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fPIC" >&5
5156
+ case $host_os in #(
5157
+ cygwin*|mingw*|msys|pw32*|cegcc*) :
5158
+ ;; #(
5159
+ *) :
5160
+
5161
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fPIC" >&5
5164
5162
  $as_echo_n "checking whether C compiler accepts -fPIC... " >&6; }
5165
5163
  if ${ax_cv_check_cflags___fPIC+:} false; then :
5166
5164
  $as_echo_n "(cached) " >&6
@@ -5191,7 +5189,7 @@ fi
5191
5189
  $as_echo "$ax_cv_check_cflags___fPIC" >&6; }
5192
5190
  if test x"$ax_cv_check_cflags___fPIC" = xyes; then :
5193
5191
 
5194
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -fPIC" >&5
5192
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -fPIC" >&5
5195
5193
  $as_echo_n "checking whether the linker accepts -fPIC... " >&6; }
5196
5194
  if ${ax_cv_check_ldflags___fPIC+:} false; then :
5197
5195
  $as_echo_n "(cached) " >&6
@@ -5233,6 +5231,8 @@ else
5233
5231
  :
5234
5232
  fi
5235
5233
 
5234
+ ;;
5235
+ esac
5236
5236
 
5237
5237
  if test "$enable_pie" != "no"; then :
5238
5238
 
@@ -5470,7 +5470,7 @@ fi
5470
5470
 
5471
5471
 
5472
5472
  case $host_os in #(
5473
- cygwin* | mingw* | pw32* | cegcc*) :
5473
+ cygwin*|mingw*|msys|pw32*|cegcc*) :
5474
5474
 
5475
5475
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--dynamicbase" >&5
5476
5476
  $as_echo_n "checking whether the linker accepts -Wl,--dynamicbase... " >&6; }
@@ -5553,7 +5553,7 @@ if test "x$enable_ssp" != "xno"; then :
5553
5553
 
5554
5554
 
5555
5555
  case $host_os in #(
5556
- cygwin* | mingw* | pw32* | cegcc*) :
5556
+ cygwin*|mingw*|msys|pw32*|cegcc*) :
5557
5557
  ;; #(
5558
5558
  dragonfly*) :
5559
5559
 
@@ -14415,8 +14415,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14415
14415
  HAVE_AMD64_ASM_V=0
14416
14416
  if test "$enable_asm" != "no"; then :
14417
14417
 
14418
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can assemble basic amd64 code" >&5
14419
- $as_echo_n "checking whether we can assemble basic amd64 code... " >&6; }
14418
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we should use x86_64 asm code" >&5
14419
+ $as_echo_n "checking whether we should use x86_64 asm code... " >&6; }
14420
14420
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14421
14421
  /* end confdefs.h. */
14422
14422
 
@@ -14426,9 +14426,12 @@ main ()
14426
14426
  {
14427
14427
 
14428
14428
  #if defined(__amd64) || defined(__amd64__) || defined(__x86_64__)
14429
+ # if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__MINGW64__) || defined(_WIN32) || defined(_WIN64)
14430
+ # error Windows x86_64 calling conventions are not supported yet
14431
+ # endif
14429
14432
  /* neat */
14430
14433
  #else
14431
- # error !amd64
14434
+ # error !x86_64
14432
14435
  #endif
14433
14436
  __asm__("pxor %xmm12,%xmm6");
14434
14437
 
@@ -14601,109 +14604,6 @@ $as_echo "#define CPU_ALIGNED_ACCESS_REQUIRED 1" >>confdefs.h
14601
14604
  esac
14602
14605
 
14603
14606
 
14604
- ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
14605
- if test "x$ac_cv_func_clock_gettime" = xyes; then :
14606
-
14607
- else
14608
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
14609
- $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
14610
- if ${ac_cv_lib_rt_clock_gettime+:} false; then :
14611
- $as_echo_n "(cached) " >&6
14612
- else
14613
- ac_check_lib_save_LIBS=$LIBS
14614
- LIBS="-lrt $LIBS"
14615
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14616
- /* end confdefs.h. */
14617
-
14618
- /* Override any GCC internal prototype to avoid an error.
14619
- Use char because int might match the return type of a GCC
14620
- builtin and then its argument prototype would still apply. */
14621
- #ifdef __cplusplus
14622
- extern "C"
14623
- #endif
14624
- char clock_gettime ();
14625
- int
14626
- main ()
14627
- {
14628
- return clock_gettime ();
14629
- ;
14630
- return 0;
14631
- }
14632
- _ACEOF
14633
- if ac_fn_c_try_link "$LINENO"; then :
14634
- ac_cv_lib_rt_clock_gettime=yes
14635
- else
14636
- ac_cv_lib_rt_clock_gettime=no
14637
- fi
14638
- rm -f core conftest.err conftest.$ac_objext \
14639
- conftest$ac_exeext conftest.$ac_ext
14640
- LIBS=$ac_check_lib_save_LIBS
14641
- fi
14642
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
14643
- $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
14644
- if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
14645
- cat >>confdefs.h <<_ACEOF
14646
- #define HAVE_LIBRT 1
14647
- _ACEOF
14648
-
14649
- LIBS="-lrt $LIBS"
14650
-
14651
- fi
14652
-
14653
- fi
14654
-
14655
- ac_fn_c_check_func "$LINENO" "fegetenv" "ac_cv_func_fegetenv"
14656
- if test "x$ac_cv_func_fegetenv" = xyes; then :
14657
-
14658
- else
14659
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fegetenv in -lm" >&5
14660
- $as_echo_n "checking for fegetenv in -lm... " >&6; }
14661
- if ${ac_cv_lib_m_fegetenv+:} false; then :
14662
- $as_echo_n "(cached) " >&6
14663
- else
14664
- ac_check_lib_save_LIBS=$LIBS
14665
- LIBS="-lm $LIBS"
14666
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14667
- /* end confdefs.h. */
14668
-
14669
- /* Override any GCC internal prototype to avoid an error.
14670
- Use char because int might match the return type of a GCC
14671
- builtin and then its argument prototype would still apply. */
14672
- #ifdef __cplusplus
14673
- extern "C"
14674
- #endif
14675
- char fegetenv ();
14676
- int
14677
- main ()
14678
- {
14679
- return fegetenv ();
14680
- ;
14681
- return 0;
14682
- }
14683
- _ACEOF
14684
- if ac_fn_c_try_link "$LINENO"; then :
14685
- ac_cv_lib_m_fegetenv=yes
14686
- else
14687
- ac_cv_lib_m_fegetenv=no
14688
- fi
14689
- rm -f core conftest.err conftest.$ac_objext \
14690
- conftest$ac_exeext conftest.$ac_ext
14691
- LIBS=$ac_check_lib_save_LIBS
14692
- fi
14693
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fegetenv" >&5
14694
- $as_echo "$ac_cv_lib_m_fegetenv" >&6; }
14695
- if test "x$ac_cv_lib_m_fegetenv" = xyes; then :
14696
- cat >>confdefs.h <<_ACEOF
14697
- #define HAVE_LIBM 1
14698
- _ACEOF
14699
-
14700
- LIBS="-lm $LIBS"
14701
-
14702
- fi
14703
-
14704
- fi
14705
-
14706
-
14707
14607
  if test "x$EMSCRIPTEN" = "x"; then :
14708
14608
 
14709
14609
  for ac_func in arc4random arc4random_buf
@@ -14720,19 +14620,7 @@ done
14720
14620
 
14721
14621
 
14722
14622
  fi
14723
- for ac_func in mlock VirtualLock
14724
- do :
14725
- as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14726
- ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14727
- if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14728
- cat >>confdefs.h <<_ACEOF
14729
- #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14730
- _ACEOF
14731
-
14732
- fi
14733
- done
14734
-
14735
- for ac_func in SecureZeroMemory explicit_bzero posix_memalign
14623
+ for ac_func in mlock mprotect explicit_bzero posix_memalign
14736
14624
  do :
14737
14625
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14738
14626
  ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
@@ -15692,7 +15580,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15692
15580
  # report actual input values of CONFIG_FILES etc. instead of their
15693
15581
  # values after options handling.
15694
15582
  ac_log="
15695
- This file was extended by libsodium $as_me 0.6.1, which was
15583
+ This file was extended by libsodium $as_me 0.7.0, which was
15696
15584
  generated by GNU Autoconf 2.69. Invocation command line was
15697
15585
 
15698
15586
  CONFIG_FILES = $CONFIG_FILES
@@ -15750,7 +15638,7 @@ _ACEOF
15750
15638
  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15751
15639
  ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15752
15640
  ac_cs_version="\\
15753
- libsodium config.status 0.6.1
15641
+ libsodium config.status 0.7.0
15754
15642
  configured by $0, generated by GNU Autoconf 2.69,
15755
15643
  with options \\"\$ac_cs_config\\"
15756
15644