Frank Denis
df91dd1dd4
Remove the "examples" directory.
...
It is very incomplete and hasn't been updated for a long time.
The idea was good, and this directory might be resurrected later.
But for now, better hide it than keep something unfinished around.
2016-04-04 23:54:34 +02:00
Frank Denis
fce6852d64
Update the changelog
2016-04-04 21:44:00 +02:00
Frank Denis
cac1261335
Update appveyor version
2016-04-04 21:40:26 +02:00
Frank Denis
97b09aba0b
Move curve25519_ref10.h to include/sodium/private/
2016-04-04 18:03:08 +02:00
Frank Denis
8957364f47
Remove headers that are not required in MSVC solutions
2016-04-04 18:02:22 +02:00
Frank Denis
8df895b3ec
include/sodium/private.h -> include/sodium/private/common.h
2016-04-04 17:16:32 +02:00
Frank Denis
5cad35bfae
Remove some unneeded dependencies from MSVC project filters
2016-04-04 16:32:47 +02:00
Frank Denis
3927cad829
Relocate sodium/common.h
2016-04-04 16:28:40 +02:00
Frank Denis
703120c1a2
Version bump [only the package]
2016-04-04 12:53:35 +02:00
Frank Denis
b09e1970bc
Test that ciphertexts shorter than the MAC size aren't even read
2016-04-04 10:47:54 +02:00
Frank Denis
d73124a025
Make the test of truncated chacha20poly1305 ciphers less deterministic
2016-04-04 10:40:23 +02:00
Frank Denis
501ec7a679
Adjust another relative path for sodium/common.h
2016-04-04 08:44:59 +02:00
Frank Denis
fdf945afeb
Merge pull request #376 from dwrensha/relative-includes
...
Fix up relative includes of sodium/common.h
2016-04-04 08:36:38 +02:00
David Renshaw
c3b68c12d6
Fix up relative includes of sodium/common.h
2016-04-04 03:18:24 +00:00
Frank Denis
55f4cac2c9
Increase TOTAL_MEMORY for the Javascript target
2016-04-04 00:24:59 +02:00
Frank Denis
1550026a9a
Explain why blake2b_param_set_digest_length() is not needed
2016-04-03 13:52:55 +02:00
Frank Denis
abdc839367
Workaround for old gcc versions missing _mm256_broadcastsi128_si256()
...
Some old gcc versions define vbroadcasti128 as
_mm_broadcastsi128_si256() not _mm256_broadcastsi128_si256().
Detect this, and use _mm_broadcastsi128_si256() in that case.
2016-04-03 10:41:28 +02:00
Frank Denis
66045e6821
Update Appveyor version
2016-04-02 16:40:34 +02:00
Frank Denis
fc94d1159c
Nits
2016-04-02 13:30:22 +02:00
Frank Denis
c2b8ffb53d
NO_BROWSER is not required any more, even for tests
2016-04-02 12:18:52 +02:00
Frank Denis
0716b7701e
Initialize constant
2016-04-02 12:17:47 +02:00
Frank Denis
1853248f0a
Consistency
2016-04-02 12:08:41 +02:00
Frank Denis
e50f1e95ab
Reuse STORE64_LE whenever possible
2016-04-02 11:46:53 +02:00
Frank Denis
6ee06a9242
Include missing structures definitions
2016-04-02 09:01:03 +02:00
Frank Denis
698efbdc23
Consistency
2016-04-02 01:20:38 +02:00
Frank Denis
531c51e7a3
Stronger types for >= 16 bits shifts
2016-04-02 01:06:04 +02:00
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