rbnacl-libsodium 1.0.9 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +5 -0
- data/lib/rbnacl/libsodium.rb +5 -5
- data/lib/rbnacl/libsodium/version.rb +1 -1
- data/rbnacl-libsodium.gemspec +5 -4
- data/vendor/libsodium/ChangeLog +4 -0
- data/vendor/libsodium/appveyor.yml +1 -1
- data/vendor/libsodium/autom4te.cache/output.1 +38 -10
- data/vendor/libsodium/autom4te.cache/output.6 +38 -10
- data/vendor/libsodium/autom4te.cache/requests +1035 -1035
- data/vendor/libsodium/autom4te.cache/traces.1 +212 -208
- data/vendor/libsodium/autom4te.cache/traces.6 +101 -100
- data/vendor/libsodium/builds/msvc/version.h +1 -1
- data/vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.vcxproj +0 -22
- data/vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.vcxproj.filters +0 -66
- data/vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.vcxproj +0 -22
- data/vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.vcxproj.filters +0 -66
- data/vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.vcxproj +0 -22
- data/vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.vcxproj.filters +0 -66
- data/vendor/libsodium/builds/msvc/vs2015/libsodium/libsodium.vcxproj +0 -22
- data/vendor/libsodium/builds/msvc/vs2015/libsodium/libsodium.vcxproj.filters +0 -66
- data/vendor/libsodium/configure +38 -10
- data/vendor/libsodium/configure.ac +12 -2
- data/vendor/libsodium/dist-build/emscripten.sh +1 -1
- data/vendor/libsodium/msvc-scripts/process.bat +1 -1
- data/vendor/libsodium/src/libsodium/Makefile.am +4 -4
- data/vendor/libsodium/src/libsodium/Makefile.in +53 -49
- data/vendor/libsodium/src/libsodium/crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.c +1 -1
- data/vendor/libsodium/src/libsodium/crypto_core/curve25519/ref10/curve25519_ref10.c +1 -1
- data/vendor/libsodium/src/libsodium/crypto_core/hchacha20/core_hchacha20.c +1 -1
- data/vendor/libsodium/src/libsodium/crypto_core/hsalsa20/ref2/core_hsalsa20.c +1 -1
- data/vendor/libsodium/src/libsodium/crypto_core/salsa20/ref/core_salsa20.c +1 -1
- data/vendor/libsodium/src/libsodium/crypto_core/salsa2012/ref/core_salsa2012.c +1 -1
- data/vendor/libsodium/src/libsodium/crypto_core/salsa208/ref/core_salsa208.c +1 -1
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-compress-ref.c +1 -1
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-ref.c +3 -1
- data/vendor/libsodium/src/libsodium/crypto_hash/sha256/cp/hash_sha256.c +1 -1
- data/vendor/libsodium/src/libsodium/crypto_hash/sha512/cp/hash_sha512.c +1 -1
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna32.h +1 -1
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna64.h +1 -1
- data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-core.c +1 -1
- data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/blake2b-long.c +1 -1
- data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/nosse/pwhash_scryptsalsa208sha256_nosse.c +1 -1
- data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/pbkdf2-sha256.c +1 -1
- data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/sse/pwhash_scryptsalsa208sha256_sse.c +1 -1
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/x25519_ref10.c +1 -1
- data/vendor/libsodium/src/libsodium/crypto_shorthash/siphash24/ref/shorthash_siphash24.c +1 -1
- data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/keypair.c +1 -1
- data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/obsolete.c +1 -1
- data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/open.c +1 -1
- data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/sign.c +1 -1
- data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/common.h +1 -1
- data/vendor/libsodium/src/libsodium/crypto_stream/chacha20/ref/stream_chacha20_ref.c +1 -1
- data/vendor/libsodium/src/libsodium/{sodium → include/sodium/private}/common.h +0 -0
- data/vendor/libsodium/src/libsodium/{crypto_core/curve25519/ref10 → include/sodium/private}/curve25519_ref10.h +0 -0
- data/vendor/libsodium/test/default/aead_aes256gcm.c +1 -1
- data/vendor/libsodium/test/default/aead_chacha20poly1305.c +7 -5
- metadata +8 -12
@@ -90,20 +90,6 @@
|
|
90
90
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\chacha20\stream_chacha20.c" />
|
91
91
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\salsa20\ref\stream_salsa20_ref.c" />
|
92
92
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\salsa20\ref\xor_salsa20_ref.c" />
|
93
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_core\curve25519\ref10\base.h" />
|
94
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_core\curve25519\ref10\base2.h" />
|
95
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_core\curve25519\ref10\curve25519_ref10.h" />
|
96
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\ref\blake2b-load-sse2.h" />
|
97
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\ref\blake2b-load-sse41.h" />
|
98
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\ref\blake2b-load-avx2.h" />
|
99
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\poly1305_donna.h" />
|
100
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\poly1305_donna32.h" />
|
101
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\poly1305_donna64.h" />
|
102
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\onetimeauth_poly1305.h" />
|
103
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\donna_c64\curve25519_donna_c64.h" />
|
104
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\ref10\x25519_ref10.h" />
|
105
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519.h" />
|
106
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\chacha20\ref\stream_chacha20_ref.h" />
|
107
93
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium.h" />
|
108
94
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\core.h" />
|
109
95
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_aead_aes256gcm.h" />
|
@@ -192,8 +178,6 @@
|
|
192
178
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_core\salsa208\core_salsa208_api.c" />
|
193
179
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_generichash\crypto_generichash.c" />
|
194
180
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\generichash_blake2_api.c" />
|
195
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\ref\blake2-impl.h" />
|
196
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\ref\blake2.h" />
|
197
181
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\ref\blake2b-ref.c" />
|
198
182
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\ref\generichash_blake2b.c" />
|
199
183
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_hash\crypto_hash.c" />
|
@@ -211,10 +195,8 @@
|
|
211
195
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\argon2\blake2b-long.c" />
|
212
196
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\argon2\pwhash_argon2i.c" />
|
213
197
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\crypto_scrypt-common.c" />
|
214
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\crypto_scrypt.h" />
|
215
198
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\scrypt_platform.c" />
|
216
199
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\pbkdf2-sha256.c" />
|
217
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\pbkdf2-sha256.h" />
|
218
200
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\crypto_scalarmult.c" />
|
219
201
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_secretbox\crypto_secretbox.c" />
|
220
202
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_secretbox\crypto_secretbox_easy.c" />
|
@@ -229,13 +211,9 @@
|
|
229
211
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\afternm_aes128ctr.c" />
|
230
212
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\stream_aes128ctr_api.c" />
|
231
213
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\beforenm_aes128ctr.c" />
|
232
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\common.h" />
|
233
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\consts.h" />
|
234
214
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\consts_aes128ctr.c" />
|
235
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\int128.h" />
|
236
215
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\int128_aes128ctr.c" />
|
237
216
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\stream_aes128ctr.c" />
|
238
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\types.h" />
|
239
217
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\xor_afternm_aes128ctr.c" />
|
240
218
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\salsa20\stream_salsa20_api.c" />
|
241
219
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\salsa2012\stream_salsa2012_api.c" />
|
@@ -229,39 +229,15 @@
|
|
229
229
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_auth\hmacsha512\auth_hmacsha512_api.c">
|
230
230
|
<Filter>src\crypto_auth\hmacsha512</Filter>
|
231
231
|
</ClCompile>
|
232
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\ref\blake2.h">
|
233
|
-
<Filter>src\crypto_generichash\blake2\ref</Filter>
|
234
|
-
</ClInclude>
|
235
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\ref\blake2-impl.h">
|
236
|
-
<Filter>src\crypto_generichash\blake2\ref</Filter>
|
237
|
-
</ClInclude>
|
238
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\common.h">
|
239
|
-
<Filter>src\crypto_stream\aes128ctr\portable</Filter>
|
240
|
-
</ClInclude>
|
241
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\consts.h">
|
242
|
-
<Filter>src\crypto_stream\aes128ctr\portable</Filter>
|
243
|
-
</ClInclude>
|
244
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\crypto_scrypt.h">
|
245
|
-
<Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
|
246
|
-
</ClInclude>
|
247
232
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\crypto_scrypt-common.c">
|
248
233
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
|
249
234
|
</ClCompile>
|
250
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\int128.h">
|
251
|
-
<Filter>src\crypto_stream\aes128ctr\portable</Filter>
|
252
|
-
</ClInclude>
|
253
235
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\pbkdf2-sha256.c">
|
254
236
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
|
255
237
|
</ClCompile>
|
256
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\pbkdf2-sha256.h">
|
257
|
-
<Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
|
258
|
-
</ClInclude>
|
259
238
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\scrypt_platform.c">
|
260
239
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
|
261
240
|
</ClCompile>
|
262
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\types.h">
|
263
|
-
<Filter>src\crypto_stream\aes128ctr\portable</Filter>
|
264
|
-
</ClInclude>
|
265
241
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_auth\hmacsha512\cp\verify_hmacsha512.c">
|
266
242
|
<Filter>src\crypto_auth\hmacsha512\cp</Filter>
|
267
243
|
</ClCompile>
|
@@ -286,48 +262,6 @@
|
|
286
262
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\salsa20\ref\xor_salsa20_ref.c">
|
287
263
|
<Filter>src\crypto_stream\salsa20\ref</Filter>
|
288
264
|
</ClCompile>
|
289
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\chacha20\ref\stream_chacha20_ref.h">
|
290
|
-
<Filter>src\crypto_stream\chacha20\ref</Filter>
|
291
|
-
</ClInclude>
|
292
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\ref\blake2b-load-sse2.h">
|
293
|
-
<Filter>src\crypto_generichash\blake2\ref</Filter>
|
294
|
-
</ClInclude>
|
295
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\ref\blake2b-load-sse41.h">
|
296
|
-
<Filter>src\crypto_generichash\blake2\ref</Filter>
|
297
|
-
</ClInclude>
|
298
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\ref\blake2b-load-avx2.h">
|
299
|
-
<Filter>src\crypto_generichash\blake2\ref</Filter>
|
300
|
-
</ClInclude>
|
301
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\onetimeauth_poly1305.h">
|
302
|
-
<Filter>src\crypto_onetimeauth\poly1305</Filter>
|
303
|
-
</ClInclude>
|
304
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\poly1305_donna.h">
|
305
|
-
<Filter>src\crypto_onetimeauth\poly1305\donna</Filter>
|
306
|
-
</ClInclude>
|
307
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\poly1305_donna32.h">
|
308
|
-
<Filter>src\crypto_onetimeauth\poly1305\donna</Filter>
|
309
|
-
</ClInclude>
|
310
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\poly1305_donna64.h">
|
311
|
-
<Filter>src\crypto_onetimeauth\poly1305\donna</Filter>
|
312
|
-
</ClInclude>
|
313
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\donna_c64\curve25519_donna_c64.h">
|
314
|
-
<Filter>src\crypto_scalarmult\curve25519\donna_c64</Filter>
|
315
|
-
</ClInclude>
|
316
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519.h">
|
317
|
-
<Filter>src\crypto_scalarmult\curve25519</Filter>
|
318
|
-
</ClInclude>
|
319
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_core\curve25519\ref10\base.h">
|
320
|
-
<Filter>src\crypto_core\curve25519\ref10</Filter>
|
321
|
-
</ClInclude>
|
322
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_core\curve25519\ref10\base2.h">
|
323
|
-
<Filter>src\crypto_core\curve25519\ref10</Filter>
|
324
|
-
</ClInclude>
|
325
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_core\curve25519\ref10\curve25519_ref10.h">
|
326
|
-
<Filter>src\crypto_core\curve25519\ref10</Filter>
|
327
|
-
</ClInclude>
|
328
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\ref10\x25519_ref10.h">
|
329
|
-
<Filter>src\crypto_scalarmult\curve25519\ref10</Filter>
|
330
|
-
</ClInclude>
|
331
265
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\core.h">
|
332
266
|
<Filter>include\sodium</Filter>
|
333
267
|
</ClInclude>
|
@@ -90,20 +90,6 @@
|
|
90
90
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\chacha20\stream_chacha20.c" />
|
91
91
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\salsa20\ref\stream_salsa20_ref.c" />
|
92
92
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\salsa20\ref\xor_salsa20_ref.c" />
|
93
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_core\curve25519\ref10\base.h" />
|
94
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_core\curve25519\ref10\base2.h" />
|
95
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_core\curve25519\ref10\curve25519_ref10.h" />
|
96
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\ref\blake2b-load-sse2.h" />
|
97
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\ref\blake2b-load-sse41.h" />
|
98
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\ref\blake2b-load-avx2.h" />
|
99
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\poly1305_donna.h" />
|
100
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\poly1305_donna32.h" />
|
101
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\poly1305_donna64.h" />
|
102
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\onetimeauth_poly1305.h" />
|
103
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\donna_c64\curve25519_donna_c64.h" />
|
104
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\ref10\x25519_ref10.h" />
|
105
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519.h" />
|
106
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\chacha20\ref\stream_chacha20_ref.h" />
|
107
93
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium.h" />
|
108
94
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\core.h" />
|
109
95
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_aead_aes256gcm.h" />
|
@@ -192,8 +178,6 @@
|
|
192
178
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_core\salsa208\core_salsa208_api.c" />
|
193
179
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_generichash\crypto_generichash.c" />
|
194
180
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\generichash_blake2_api.c" />
|
195
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\ref\blake2-impl.h" />
|
196
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\ref\blake2.h" />
|
197
181
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\ref\blake2b-ref.c" />
|
198
182
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\ref\generichash_blake2b.c" />
|
199
183
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_hash\crypto_hash.c" />
|
@@ -211,10 +195,8 @@
|
|
211
195
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\argon2\blake2b-long.c" />
|
212
196
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\argon2\pwhash_argon2i.c" />
|
213
197
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\crypto_scrypt-common.c" />
|
214
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\crypto_scrypt.h" />
|
215
198
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\scrypt_platform.c" />
|
216
199
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\pbkdf2-sha256.c" />
|
217
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\pbkdf2-sha256.h" />
|
218
200
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\crypto_scalarmult.c" />
|
219
201
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_secretbox\crypto_secretbox.c" />
|
220
202
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_secretbox\crypto_secretbox_easy.c" />
|
@@ -229,13 +211,9 @@
|
|
229
211
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\afternm_aes128ctr.c" />
|
230
212
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\stream_aes128ctr_api.c" />
|
231
213
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\beforenm_aes128ctr.c" />
|
232
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\common.h" />
|
233
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\consts.h" />
|
234
214
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\consts_aes128ctr.c" />
|
235
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\int128.h" />
|
236
215
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\int128_aes128ctr.c" />
|
237
216
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\stream_aes128ctr.c" />
|
238
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\types.h" />
|
239
217
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\xor_afternm_aes128ctr.c" />
|
240
218
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\salsa20\stream_salsa20_api.c" />
|
241
219
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\salsa2012\stream_salsa2012_api.c" />
|
@@ -229,39 +229,15 @@
|
|
229
229
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_auth\hmacsha512\auth_hmacsha512_api.c">
|
230
230
|
<Filter>src\crypto_auth\hmacsha512</Filter>
|
231
231
|
</ClCompile>
|
232
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\ref\blake2.h">
|
233
|
-
<Filter>src\crypto_generichash\blake2\ref</Filter>
|
234
|
-
</ClInclude>
|
235
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\ref\blake2-impl.h">
|
236
|
-
<Filter>src\crypto_generichash\blake2\ref</Filter>
|
237
|
-
</ClInclude>
|
238
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\common.h">
|
239
|
-
<Filter>src\crypto_stream\aes128ctr\portable</Filter>
|
240
|
-
</ClInclude>
|
241
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\consts.h">
|
242
|
-
<Filter>src\crypto_stream\aes128ctr\portable</Filter>
|
243
|
-
</ClInclude>
|
244
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\crypto_scrypt.h">
|
245
|
-
<Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
|
246
|
-
</ClInclude>
|
247
232
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\crypto_scrypt-common.c">
|
248
233
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
|
249
234
|
</ClCompile>
|
250
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\int128.h">
|
251
|
-
<Filter>src\crypto_stream\aes128ctr\portable</Filter>
|
252
|
-
</ClInclude>
|
253
235
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\pbkdf2-sha256.c">
|
254
236
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
|
255
237
|
</ClCompile>
|
256
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\pbkdf2-sha256.h">
|
257
|
-
<Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
|
258
|
-
</ClInclude>
|
259
238
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\scrypt_platform.c">
|
260
239
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
|
261
240
|
</ClCompile>
|
262
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\types.h">
|
263
|
-
<Filter>src\crypto_stream\aes128ctr\portable</Filter>
|
264
|
-
</ClInclude>
|
265
241
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_auth\hmacsha512\cp\verify_hmacsha512.c">
|
266
242
|
<Filter>src\crypto_auth\hmacsha512\cp</Filter>
|
267
243
|
</ClCompile>
|
@@ -286,48 +262,6 @@
|
|
286
262
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_stream\salsa20\ref\xor_salsa20_ref.c">
|
287
263
|
<Filter>src\crypto_stream\salsa20\ref</Filter>
|
288
264
|
</ClCompile>
|
289
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\chacha20\ref\stream_chacha20_ref.h">
|
290
|
-
<Filter>src\crypto_stream\chacha20\ref</Filter>
|
291
|
-
</ClInclude>
|
292
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\ref\blake2b-load-sse2.h">
|
293
|
-
<Filter>src\crypto_generichash\blake2\ref</Filter>
|
294
|
-
</ClInclude>
|
295
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\ref\blake2b-load-sse41.h">
|
296
|
-
<Filter>src\crypto_generichash\blake2\ref</Filter>
|
297
|
-
</ClInclude>
|
298
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_generichash\blake2\ref\blake2b-load-avx2.h">
|
299
|
-
<Filter>src\crypto_generichash\blake2\ref</Filter>
|
300
|
-
</ClInclude>
|
301
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\onetimeauth_poly1305.h">
|
302
|
-
<Filter>src\crypto_onetimeauth\poly1305</Filter>
|
303
|
-
</ClInclude>
|
304
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\poly1305_donna.h">
|
305
|
-
<Filter>src\crypto_onetimeauth\poly1305\donna</Filter>
|
306
|
-
</ClInclude>
|
307
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\poly1305_donna32.h">
|
308
|
-
<Filter>src\crypto_onetimeauth\poly1305\donna</Filter>
|
309
|
-
</ClInclude>
|
310
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\poly1305_donna64.h">
|
311
|
-
<Filter>src\crypto_onetimeauth\poly1305\donna</Filter>
|
312
|
-
</ClInclude>
|
313
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519.h">
|
314
|
-
<Filter>src\crypto_scalarmult\curve25519</Filter>
|
315
|
-
</ClInclude>
|
316
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\donna_c64\curve25519_donna_c64.h">
|
317
|
-
<Filter>src\crypto_scalarmult\curve25519\donna_c64</Filter>
|
318
|
-
</ClInclude>
|
319
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_core\curve25519\ref10\base.h">
|
320
|
-
<Filter>src\crypto_core\curve25519\ref10</Filter>
|
321
|
-
</ClInclude>
|
322
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_core\curve25519\ref10\base2.h">
|
323
|
-
<Filter>src\crypto_core\curve25519\ref10</Filter>
|
324
|
-
</ClInclude>
|
325
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_core\curve25519\ref10\curve25519_ref10.h">
|
326
|
-
<Filter>src\crypto_core\curve25519\ref10</Filter>
|
327
|
-
</ClInclude>
|
328
|
-
<ClInclude Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\ref10\x25519_ref10.h">
|
329
|
-
<Filter>src\crypto_scalarmult\curve25519\ref10</Filter>
|
330
|
-
</ClInclude>
|
331
265
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\core.h">
|
332
266
|
<Filter>include\sodium</Filter>
|
333
267
|
</ClInclude>
|
data/vendor/libsodium/configure
CHANGED
@@ -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 1.0.
|
3
|
+
# Generated by GNU Autoconf 2.69 for libsodium 1.0.10.
|
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='1.0.
|
594
|
-
PACKAGE_STRING='libsodium 1.0.
|
593
|
+
PACKAGE_VERSION='1.0.10'
|
594
|
+
PACKAGE_STRING='libsodium 1.0.10'
|
595
595
|
PACKAGE_BUGREPORT='https://github.com/jedisct1/libsodium/issues'
|
596
596
|
PACKAGE_URL='https://github.com/jedisct1/libsodium'
|
597
597
|
|
@@ -1384,7 +1384,7 @@ if test "$ac_init_help" = "long"; then
|
|
1384
1384
|
# Omit some internal or obsolete options to make the list less imposing.
|
1385
1385
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
1386
1386
|
cat <<_ACEOF
|
1387
|
-
\`configure' configures libsodium 1.0.
|
1387
|
+
\`configure' configures libsodium 1.0.10 to adapt to many kinds of systems.
|
1388
1388
|
|
1389
1389
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
1390
1390
|
|
@@ -1454,7 +1454,7 @@ fi
|
|
1454
1454
|
|
1455
1455
|
if test -n "$ac_init_help"; then
|
1456
1456
|
case $ac_init_help in
|
1457
|
-
short | recursive ) echo "Configuration of libsodium 1.0.
|
1457
|
+
short | recursive ) echo "Configuration of libsodium 1.0.10:";;
|
1458
1458
|
esac
|
1459
1459
|
cat <<\_ACEOF
|
1460
1460
|
|
@@ -1591,7 +1591,7 @@ fi
|
|
1591
1591
|
test -n "$ac_init_help" && exit $ac_status
|
1592
1592
|
if $ac_init_version; then
|
1593
1593
|
cat <<\_ACEOF
|
1594
|
-
libsodium configure 1.0.
|
1594
|
+
libsodium configure 1.0.10
|
1595
1595
|
generated by GNU Autoconf 2.69
|
1596
1596
|
|
1597
1597
|
Copyright (C) 2012 Free Software Foundation, Inc.
|
@@ -1960,7 +1960,7 @@ cat >config.log <<_ACEOF
|
|
1960
1960
|
This file contains any messages produced by compilers while
|
1961
1961
|
running configure, to aid debugging if configure makes a mistake.
|
1962
1962
|
|
1963
|
-
It was created by libsodium $as_me 1.0.
|
1963
|
+
It was created by libsodium $as_me 1.0.10, which was
|
1964
1964
|
generated by GNU Autoconf 2.69. Invocation command line was
|
1965
1965
|
|
1966
1966
|
$ $0 $@
|
@@ -2896,7 +2896,7 @@ fi
|
|
2896
2896
|
|
2897
2897
|
# Define the identity of the package.
|
2898
2898
|
PACKAGE='libsodium'
|
2899
|
-
VERSION='1.0.
|
2899
|
+
VERSION='1.0.10'
|
2900
2900
|
|
2901
2901
|
|
2902
2902
|
cat >>confdefs.h <<_ACEOF
|
@@ -15563,6 +15563,34 @@ else
|
|
15563
15563
|
:
|
15564
15564
|
fi
|
15565
15565
|
|
15566
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if _mm256_broadcastsi128_si256 is correctly defined" >&5
|
15567
|
+
$as_echo_n "checking if _mm256_broadcastsi128_si256 is correctly defined... " >&6; }
|
15568
|
+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
15569
|
+
/* end confdefs.h. */
|
15570
|
+
|
15571
|
+
#pragma GCC target("avx2")
|
15572
|
+
#include <immintrin.h>
|
15573
|
+
|
15574
|
+
int
|
15575
|
+
main ()
|
15576
|
+
{
|
15577
|
+
__m256i y = _mm256_broadcastsi128_si256(_mm_setzero_si128());
|
15578
|
+
;
|
15579
|
+
return 0;
|
15580
|
+
}
|
15581
|
+
_ACEOF
|
15582
|
+
if ac_fn_c_try_compile "$LINENO"; then :
|
15583
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
15584
|
+
$as_echo "yes" >&6; }
|
15585
|
+
else
|
15586
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
15587
|
+
$as_echo "no" >&6; }
|
15588
|
+
|
15589
|
+
$as_echo "#define _mm256_broadcastsi128_si256 _mm_broadcastsi128_si256" >>confdefs.h
|
15590
|
+
|
15591
|
+
fi
|
15592
|
+
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
15593
|
+
|
15566
15594
|
else
|
15567
15595
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
15568
15596
|
$as_echo "no" >&6; }
|
@@ -17467,7 +17495,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
17467
17495
|
# report actual input values of CONFIG_FILES etc. instead of their
|
17468
17496
|
# values after options handling.
|
17469
17497
|
ac_log="
|
17470
|
-
This file was extended by libsodium $as_me 1.0.
|
17498
|
+
This file was extended by libsodium $as_me 1.0.10, which was
|
17471
17499
|
generated by GNU Autoconf 2.69. Invocation command line was
|
17472
17500
|
|
17473
17501
|
CONFIG_FILES = $CONFIG_FILES
|
@@ -17525,7 +17553,7 @@ _ACEOF
|
|
17525
17553
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
17526
17554
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
17527
17555
|
ac_cs_version="\\
|
17528
|
-
libsodium config.status 1.0.
|
17556
|
+
libsodium config.status 1.0.10
|
17529
17557
|
configured by $0, generated by GNU Autoconf 2.69,
|
17530
17558
|
with options \\"\$ac_cs_config\\"
|
17531
17559
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
AC_PREREQ([2.65])
|
2
|
-
AC_INIT([libsodium],[1.0.
|
2
|
+
AC_INIT([libsodium],[1.0.10],
|
3
3
|
[https://github.com/jedisct1/libsodium/issues],
|
4
4
|
[libsodium],
|
5
5
|
[https://github.com/jedisct1/libsodium])
|
@@ -379,7 +379,17 @@ AS_IF([test "x$EMSCRIPTEN" = "x"],[
|
|
379
379
|
]], [[ __m256i x = _mm256_abs_epi8(_mm256_setzero_si256()); ]])],
|
380
380
|
[AC_MSG_RESULT(yes)
|
381
381
|
AC_DEFINE([HAVE_AVX2INTRIN_H], [1], [AVX2 is available])
|
382
|
-
AX_CHECK_COMPILE_FLAG([-mavx2], [CFLAGS_AVX="-mavx2"])
|
382
|
+
AX_CHECK_COMPILE_FLAG([-mavx2], [CFLAGS_AVX="-mavx2"])
|
383
|
+
AC_MSG_CHECKING(if _mm256_broadcastsi128_si256 is correctly defined)
|
384
|
+
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
385
|
+
#pragma GCC target("avx2")
|
386
|
+
#include <immintrin.h>
|
387
|
+
]], [[ __m256i y = _mm256_broadcastsi128_si256(_mm_setzero_si128()); ]])],
|
388
|
+
[AC_MSG_RESULT(yes)],
|
389
|
+
[AC_MSG_RESULT(no)
|
390
|
+
AC_DEFINE([_mm256_broadcastsi128_si256], [_mm_broadcastsi128_si256],
|
391
|
+
[Define to the local name of _mm256_broadcastsi128_si256])])
|
392
|
+
],
|
383
393
|
[AC_MSG_RESULT(no)])
|
384
394
|
CFLAGS="$oldcflags"
|
385
395
|
|
@@ -4,7 +4,7 @@ export MAKE_FLAGS='-j4'
|
|
4
4
|
export PREFIX="$(pwd)/libsodium-js"
|
5
5
|
export EXPORTED_FUNCTIONS_STANDARD='["_crypto_aead_chacha20poly1305_abytes","_crypto_aead_chacha20poly1305_decrypt","_crypto_aead_chacha20poly1305_decrypt_detached","_crypto_aead_chacha20poly1305_encrypt","_crypto_aead_chacha20poly1305_encrypt_detached","_crypto_aead_chacha20poly1305_ietf_abytes","_crypto_aead_chacha20poly1305_ietf_decrypt","_crypto_aead_chacha20poly1305_ietf_decrypt_detached","_crypto_aead_chacha20poly1305_ietf_encrypt","_crypto_aead_chacha20poly1305_ietf_encrypt_detached","_crypto_aead_chacha20poly1305_ietf_keybytes","_crypto_aead_chacha20poly1305_ietf_npubbytes","_crypto_aead_chacha20poly1305_ietf_nsecbytes","_crypto_aead_chacha20poly1305_keybytes","_crypto_aead_chacha20poly1305_npubbytes","_crypto_aead_chacha20poly1305_nsecbytes","_crypto_auth","_crypto_auth_bytes","_crypto_auth_keybytes","_crypto_auth_verify","_crypto_box_beforenm","_crypto_box_beforenmbytes","_crypto_box_detached","_crypto_box_detached_afternm","_crypto_box_easy","_crypto_box_easy_afternm","_crypto_box_keypair","_crypto_box_macbytes","_crypto_box_noncebytes","_crypto_box_open_detached","_crypto_box_open_detached_afternm","_crypto_box_open_easy","_crypto_box_open_easy_afternm","_crypto_box_publickeybytes","_crypto_box_seal","_crypto_box_seal_open","_crypto_box_sealbytes","_crypto_box_secretkeybytes","_crypto_box_seed_keypair","_crypto_box_seedbytes","_crypto_generichash","_crypto_generichash_bytes","_crypto_generichash_bytes_max","_crypto_generichash_bytes_min","_crypto_generichash_final","_crypto_generichash_init","_crypto_generichash_keybytes","_crypto_generichash_keybytes_max","_crypto_generichash_keybytes_min","_crypto_generichash_primitive","_crypto_generichash_statebytes","_crypto_generichash_update","_crypto_hash","_crypto_hash_bytes","_crypto_pwhash","_crypto_pwhash_alg_argon2i13","_crypto_pwhash_alg_default","_crypto_pwhash_memlimit_interactive","_crypto_pwhash_memlimit_moderate","_crypto_pwhash_memlimit_sensitive","_crypto_pwhash_opslimit_interactive","_crypto_pwhash_opslimit_moderate","_crypto_pwhash_opslimit_sensitive","_crypto_pwhash_saltbytes","_crypto_pwhash_scryptsalsa208sha256","_crypto_pwhash_scryptsalsa208sha256_ll","_crypto_pwhash_scryptsalsa208sha256_memlimit_interactive","_crypto_pwhash_scryptsalsa208sha256_memlimit_sensitive","_crypto_pwhash_scryptsalsa208sha256_opslimit_interactive","_crypto_pwhash_scryptsalsa208sha256_opslimit_sensitive","_crypto_pwhash_scryptsalsa208sha256_saltbytes","_crypto_pwhash_scryptsalsa208sha256_str","_crypto_pwhash_scryptsalsa208sha256_str_verify","_crypto_pwhash_scryptsalsa208sha256_strbytes","_crypto_pwhash_scryptsalsa208sha256_strprefix","_crypto_pwhash_str","_crypto_pwhash_str_verify","_crypto_pwhash_strbytes","_crypto_pwhash_strprefix","_crypto_scalarmult","_crypto_scalarmult_base","_crypto_scalarmult_bytes","_crypto_scalarmult_scalarbytes","_crypto_secretbox_detached","_crypto_secretbox_easy","_crypto_secretbox_keybytes","_crypto_secretbox_macbytes","_crypto_secretbox_noncebytes","_crypto_secretbox_open_detached","_crypto_secretbox_open_easy","_crypto_shorthash","_crypto_shorthash_bytes","_crypto_shorthash_keybytes","_crypto_sign","_crypto_sign_bytes","_crypto_sign_detached","_crypto_sign_ed25519_pk_to_curve25519","_crypto_sign_ed25519_sk_to_curve25519","_crypto_sign_keypair","_crypto_sign_open","_crypto_sign_publickeybytes","_crypto_sign_secretkeybytes","_crypto_sign_seed_keypair","_crypto_sign_seedbytes","_crypto_sign_verify_detached","_randombytes","_randombytes_buf","_randombytes_close","_randombytes_random","_randombytes_stir","_randombytes_uniform","_sodium_bin2hex","_sodium_hex2bin","_sodium_init","_sodium_library_version_major","_sodium_library_version_minor","_sodium_version_string"]'
|
6
6
|
export EXPORTED_FUNCTIONS_SUMO='["_crypto_aead_chacha20poly1305_abytes","_crypto_aead_chacha20poly1305_decrypt","_crypto_aead_chacha20poly1305_decrypt_detached","_crypto_aead_chacha20poly1305_encrypt","_crypto_aead_chacha20poly1305_encrypt_detached","_crypto_aead_chacha20poly1305_ietf_abytes","_crypto_aead_chacha20poly1305_ietf_decrypt","_crypto_aead_chacha20poly1305_ietf_decrypt_detached","_crypto_aead_chacha20poly1305_ietf_encrypt","_crypto_aead_chacha20poly1305_ietf_encrypt_detached","_crypto_aead_chacha20poly1305_ietf_keybytes","_crypto_aead_chacha20poly1305_ietf_npubbytes","_crypto_aead_chacha20poly1305_ietf_nsecbytes","_crypto_aead_chacha20poly1305_keybytes","_crypto_aead_chacha20poly1305_npubbytes","_crypto_aead_chacha20poly1305_nsecbytes","_crypto_auth","_crypto_auth_bytes","_crypto_auth_hmacsha256","_crypto_auth_hmacsha256_bytes","_crypto_auth_hmacsha256_final","_crypto_auth_hmacsha256_init","_crypto_auth_hmacsha256_keybytes","_crypto_auth_hmacsha256_statebytes","_crypto_auth_hmacsha256_update","_crypto_auth_hmacsha256_verify","_crypto_auth_hmacsha512","_crypto_auth_hmacsha512256","_crypto_auth_hmacsha512256_bytes","_crypto_auth_hmacsha512256_final","_crypto_auth_hmacsha512256_init","_crypto_auth_hmacsha512256_keybytes","_crypto_auth_hmacsha512256_statebytes","_crypto_auth_hmacsha512256_update","_crypto_auth_hmacsha512256_verify","_crypto_auth_hmacsha512_bytes","_crypto_auth_hmacsha512_final","_crypto_auth_hmacsha512_init","_crypto_auth_hmacsha512_keybytes","_crypto_auth_hmacsha512_statebytes","_crypto_auth_hmacsha512_update","_crypto_auth_hmacsha512_verify","_crypto_auth_keybytes","_crypto_auth_verify","_crypto_box","_crypto_box_afternm","_crypto_box_beforenm","_crypto_box_beforenmbytes","_crypto_box_boxzerobytes","_crypto_box_curve25519xsalsa20poly1305","_crypto_box_curve25519xsalsa20poly1305_afternm","_crypto_box_curve25519xsalsa20poly1305_beforenm","_crypto_box_curve25519xsalsa20poly1305_beforenmbytes","_crypto_box_curve25519xsalsa20poly1305_boxzerobytes","_crypto_box_curve25519xsalsa20poly1305_keypair","_crypto_box_curve25519xsalsa20poly1305_macbytes","_crypto_box_curve25519xsalsa20poly1305_noncebytes","_crypto_box_curve25519xsalsa20poly1305_open","_crypto_box_curve25519xsalsa20poly1305_open_afternm","_crypto_box_curve25519xsalsa20poly1305_publickeybytes","_crypto_box_curve25519xsalsa20poly1305_secretkeybytes","_crypto_box_curve25519xsalsa20poly1305_seed_keypair","_crypto_box_curve25519xsalsa20poly1305_seedbytes","_crypto_box_curve25519xsalsa20poly1305_zerobytes","_crypto_box_detached","_crypto_box_detached_afternm","_crypto_box_easy","_crypto_box_easy_afternm","_crypto_box_keypair","_crypto_box_macbytes","_crypto_box_noncebytes","_crypto_box_open","_crypto_box_open_afternm","_crypto_box_open_detached","_crypto_box_open_detached_afternm","_crypto_box_open_easy","_crypto_box_open_easy_afternm","_crypto_box_primitive","_crypto_box_publickeybytes","_crypto_box_seal","_crypto_box_seal_open","_crypto_box_sealbytes","_crypto_box_secretkeybytes","_crypto_box_seed_keypair","_crypto_box_seedbytes","_crypto_box_zerobytes","_crypto_core_hsalsa20","_crypto_core_hsalsa20_constbytes","_crypto_core_hsalsa20_inputbytes","_crypto_core_hsalsa20_keybytes","_crypto_core_hsalsa20_outputbytes","_crypto_core_salsa20","_crypto_core_salsa20_constbytes","_crypto_core_salsa20_inputbytes","_crypto_core_salsa20_keybytes","_crypto_core_salsa20_outputbytes","_crypto_generichash","_crypto_generichash_blake2b","_crypto_generichash_blake2b_bytes","_crypto_generichash_blake2b_bytes_max","_crypto_generichash_blake2b_bytes_min","_crypto_generichash_blake2b_final","_crypto_generichash_blake2b_init","_crypto_generichash_blake2b_init_salt_personal","_crypto_generichash_blake2b_keybytes","_crypto_generichash_blake2b_keybytes_max","_crypto_generichash_blake2b_keybytes_min","_crypto_generichash_blake2b_personalbytes","_crypto_generichash_blake2b_salt_personal","_crypto_generichash_blake2b_saltbytes","_crypto_generichash_blake2b_statebytes","_crypto_generichash_blake2b_update","_crypto_generichash_bytes","_crypto_generichash_bytes_max","_crypto_generichash_bytes_min","_crypto_generichash_final","_crypto_generichash_init","_crypto_generichash_keybytes","_crypto_generichash_keybytes_max","_crypto_generichash_keybytes_min","_crypto_generichash_primitive","_crypto_generichash_statebytes","_crypto_generichash_update","_crypto_hash","_crypto_hash_bytes","_crypto_hash_primitive","_crypto_hash_sha256","_crypto_hash_sha256_bytes","_crypto_hash_sha256_final","_crypto_hash_sha256_init","_crypto_hash_sha256_statebytes","_crypto_hash_sha256_update","_crypto_hash_sha512","_crypto_hash_sha512_bytes","_crypto_hash_sha512_final","_crypto_hash_sha512_init","_crypto_hash_sha512_statebytes","_crypto_hash_sha512_update","_crypto_onetimeauth","_crypto_onetimeauth_bytes","_crypto_onetimeauth_final","_crypto_onetimeauth_init","_crypto_onetimeauth_keybytes","_crypto_onetimeauth_poly1305","_crypto_onetimeauth_poly1305_bytes","_crypto_onetimeauth_poly1305_final","_crypto_onetimeauth_poly1305_init","_crypto_onetimeauth_poly1305_keybytes","_crypto_onetimeauth_poly1305_update","_crypto_onetimeauth_poly1305_verify","_crypto_onetimeauth_primitive","_crypto_onetimeauth_statebytes","_crypto_onetimeauth_update","_crypto_onetimeauth_verify","_crypto_pwhash","_crypto_pwhash_alg_argon2i13","_crypto_pwhash_alg_default","_crypto_pwhash_argon2i","_crypto_pwhash_argon2i_alg_argon2i13","_crypto_pwhash_argon2i_memlimit_interactive","_crypto_pwhash_argon2i_memlimit_moderate","_crypto_pwhash_argon2i_memlimit_sensitive","_crypto_pwhash_argon2i_opslimit_interactive","_crypto_pwhash_argon2i_opslimit_moderate","_crypto_pwhash_argon2i_opslimit_sensitive","_crypto_pwhash_argon2i_saltbytes","_crypto_pwhash_argon2i_str","_crypto_pwhash_argon2i_str_verify","_crypto_pwhash_argon2i_strbytes","_crypto_pwhash_argon2i_strprefix","_crypto_pwhash_memlimit_interactive","_crypto_pwhash_memlimit_moderate","_crypto_pwhash_memlimit_sensitive","_crypto_pwhash_opslimit_interactive","_crypto_pwhash_opslimit_moderate","_crypto_pwhash_opslimit_sensitive","_crypto_pwhash_primitive","_crypto_pwhash_saltbytes","_crypto_pwhash_scryptsalsa208sha256","_crypto_pwhash_scryptsalsa208sha256_ll","_crypto_pwhash_scryptsalsa208sha256_memlimit_interactive","_crypto_pwhash_scryptsalsa208sha256_memlimit_sensitive","_crypto_pwhash_scryptsalsa208sha256_opslimit_interactive","_crypto_pwhash_scryptsalsa208sha256_opslimit_sensitive","_crypto_pwhash_scryptsalsa208sha256_saltbytes","_crypto_pwhash_scryptsalsa208sha256_str","_crypto_pwhash_scryptsalsa208sha256_str_verify","_crypto_pwhash_scryptsalsa208sha256_strbytes","_crypto_pwhash_scryptsalsa208sha256_strprefix","_crypto_pwhash_str","_crypto_pwhash_str_verify","_crypto_pwhash_strbytes","_crypto_pwhash_strprefix","_crypto_scalarmult","_crypto_scalarmult_base","_crypto_scalarmult_bytes","_crypto_scalarmult_curve25519","_crypto_scalarmult_curve25519_base","_crypto_scalarmult_curve25519_bytes","_crypto_scalarmult_curve25519_scalarbytes","_crypto_scalarmult_primitive","_crypto_scalarmult_scalarbytes","_crypto_secretbox","_crypto_secretbox_boxzerobytes","_crypto_secretbox_detached","_crypto_secretbox_easy","_crypto_secretbox_keybytes","_crypto_secretbox_macbytes","_crypto_secretbox_noncebytes","_crypto_secretbox_open","_crypto_secretbox_open_detached","_crypto_secretbox_open_easy","_crypto_secretbox_primitive","_crypto_secretbox_xsalsa20poly1305","_crypto_secretbox_xsalsa20poly1305_boxzerobytes","_crypto_secretbox_xsalsa20poly1305_keybytes","_crypto_secretbox_xsalsa20poly1305_macbytes","_crypto_secretbox_xsalsa20poly1305_noncebytes","_crypto_secretbox_xsalsa20poly1305_open","_crypto_secretbox_xsalsa20poly1305_zerobytes","_crypto_secretbox_zerobytes","_crypto_shorthash","_crypto_shorthash_bytes","_crypto_shorthash_keybytes","_crypto_shorthash_primitive","_crypto_shorthash_siphash24","_crypto_shorthash_siphash24_bytes","_crypto_shorthash_siphash24_keybytes","_crypto_sign","_crypto_sign_bytes","_crypto_sign_detached","_crypto_sign_ed25519","_crypto_sign_ed25519_bytes","_crypto_sign_ed25519_detached","_crypto_sign_ed25519_keypair","_crypto_sign_ed25519_open","_crypto_sign_ed25519_pk_to_curve25519","_crypto_sign_ed25519_publickeybytes","_crypto_sign_ed25519_secretkeybytes","_crypto_sign_ed25519_seed_keypair","_crypto_sign_ed25519_seedbytes","_crypto_sign_ed25519_sk_to_curve25519","_crypto_sign_ed25519_sk_to_pk","_crypto_sign_ed25519_sk_to_seed","_crypto_sign_ed25519_verify_detached","_crypto_sign_keypair","_crypto_sign_open","_crypto_sign_primitive","_crypto_sign_publickeybytes","_crypto_sign_secretkeybytes","_crypto_sign_seed_keypair","_crypto_sign_seedbytes","_crypto_sign_verify_detached","_crypto_stream","_crypto_stream_chacha20","_crypto_stream_chacha20_ietf","_crypto_stream_chacha20_ietf_noncebytes","_crypto_stream_chacha20_ietf_xor","_crypto_stream_chacha20_ietf_xor_ic","_crypto_stream_chacha20_keybytes","_crypto_stream_chacha20_noncebytes","_crypto_stream_chacha20_xor","_crypto_stream_chacha20_xor_ic","_crypto_stream_keybytes","_crypto_stream_noncebytes","_crypto_stream_primitive","_crypto_stream_salsa20","_crypto_stream_salsa20_keybytes","_crypto_stream_salsa20_noncebytes","_crypto_stream_salsa20_xor","_crypto_stream_salsa20_xor_ic","_crypto_stream_xor","_crypto_stream_xsalsa20","_crypto_stream_xsalsa20_keybytes","_crypto_stream_xsalsa20_noncebytes","_crypto_stream_xsalsa20_xor","_crypto_stream_xsalsa20_xor_ic","_crypto_verify_16","_crypto_verify_16_bytes","_crypto_verify_32","_crypto_verify_32_bytes","_crypto_verify_64","_crypto_verify_64_bytes","_randombytes","_randombytes_buf","_randombytes_close","_randombytes_implementation_name","_randombytes_random","_randombytes_stir","_randombytes_uniform","_sodium_bin2hex","_sodium_hex2bin","_sodium_init","_sodium_library_version_major","_sodium_library_version_minor","_sodium_version_string"]'
|
7
|
-
export TOTAL_MEMORY=
|
7
|
+
export TOTAL_MEMORY=50000000
|
8
8
|
export LDFLAGS="-s TOTAL_MEMORY=${TOTAL_MEMORY} -s RESERVED_FUNCTION_POINTERS=8 -s NO_DYNAMIC_EXECUTION=1 -s RUNNING_JS_OPTS=1"
|
9
9
|
|
10
10
|
export EXPORTED_FUNCTIONS="$EXPORTED_FUNCTIONS_STANDARD"
|
@@ -1,4 +1,4 @@
|
|
1
|
-
cscript msvc-scripts/rep.vbs //Nologo s/@VERSION@/1.0.
|
1
|
+
cscript msvc-scripts/rep.vbs //Nologo s/@VERSION@/1.0.10/ < src\libsodium\include\sodium\version.h.in > tmp
|
2
2
|
cscript msvc-scripts/rep.vbs //Nologo s/@SODIUM_LIBRARY_VERSION_MAJOR@/9/ < tmp > tmp2
|
3
3
|
cscript msvc-scripts/rep.vbs //Nologo s/@SODIUM_LIBRARY_VERSION_MINOR@/2/ < tmp2 > src\libsodium\include\sodium\version.h
|
4
4
|
del tmp tmp2
|
@@ -24,7 +24,6 @@ libsodium_la_SOURCES = \
|
|
24
24
|
crypto_core/curve25519/ref10/base.h \
|
25
25
|
crypto_core/curve25519/ref10/base2.h \
|
26
26
|
crypto_core/curve25519/ref10/curve25519_ref10.c \
|
27
|
-
crypto_core/curve25519/ref10/curve25519_ref10.h \
|
28
27
|
crypto_core/hsalsa20/ref2/core_hsalsa20.c \
|
29
28
|
crypto_core/hsalsa20/core_hsalsa20_api.c \
|
30
29
|
crypto_core/salsa20/ref/core_salsa20.c \
|
@@ -51,7 +50,6 @@ libsodium_la_SOURCES = \
|
|
51
50
|
crypto_onetimeauth/poly1305/donna/poly1305_donna32.h \
|
52
51
|
crypto_onetimeauth/poly1305/donna/poly1305_donna64.h \
|
53
52
|
crypto_onetimeauth/poly1305/donna/poly1305_donna.c \
|
54
|
-
crypto_pwhash/crypto_pwhash.c \
|
55
53
|
crypto_pwhash/argon2/argon2-core.c \
|
56
54
|
crypto_pwhash/argon2/argon2-core.h \
|
57
55
|
crypto_pwhash/argon2/argon2-encoding.c \
|
@@ -64,6 +62,7 @@ libsodium_la_SOURCES = \
|
|
64
62
|
crypto_pwhash/argon2/blake2b-long.h \
|
65
63
|
crypto_pwhash/argon2/blamka-round-ref.h \
|
66
64
|
crypto_pwhash/argon2/pwhash_argon2i.c \
|
65
|
+
crypto_pwhash/crypto_pwhash.c \
|
67
66
|
crypto_pwhash/scryptsalsa208sha256/crypto_scrypt-common.c \
|
68
67
|
crypto_pwhash/scryptsalsa208sha256/crypto_scrypt.h \
|
69
68
|
crypto_pwhash/scryptsalsa208sha256/scrypt_platform.c \
|
@@ -86,11 +85,11 @@ libsodium_la_SOURCES = \
|
|
86
85
|
crypto_sign/ed25519/ref10/keypair.c \
|
87
86
|
crypto_sign/ed25519/ref10/open.c \
|
88
87
|
crypto_sign/ed25519/ref10/sign.c \
|
89
|
-
crypto_stream/crypto_stream.c \
|
90
88
|
crypto_stream/chacha20/stream_chacha20.c \
|
91
89
|
crypto_stream/chacha20/stream_chacha20.h \
|
92
90
|
crypto_stream/chacha20/ref/stream_chacha20_ref.h \
|
93
91
|
crypto_stream/chacha20/ref/stream_chacha20_ref.c \
|
92
|
+
crypto_stream/crypto_stream.c \
|
94
93
|
crypto_stream/salsa20/stream_salsa20_api.c \
|
95
94
|
crypto_stream/xsalsa20/stream_xsalsa20_api.c \
|
96
95
|
crypto_stream/xsalsa20/ref/stream_xsalsa20.c \
|
@@ -101,8 +100,9 @@ libsodium_la_SOURCES = \
|
|
101
100
|
crypto_verify/32/ref/verify_32.c \
|
102
101
|
crypto_verify/64/verify_64_api.c \
|
103
102
|
crypto_verify/64/ref/verify_64.c \
|
103
|
+
include/sodium/private/common.h \
|
104
|
+
include/sodium/private/curve25519_ref10.h \
|
104
105
|
randombytes/randombytes.c \
|
105
|
-
sodium/common.h \
|
106
106
|
sodium/core.c \
|
107
107
|
sodium/runtime.c \
|
108
108
|
sodium/utils.c \
|