Frank Denis
60e86eb03d
Regen configure
2018-01-07 15:41:43 +01:00
Frank Denis
482ec23611
Check for __aarch64__ instead of __ARM_NEON for 128-bit arithmetic
2018-01-07 15:41:27 +01:00
Frank Denis
4df69b6310
Regen configure
2018-01-04 18:05:54 +01:00
Frank Denis
d76885d554
Check for -mretpoline / -zretpolineplt support
2018-01-04 18:05:26 +01:00
Frank Denis
5398407a5b
2018
2018-01-04 18:05:23 +01:00
Frank Denis
090b8318cb
Regen configure script
2017-12-31 01:37:28 +01:00
Frank Denis
59f8556bfa
Check if we can use inline asm code, not only on x86_64
2017-12-31 01:24:26 +01:00
Frank Denis
8c2e89d109
Use (""::"r"(pnt):"memory") instead of (""::"p"(pnt)) for the barrier
2017-12-31 01:10:48 +01:00
Frank Denis
88c1dd29ce
Disable LTO in ios/osx build scripts
2017-12-31 00:57:16 +01:00
Frank Denis
103e3decad
Regen configure
2017-12-27 09:28:09 +01:00
Ryan Lester
0ceb245eea
Closure fix
2017-12-27 08:54:20 +01:00
Ryan Lester
a8aedc7ce2
updates for latest emscripten
2017-12-27 08:54:13 +01:00
Frank Denis
71966fd0c6
emscripten: malloc() and free() should be exported as library symbols
2017-12-25 23:35:06 +01:00
Frank Denis
942a6f9fa6
Export setValue, getValue
2017-12-25 22:59:41 +01:00
Frank Denis
deb4a223d2
emscripten: move the set of exported runtime methods
2017-12-25 22:35:02 +01:00
Frank Denis
feddd3fab9
emscripten: export _malloc() and _free()
2017-12-25 22:31:39 +01:00
Frank Denis
a3d8450109
emscripten: export Pointer_stringify() for recent emscripten versions
2017-12-25 22:20:04 +01:00
Frank Denis
b92e7b40ed
Brace yourself
2017-12-22 17:06:38 +01:00
Frank Denis
6b38e87f01
Remove the dummy FS call from the Javascript tests
2017-12-21 21:36:15 +01:00
Frank Denis
f8ad9651f9
Javascript tests: don't call FS.*() if the filesystem module is not present
2017-12-21 21:27:50 +01:00
Frank Denis
eeb135010d
Emscripten: run the tests in benchmark mode
2017-12-21 18:51:56 +01:00
Frank Denis
69834d667e
Static
2017-12-21 18:50:11 +01:00
Frank Denis
bee480cfd3
Extra braces
2017-12-21 16:57:04 +01:00
Frank Denis
fb53590047
Remove unused LOAD128() and STORE128() macros
2017-12-21 16:48:52 +01:00
Frank Denis
266571b5b1
Use default randombytes implementation for tests on emscripten
2017-12-21 02:04:21 +01:00
Frank Denis
dd0aa7cccf
emscripten: stick to the unique randombytes implementation
2017-12-21 00:33:27 +01:00
Frank Denis
a2c18ca3ba
Emscripten: bump the memory up for the tests
2017-12-20 23:04:36 +01:00
Frank Denis
858bfd0914
Prefer the system version of nodejs to the emscripten one
2017-12-20 22:52:31 +01:00
Frank Denis
bf1444f976
Do not assume that __clang__ being defined implied __GNUC__ defined as well
2017-12-19 21:41:56 +01:00
Frank Denis
6ad5d45404
Regen configure
2017-12-18 23:47:52 +01:00
Frank Denis
535559420e
Enable 128-bit arithmetic clang+systems with NEON
2017-12-18 23:46:30 +01:00
Frank Denis
efc625f26d
Regen configure
2017-12-18 14:26:50 +01:00
Frank Denis
1515f1b3ba
Disable ssp on HaikuOS
2017-12-18 14:23:10 +01:00
Frank Denis
83b031bfd7
Undefine printf if required
2017-12-16 21:01:12 +01:00
Frank Denis
192fd92cc7
Plug memory leaks in the pwhash_argon2* tests
2017-12-16 14:53:01 +01:00
Frank Denis
afbef83c6b
Add missing sodium_free() calls in the kdf test
2017-12-16 14:31:41 +01:00
Frank Denis
765710c1f4
Sort
2017-12-16 13:29:53 +01:00
Frank Denis
7e02306443
+ #include <limits.h>
2017-12-16 13:29:49 +01:00
Frank Denis
8fed6e5b46
We really don't need an intermediate variable here
2017-12-16 13:29:44 +01:00
Frank Denis
5bc564cac1
1.0.16
...
* master: (221 commits)
Comment
Comments
msys2 build scripts: just use -Ofast
Always prefer vararrays to alloca()
Don't redefine alloca
Return -1 if the scalar is 0 in crypto_scalarmult_ed25519()
Remove trailing space
Import the regen-msvc script
Update ChangeLog
Do not wipe the workspace after argon2 completes
Remove tests for deprecated functions
Give the compiler a change to inline index_alpha()
Immediately allocate all required memory in argon2/scrypt
Check reduced-round salsa variants in non-minimal mode
Coverage exclusion -- this is just an extra, redundant check
Remove incorrect and useless cast
-fomit-frame-pointer makes a different on mips
WebAssembly benefits from the 128-bit types, too
Remove extra spaces
Undef devel
...
2017-12-13 16:21:20 +01:00
Frank Denis
675149b9b8
Comment
2017-12-13 10:24:13 +01:00
Frank Denis
a1d438c8ba
Comments
2017-12-13 00:03:01 +01:00
Frank Denis
1d85e73d8f
msys2 build scripts: just use -Ofast
2017-12-12 23:42:54 +01:00
Frank Denis
95a7dc5e46
Always prefer vararrays to alloca()
2017-12-12 22:27:21 +01:00
Frank Denis
2f56443631
Don't redefine alloca
2017-12-12 22:23:37 +01:00
Frank Denis
ac8dffbecb
Return -1 if the scalar is 0 in crypto_scalarmult_ed25519()
...
For consistency with _base()
2017-12-12 14:35:08 +01:00
Frank Denis
e82e69ad98
Remove trailing space
2017-12-12 00:13:31 +01:00
Frank Denis
744d24bb1e
Import the regen-msvc script
2017-12-12 00:12:49 +01:00
Frank Denis
bdc60d47ed
Update ChangeLog
2017-12-11 23:42:02 +01:00
Frank Denis
ec67b0890f
Do not wipe the workspace after argon2 completes
...
The overhead can be really prohibitive on servers.
2017-12-11 23:38:20 +01:00