Frank Denis
|
8326bc1d75
|
CRLF
|
2016-04-29 20:36:06 +02:00 |
|
Frank Denis
|
251b836f01
|
NativeClient complains about __memset_chk being undefined on OSX.
Work around this. There might be a better fix, but at least the
test suite compiles with the newlib.
|
2016-04-29 20:34:24 +02:00 |
|
Frank Denis
|
7a667edbd0
|
NativeClient: use get_random_bytes directly instead of the wrapper
|
2016-04-29 10:51:13 +02:00 |
|
Frank Denis
|
681176e187
|
abort() if nacl_secure_random() ever returns 0 but the wrong size
|
2016-04-29 10:08:45 +02:00 |
|
Frank Denis
|
40db481236
|
Use pepper_49
|
2016-04-29 09:45:12 +02:00 |
|
Frank Denis
|
fbad64f6ef
|
Disable asm on native client
|
2016-04-28 21:31:18 +02:00 |
|
Frank Denis
|
5f3b59c8b0
|
Tabify
|
2016-04-27 11:37:21 +02:00 |
|
Frank Denis
|
46539b9381
|
Indent
|
2016-04-27 00:11:00 +02:00 |
|
Frank Denis
|
ffd5987e7c
|
Proper lock test on Windows
|
2016-04-26 01:43:00 +02:00 |
|
Frank Denis
|
d908d08b0d
|
Simplify the fallback _sodium_crit_enter() code
|
2016-04-25 20:15:33 +02:00 |
|
Frank Denis
|
f8ff8ebf66
|
Add locks around sodium_init()
|
2016-04-25 18:33:11 +02:00 |
|
Frank Denis
|
14211cd7ea
|
Update include guard
|
2016-04-22 12:01:56 +02:00 |
|
Frank Denis
|
b2586f5402
|
Use the same convention for include guards everywhere
|
2016-04-22 11:46:37 +02:00 |
|
Frank Denis
|
801fbde757
|
scrypt/sse - Note that B's layout is permuted compared to nosse
|
2016-04-21 20:37:11 +02:00 |
|
Frank Denis
|
2de4b3f514
|
Hand-roll zeroing instead of relying on memset()
|
2016-04-21 17:17:24 +02:00 |
|
Frank Denis
|
24daccad11
|
Remove README
|
2016-04-19 02:20:32 +02:00 |
|
Frank Denis
|
107513fdea
|
Larger logo, less prominent saltcellar
|
2016-04-19 02:16:50 +02:00 |
|
Frank Denis
|
b94a76f8ab
|
Import ax_pthread.m4
|
2016-04-19 00:27:35 +02:00 |
|
Frank Denis
|
e816ffb56c
|
Quotes
|
2016-04-19 00:24:46 +02:00 |
|
Frank Denis
|
492d4b1dd6
|
Repair NativeClient support
|
2016-04-18 21:40:18 +02:00 |
|
Frank Denis
|
bdf5c8246b
|
Compile with pthreads
|
2016-04-18 20:54:46 +02:00 |
|
Frank Denis
|
8ab4334945
|
if -> ifdef
|
2016-04-18 16:53:34 +02:00 |
|
Frank Denis
|
214f16802b
|
Do not use emscripten's headless mode
|
2016-04-17 23:58:44 +02:00 |
|
Frank Denis
|
4ff0d326e1
|
Remove crypto_pwhash_*() from the non-sumo Javascript distribution
|
2016-04-17 23:18:18 +02:00 |
|
Frank Denis
|
9aab628b97
|
pwhash_*() require heap allocations, but everything else doesn't
|
2016-04-17 23:15:53 +02:00 |
|
Frank Denis
|
5dce2b5c64
|
Revamp the emscripten build script
|
2016-04-17 22:45:37 +02:00 |
|
Frank Denis
|
7055d81aaa
|
Reduce TOTAL_MEMORY
|
2016-04-15 00:32:09 +02:00 |
|
Frank Denis
|
da65a7f003
|
JS target: use -Os instead of -O3
Performance is roughly the same, but output is noticeably smaller
|
2016-04-14 23:13:40 +02:00 |
|
Frank Denis
|
531ce5bd32
|
Do not use getrandom(2) on SLES11 service pack 4
|
2016-04-14 17:21:42 +02:00 |
|
Frank Denis
|
9a9dc02ee1
|
Do not use -Ofast
|
2016-04-13 11:13:59 +02:00 |
|
Frank Denis
|
c41bf91a48
|
Run make clean after ./configure instead of distclean before
|
2016-04-13 10:58:35 +02:00 |
|
Frank Denis
|
9f1a5e0cf9
|
Check for MinGW presence
|
2016-04-13 10:49:55 +02:00 |
|
Frank Denis
|
daeaf63f9c
|
Not an ELF system, not an Apple system, weak symbols may not work
|
2016-04-13 09:22:51 +02:00 |
|
Frank Denis
|
76d061b8a5
|
Revert -lfto addition on msys2
|
2016-04-13 09:11:52 +02:00 |
|
Frank Denis
|
535449612d
|
msys2 supports -Ofast and -flto these days
|
2016-04-13 08:52:56 +02:00 |
|
Frank Denis
|
3fe5590b94
|
Do not forget crypto_pwhash.c on Visual Studio
|
2016-04-13 08:12:54 +02:00 |
|
Frank Denis
|
34aeee6ba5
|
Replace two more memcpy() with a local loop
|
2016-04-12 07:30:54 +02:00 |
|
Frank Denis
|
d7294320c4
|
sha{512,256}: use a local loop instead of if + memcpy()
Compilers can't figure out the max inlen value, so help them with an
explicit AND.
Unify the name of the input pointer by the way.
|
2016-04-12 02:14:45 +02:00 |
|
Frank Denis
|
727703a8a1
|
https
|
2016-04-12 01:27:22 +02:00 |
|
Frank Denis
|
e2f75d6168
|
Make assertions more readable
|
2016-04-12 01:23:14 +02:00 |
|
Frank Denis
|
bbf1e17983
|
Avoid bit shifting with signed values
|
2016-04-12 00:51:41 +02:00 |
|
Frank Denis
|
50e11be472
|
memcpy(): pointers must be valid even if the size is 0
|
2016-04-12 00:41:37 +02:00 |
|
Frank Denis
|
0248c38626
|
Use slightly more modern target CPUs for the msys2 builds
|
2016-04-11 23:26:21 +02:00 |
|
Frank Denis
|
0a590b07b2
|
Decryption functions can now accept a NULL pointer for the output
This checks the MAC without writing the decrypted message.
|
2016-04-11 18:33:50 +02:00 |
|
Frank Denis
|
80310ef56c
|
Set randombytes_implementation to NULL by default, to cope with Visual Studio 2008
|
2016-04-08 17:50:18 +02:00 |
|
Frank Denis
|
a53a9c98d2
|
Back to dev mode
|
2016-04-08 08:25:42 +02:00 |
|
Frank Denis
|
22ab28be0a
|
Require Visual Studio 2010+ for AESNI
|
2016-04-07 18:57:07 +02:00 |
|
Frank Denis
|
292969b3b5
|
Argon2: initialize ctx{.pwd,.pwdlen} in the verify function
Keep initializing the length for clarity;
Compilers know how to optimize this out.
|
2016-04-07 08:19:50 +02:00 |
|
Frank Denis
|
2e7247d8b1
|
Use absolute .done files
|
2016-04-06 18:21:27 +02:00 |
|
Frank Denis
|
99576d46d0
|
Use a specific "done" file for every javascript target
|
2016-04-06 15:05:59 +02:00 |
|