Commit Graph

1831 Commits

Author SHA1 Message Date
evoskuil
b77b074569 Fix Visual Studio common props for MT dynamic release. 2015-07-26 15:53:39 -07:00
Frank Denis
c8e8983430 Test crypto_stream_*() with an output buffer previously filled with junk
Obviously, the previous content shouldn't change the output.
2015-07-21 13:37:06 +02:00
Frank Denis
f16abdb5e3 <unistd.h> -> <stddef.h> 2015-07-20 23:58:09 +02:00
Frank Denis
67205bc9d4 Emscripten target: don't run the Closure compiler any more. 2015-07-20 16:17:39 +02:00
Frank Denis
e972f0269b Emscripten: enable NO_DYNAMIC_EXECUTION=1
When enabled, we do not emit eval() and new Function(), which disables some functionality
(causing runtime errors if at tempted to be used), but allows the emitted code to be
acceptable in places that disallow dynamic code execution (chrome packaged app, non-
privileged firefox app, etc.)
2015-07-20 15:56:41 +02:00
Frank Denis
34176344fe iOS: install the library into $PREFIX/lib 2015-07-18 17:44:45 +02:00
Frank Denis
bb8c58cdd7 Include <unistd.h> for size_t 2015-07-18 12:07:38 +02:00
Frank Denis
6d10bfffca Add @top_srcdir@/src/libsodium/include/sodium to libsodium-uninstalled.pc.in 2015-07-17 12:56:55 +02:00
Frank Denis
41bb370603 libsodium-uninstalled.pc.in: include -I@top_srcdir@/src/libsodium/include 2015-07-16 17:47:08 +02:00
Frank Denis
385ac7e06a Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  Add missing Android build scripts to the distfiles
  Add simple compile scripts for android-mips64 and android-x86_64 (w/o optimizations)
  Update local autoconf scripts
2015-07-15 16:52:05 +02:00
Frank Denis
9e4009e7b7 Thank RudolfVonKurgstein for the HaXe bindings 2015-07-15 16:51:47 +02:00
Frank Denis
3a74da3345 Add missing Android build scripts to the distfiles 2015-07-12 02:23:59 +02:00
Emiliano Bonassi
8f4ac9c585 Add simple compile scripts for android-mips64 and android-x86_64 (w/o optimizations) 2015-07-12 02:22:04 +02:00
Frank Denis
944d4db270 Merge branch 'master' of https://github.com/jedisct1/libsodium
* 'master' of https://github.com/jedisct1/libsodium:
  Revert "Export sodium_increment() to Emscripten"
2015-07-12 02:19:55 +02:00
Frank Denis
2c62dc9020 Update local autoconf scripts 2015-07-12 02:19:40 +02:00
Frank Denis
965eaeac46 Revert "Export sodium_increment() to Emscripten"
This reverts commit a8e4115851.
2015-06-28 15:44:06 +02:00
James Robson
8444667b8b removed comment 2015-06-23 13:34:29 -05:00
James Robson
e119c3e502 Added .final and .nexe output files to CLEANFILES 2015-06-22 14:16:07 -05:00
James Robson
1b633bb8ca Merge branch 'master' into pnacl 2015-06-22 13:19:33 -05:00
James Robson
0faf78e565 Merge branch 'pnacl2' into pnacl 2015-06-22 13:12:04 -05:00
James Robson
8beae17253 revert original hack 2015-06-22 13:11:33 -05:00
James Robson
34a4931d9a Initial patch for Chrome NaCl implementation 2015-06-22 13:02:21 -05:00
Frank Denis
a8e4115851 Export sodium_increment() to Emscripten 2015-06-22 17:41:55 +02:00
Frank Denis
3822caf6c7 Micro-optimization 2015-06-22 15:56:35 +02:00
Frank Denis
e2fca8cac5 Add sodium_increment() 2015-06-22 15:44:58 +02:00
Frank Denis
5f74196b0f scrypt extra parameters checks 2015-06-19 18:55:41 +02:00
Frank Denis
392f094a90 Merge pull request #273 from JackWink/feature/jack/android-armv8-build-script
add arm64-v8a support for android builds
2015-06-17 20:14:20 +02:00
Jack Wink
b87b3a7ac7 add arm64-v8a support for android builds 2015-06-17 14:05:46 -04:00
Frank Denis
facb3c4343 Implicit conversions 2015-06-16 22:42:13 +02:00
Frank Denis
d35b364f31 Blake2b: fix flags on architectures with < 32-bit int 2015-06-13 17:31:49 +02:00
Frank Denis
b2dd3453d5 Merge pull request #269 from dconnolly/mscrypto
If browser `crypto` is not available, try `msCrypto` before assuming a Node environment.
2015-06-09 00:49:51 +02:00
Deirdre Connolly
f2afab4b1b If browser crypto is not available, try msCrypto before assuming a
Node environment
2015-06-08 18:25:51 -04:00
Frank Denis
f46439c1e2 Ensure that PBKDF2_SHA256() is not used to output more than 128 Go. 2015-06-06 12:46:22 +02:00
Frank Denis
86d92bc11d SHA512: just use memcpy() to initialize the state 2015-06-06 12:33:11 +02:00
Frank Denis
ba1cd6a128 SHA256: use uint64_t for the counter instead of two uint32_t 2015-06-06 12:32:23 +02:00
Frank Denis
21fc07e6f4 Leverage randombytes_salsa20_random_rekey() 2015-06-01 12:45:45 +02:00
Frank Denis
3c3635e53a salsa20_random(): just abort(3) if the pid changes and _stir() wasn't called 2015-06-01 12:40:58 +02:00
Frank Denis
2efa85d283 -dev 2015-06-01 10:44:02 +02:00
Frank Denis
b2f5f66c86 Windows Store compat 2015-06-01 10:43:39 +02:00
Frank Denis
df9209a235 Document IETF-compatible ChaCha20 2015-06-01 10:33:09 +02:00
Frank Denis
315029188e Suggest randombytes_stir() 2015-06-01 10:22:01 +02:00
Frank Denis
e326ef9030 Do not use timeval. The structure is not defined on Windows RT. 2015-05-29 17:40:37 +02:00
Frank Denis
3bd6b8d074 Further simplify WINAPI_DESKTOP 2015-05-29 17:40:37 +02:00
Frank Denis
ada287ad56 Disable guarded memory on WinRT 2015-05-29 17:40:32 +02:00
Frank Denis
305d5e02e2 + ARM.props 2015-05-29 17:40:31 +02:00
Frank Denis
7821009bff Do not assume that _MSC_VER being defined implied x86 or x64 2015-05-29 17:40:25 +02:00
Frank Denis
c7179cea2d .gitignore 2015-05-28 10:43:57 +02:00
Frank Denis
5b851b4520 Remove common system headers already included in utils.h 2015-05-27 21:38:16 +02:00
Frank Denis
c1c28b0ee5 demo -> example 2015-05-27 21:36:54 +02:00
Frank Denis
e3d71367fc Add a basic Makefile for the demos 2015-05-27 21:35:37 +02:00