Frank Denis
|
ca71815db3
|
((unsigned long long) 1) -> 1ULL
|
2016-04-02 00:57:33 +02:00 |
|
Frank Denis
|
42535e0b40
|
(1 << x) -> (1UL << x) for compilers where sizeof(int) == 2
|
2016-04-02 00:54:17 +02:00 |
|
Frank Denis
|
95114d8592
|
l -> L
|
2016-04-02 00:44:41 +02:00 |
|
Frank Denis
|
d4fd35d543
|
Update the list of symbols exported to Javascript
|
2016-04-01 21:28:21 +02:00 |
|
Frank Denis
|
cff964d0f9
|
Add symbols to include/ignore
|
2016-04-01 20:55:35 +02:00 |
|
Frank Denis
|
5cdd950c5c
|
Reformat
|
2016-04-01 20:51:05 +02:00 |
|
Frank Denis
|
d7f5877df5
|
Add crypto_pwhash_argon2i_ALG_ARGON2I13
|
2016-04-01 20:48:34 +02:00 |
|
Frank Denis
|
384e08b7f4
|
Require an algorithm identifier in crypto_pwhash()
|
2016-04-01 20:29:28 +02:00 |
|
Frank Denis
|
5d8c878ffb
|
Remove mlen_p from the AEAD detached interface
|
2016-03-30 21:20:34 +02:00 |
|
Frank Denis
|
2b1d7cb750
|
Revisit the default set of compiler warnings
|
2016-03-27 11:10:36 +02:00 |
|
Frank Denis
|
7afe93f9a2
|
Mark test functions as static and __attribute__ ((noreturn))
|
2016-03-27 00:32:25 +01:00 |
|
Frank Denis
|
de22f38da2
|
Mark the _out_of_bounds() function as noreturn
|
2016-03-27 00:21:04 +01:00 |
|
Frank Denis
|
25faa47b46
|
Include blake2b_long prototype
|
2016-03-27 00:11:32 +01:00 |
|
Frank Denis
|
4008158b9d
|
Thanks!
|
2016-03-25 16:32:05 +01:00 |
|
Frank Denis
|
20bf121fcd
|
1.0.9 is almost ready to be tagged
|
2016-03-25 16:30:36 +01:00 |
|
Frank Denis
|
2aa703fcc7
|
Restore the previous sodium_malloc(0) behavior
If aligned memory cannot be obtained, allocate 1 byte
to always return a non-NULL pointer.
|
2016-03-25 16:26:37 +01:00 |
|
Frank Denis
|
811bdb2c5f
|
Explicit cast; length is already checked by the caller
|
2016-03-25 16:00:52 +01:00 |
|
Frank Denis
|
1f1d3f70b9
|
More Argon2 tests
|
2016-03-25 15:45:50 +01:00 |
|
Frank Denis
|
fb865c9a5c
|
More tests / lcov exclusions
|
2016-03-25 15:36:57 +01:00 |
|
Frank Denis
|
58e4cdf809
|
Make Argon2 encode/decode return codes consistent with other functions
|
2016-03-25 14:54:14 +01:00 |
|
Frank Denis
|
e9b7a71a38
|
Remove unused code
|
2016-03-25 12:29:25 +01:00 |
|
Frank Denis
|
a25569320c
|
The version in Argon2i strings is separated from other parameters
|
2016-03-25 12:27:04 +01:00 |
|
Frank Denis
|
d91adb2cff
|
Avoid implicit sodium_malloc(0) in tests
|
2016-03-25 10:50:52 +01:00 |
|
Frank Denis
|
321e9eab2e
|
Remove useless check
|
2016-03-25 10:38:50 +01:00 |
|
Frank Denis
|
da448c38e4
|
Nits
|
2016-03-25 09:55:37 +01:00 |
|
Frank Denis
|
eb13ec0cff
|
Make sodium_malloc(0) well-defined. It always returns NULL.
|
2016-03-25 09:44:41 +01:00 |
|
Frank Denis
|
02e4b3b842
|
Check memory base instead of the aligned pointer
No behavior change, but it is less confusing to static analyzers
|
2016-03-25 09:42:32 +01:00 |
|
Frank Denis
|
346f8c131e
|
More tests
|
2016-03-24 22:16:52 +01:00 |
|
Frank Denis
|
71a548ac10
|
Additional tests for BLAKE2b
|
2016-03-24 21:57:33 +01:00 |
|
Frank Denis
|
7a08f643bf
|
Remove unused declaration
|
2016-03-24 21:06:07 +01:00 |
|
Frank Denis
|
55c3eed151
|
Have the SSE2 test trigger a conversion with old gcc versions
|
2016-03-24 19:18:15 +01:00 |
|
Frank Denis
|
3f765f1737
|
Old gcc versions need -flax-vector-conversions to compile some intrinsics
|
2016-03-24 19:11:21 +01:00 |
|
Frank Denis
|
a3a2b74bd8
|
Use existing functions for unaligned access in hash_sha*
|
2016-03-24 15:02:34 +01:00 |
|
Frank Denis
|
e07a45223f
|
Nits
|
2016-03-24 13:06:59 +01:00 |
|
Frank Denis
|
f40e0baca3
|
Remove hidden symbols from emscripten-symbols.def
|
2016-03-24 10:57:19 +01:00 |
|
Frank Denis
|
b31f59d835
|
-save-temps is messing with the detection of supported directives
Remove it from --enable-opt, and don't use any directives to restrict
symbol visibility if detection appears to be unreliable
|
2016-03-24 10:55:47 +01:00 |
|
Frank Denis
|
f4cc8aeb48
|
Force LITTLE_ENDIAN detection on x86 and x86_64
This is a sad workaround for CompCert 2.6
|
2016-03-24 09:24:35 +01:00 |
|
Frank Denis
|
7bb9b7fc70
|
Endianness
|
2016-03-24 09:05:09 +01:00 |
|
Frank Denis
|
caae5e85f3
|
C++ compat
|
2016-03-23 17:22:35 +01:00 |
|
Frank Denis
|
b483845eb5
|
Tests must use sodium_malloc() as much as possible
|
2016-03-23 16:23:40 +01:00 |
|
Frank Denis
|
cb150c2d3d
|
sizeof() -> constants
|
2016-03-23 15:55:45 +01:00 |
|
Frank Denis
|
2b79c12f93
|
Nits
|
2016-03-23 15:41:55 +01:00 |
|
Frank Denis
|
f137857e18
|
Add tests for the detached chacha20poly1305 API
|
2016-03-23 15:20:23 +01:00 |
|
Frank Denis
|
0df15c5a65
|
Update ChangeLog
|
2016-03-23 12:20:40 +01:00 |
|
Frank Denis
|
3295752821
|
Of course, GNU ld doesn't know about .private_extern
|
2016-03-22 21:26:39 +01:00 |
|
Frank Denis
|
bafc9c70e1
|
Only use .private_extern if this is supported
|
2016-03-22 20:42:07 +01:00 |
|
Frank Denis
|
26e4cf479a
|
Reduce symbols visibility in curve25519_sandy2x
|
2016-03-22 19:55:07 +01:00 |
|
Frank Denis
|
bdd5e07ff9
|
Set JS_EXPORTS_FLAGS after EXPORTED_FUNCTIONS
|
2016-03-21 21:26:21 +01:00 |
|
Frank Denis
|
054f563b0a
|
Add the script to generate the emscripten symbols
|
2016-03-21 21:00:56 +01:00 |
|
Frank Denis
|
38265884ba
|
Update emscripten symbols, add a "sumo" mode
|
2016-03-21 20:59:47 +01:00 |
|