1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-20 10:37:24 -07:00
Commit Graph

1384 Commits

Author SHA1 Message Date
Frank Denis
2d3c61b3f2 armv7 -> armv7-a 2015-02-08 17:03:38 +01:00
Frank Denis
aeb26be748 Android: Use app platform 18 2015-02-08 11:30:03 +01:00
Frank Denis
53a5914a4c android-mips -> android-mips32 2015-02-08 10:42:27 +01:00
Frank Denis
0022a42f5a Don't build arm and armv7 android targets in the same directory 2015-02-08 10:34:39 +01:00
Frank Denis
046df856fa Revert "Disable PIE on Android"
This reverts commit cdf863c731.
2015-02-08 10:26:11 +01:00
Frank Denis
9eee6e6dd3 Merge pull request #243 from mosin/patch-1
android ndk requires arch to be arm not armv7
2015-02-07 15:43:01 +01:00
mosin
4d5863a6cc android ndk requires arch to be arm not armv7
In the android-build.sh script, the call the ${ANDROID_NDK_HOME}/build/tools/make-standalone-toolchain.sh passes TARGET_ARCH as armv7 where as around line 117 of make-standalone-toolchain.sh requires ARCH to be {arm,x86,mips,arm64,x86_64,mips64}
2015-02-07 09:31:49 -05:00
Frank Denis
194a3c6048 Update ChangeLog 2015-02-03 17:26:16 +01:00
Frank Denis
a1b3da7dd9 Add crypto_stream_xsalsa20_ic() 2015-02-02 21:27:19 +01:00
Frank Denis
666fd4323b Add a test for crypto_stream_salsa20_xor_ic() 2015-02-02 21:27:12 +01:00
Frank Denis
cdf863c731 Disable PIE on Android 2015-01-31 12:31:08 +01:00
Graydon Hoare
4b6d9994be Add configure.lineno to .gitignore 2015-01-31 12:28:45 +01:00
Frank Denis
152593ad82 Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  Thanks @zonyitoo for libsodium-sys (rust native bindings) and OVH
2015-01-31 12:25:56 +01:00
Frank Denis
f61e179d8e (p1 - p2 == 0) => (p1 == p2)
No binary changes on supported platforms except on gcc/armv7l where
the control flow remains identical but permutative statements get switched.
2015-01-31 12:18:51 +01:00
Frank Denis
e6f97c8b43 Thanks @zonyitoo for libsodium-sys (rust native bindings) and OVH 2015-01-28 00:06:58 +01:00
Frank Denis
4a0e7cfc57 Update ChangeLog 2015-01-26 07:27:12 +01:00
Frank Denis
0938b7cf9a Export _crypto_generichash_statebytes() 2015-01-24 11:30:05 +01:00
Frank Denis
5db61c617b Add statebytes for crypto_hmac_* 2015-01-23 23:08:49 +01:00
Frank Denis
d0e9b8f69c Suggest crypto_generichash_statebytes() instead of sizeof() 2015-01-23 22:54:27 +01:00
Frank Denis
b5deb4d070 + crypto_hash_sha(256|512)_statebytes 2015-01-23 11:17:40 +01:00
Frank Denis
cdbb2dfe75 Import moved quirks.h 2015-01-23 11:02:13 +01:00
Frank Denis
9e538624f4 + crypto_generichash_statebytes() 2015-01-23 11:00:57 +01:00
Frank Denis
c9ba75a48f Add crypto_generichash_statebytes()
sizeof() is not always an option when accessing the library from
other languages.
2015-01-23 10:56:01 +01:00
Frank Denis
4921836512 Move quirks inclusion to cmptest.h, emscsripten quirks to quirks.h 2015-01-23 10:41:28 +01:00
Frank Denis
4724440492 quirks\windows\windows-quirks.h -> quirks\quirks.h 2015-01-23 10:35:20 +01:00
Frank Denis
8088e486ee strcmp() with optimization level > 1 is broken on Emscripten (!)
Trivial workaround that should eventually go to the quirks file
until this is fixed in Emscripten.
2015-01-22 19:06:21 +01:00
Frank Denis
388baa5380 Add an extra test for randombytes 2015-01-18 10:34:31 +01:00
Frank Denis
e2a24e69ec Invert #if[n]def __EMSCRIPTEN__ logic, put more common case first 2015-01-18 10:20:12 +01:00
Frank Denis
feaba594db || -> | spotted by Ahmad 2015-01-18 10:17:53 +01:00
Frank Denis
5b3d8a4bf9 Mention what is optional and what is required for a randombytes implementation 2015-01-18 10:12:27 +01:00
Frank Denis
0b4fb379d4 Factorize randombytes_uniform()
Don't require randombytes implementations to reimplement this.
NULL can be passed instead of a function pointer to use the default
implementation.
Allow NULL for randombytes_stir() and randombytes_close() as well.
2015-01-18 10:08:36 +01:00
Frank Denis
add0fcede4 randombytes_random() is 32 bits, even in JS. 2015-01-18 09:50:17 +01:00
Frank Denis
dd5224791b Re-add filesystem support for the library 2015-01-18 00:59:59 +01:00
Frank Denis
00f8156457 Do not hardcode the node binary 2015-01-18 00:52:14 +01:00
Frank Denis
33357dc52e Running the JS tests requires the filesystem. 2015-01-18 00:46:48 +01:00
Frank Denis
98c96f4c99 No browser, no filesystem support required 2015-01-18 00:42:34 +01:00
Frank Denis
3befdd21d8 Merge branch 'master' of https://github.com/jedisct1/libsodium
* 'master' of https://github.com/jedisct1/libsodium:
  Emscripten: don't use a memory init file any more. It doesn't take that long to load the module, and it's going to make users' life way easier.
  Do not require /dev/urandom emulation in Javascript any more.
2015-01-17 23:01:56 +01:00
Frank Denis
3d5c00a581 Emscripten: don't use a memory init file any more.
It doesn't take that long to load the module, and it's going to make
users' life way easier.
2015-01-17 23:01:27 +01:00
Frank Denis
c64baf38c6 Do not require /dev/urandom emulation in Javascript any more. 2015-01-17 23:01:20 +01:00
Frank Denis
e7f410de10 Emscripten: don't use a memory init file any more.
It doesn't take that long to load the module, and it's going to make
users' life way easier.
2015-01-17 22:11:10 +01:00
Frank Denis
5efaad1997 Move conditionals 2015-01-17 21:48:42 +01:00
Frank Denis
9c0613525c Do not require /dev/urandom emulation in Javascript any more. 2015-01-17 21:43:57 +01:00
Frank Denis
201821065d Reserve slots for function pointers 2015-01-17 18:33:25 +01:00
Frank Denis
87972313d6 Do not export sysrandom symbols on Emscripten 2015-01-17 14:27:37 +01:00
Frank Denis
fa25d38288 Export _crypto_pwhash_scryptsalsa208sha256_ll 2015-01-17 12:42:51 +01:00
Frank Denis
c1b813c16a Emscripten: reserve space for 8 function pointers 2015-01-17 12:37:21 +01:00
Frank Denis
29285cd87b Decapitalize 2015-01-15 22:31:50 +01:00
Frank Denis
2ebf1ce288 Merge pull request #235 from mhamrle/master
Use bash for NDK make toolchain
2015-01-15 22:27:32 +01:00
Martin Hamrle
17247f7c99 Use bash for NDK make toolchain 2015-01-15 18:34:27 +01:00
Frank Denis
2c15c81ba5 Revert 17932c782e
It broke compilation on OpenBSD.
2015-01-15 16:21:09 +01:00