Frank Denis
|
3e2bef97dc
|
Reduce a few expensive tests
|
2015-12-07 09:09:04 +01:00 |
|
Frank Denis
|
7ada62b1ff
|
Reduce some test cases, generate html test files
|
2015-12-07 08:58:35 +01:00 |
|
Frank Denis
|
e262425a4a
|
Reduce even more, for Chrome
|
2015-12-07 02:16:22 +01:00 |
|
Frank Denis
|
1600ccfdda
|
On a web browser, reduce the number of vectors for the sign test
|
2015-12-07 02:12:44 +01:00 |
|
Frank Denis
|
0eaa2294a4
|
Revert "Output signatures prefix in the signature test"
This reverts commit c73cbc42d9 .
|
2015-12-07 02:04:22 +01:00 |
|
Frank Denis
|
31b75afb99
|
Nits
|
2015-12-07 02:01:39 +01:00 |
|
Frank Denis
|
c73cbc42d9
|
Output signatures prefix in the signature test
|
2015-12-07 01:57:53 +01:00 |
|
Frank Denis
|
3d1e11fe81
|
Support a BROWSER_TESTS env variable to build tests for browsers
|
2015-12-07 01:44:33 +01:00 |
|
Frank Denis
|
7354964b91
|
Update the examples for libsodium 1.0.7
|
2015-12-06 23:08:44 +01:00 |
|
Frank Denis
|
c7eec99d2f
|
Update ChangeLog
|
2015-12-06 19:55:47 +01:00 |
|
Frank Denis
|
ec6b86611f
|
More checks for sodium_add() (overlaps) and sodium_increment()
|
2015-12-06 19:06:27 +01:00 |
|
Frank Denis
|
a65484a7e5
|
Don't define unused variables
|
2015-12-06 18:47:07 +01:00 |
|
Frank Denis
|
3796145631
|
autoconf: check that named registers work
|
2015-12-06 18:30:00 +01:00 |
|
Frank Denis
|
b816a44b13
|
Assembly optimized _increment() and _add() for common nonce types
|
2015-12-06 18:11:37 +01:00 |
|
Frank Denis
|
5b62287f98
|
Add a --enable-opt compile-time switch
|
2015-12-05 17:56:42 +01:00 |
|
Frank Denis
|
cb1b6a4a2f
|
Use -O2 & -flto for iOS targets
|
2015-11-30 00:17:22 +01:00 |
|
Frank Denis
|
bc531c6af5
|
On OSX, compile with -flto for better performance
|
2015-11-30 00:08:00 +01:00 |
|
Frank Denis
|
242429589f
|
Reformat
|
2015-11-28 16:18:41 +01:00 |
|
Frank Denis
|
13f8e1a162
|
+floodyberry for poly1305/sse2
|
2015-11-28 16:17:56 +01:00 |
|
Frank Denis
|
f58b84dd63
|
THANKS << Scott Arciszewski
|
2015-11-28 16:15:25 +01:00 |
|
Frank Denis
|
27ce39ebbe
|
Add a test with a null message in box_easy()
|
2015-11-27 14:18:43 +01:00 |
|
Frank Denis
|
b482401b46
|
Add tests with null message in secretbox_easy.c
|
2015-11-27 14:13:21 +01:00 |
|
Frank Denis
|
ba6833cc16
|
Use sodium_malloc() for the secretbox_easy2 test
|
2015-11-27 12:30:13 +01:00 |
|
Frank Denis
|
2e5c94a34f
|
Use guarded memory for the box_easy2() test
+ non-deterministic buffer sizes
|
2015-11-27 12:13:58 +01:00 |
|
Frank Denis
|
d11819eaf5
|
Let blake2b abort on invalid parameters instead of returning -1
|
2015-11-27 11:02:27 +01:00 |
|
Frank Denis
|
4ec7fb481d
|
Remove generichash tests with invalid parameters
They must be reintroduced at some point, probably by overriding
the `abort` symbol.
|
2015-11-27 11:00:29 +01:00 |
|
Frank Denis
|
0ec04baf95
|
Nit
|
2015-11-27 01:53:47 +01:00 |
|
Frank Denis
|
e0b027f112
|
Constify & add a note on _mm_loadl_epi64()
|
2015-11-27 01:34:14 +01:00 |
|
Frank Denis
|
38fd43d7d3
|
Use memcpy() instead of a cast
|
2015-11-27 01:18:07 +01:00 |
|
Frank Denis
|
b40663a10c
|
Don't assume that substracting unrelated pointers is acceptable.
Having to increment two pointers instead of one is the price to
pay for portability, but it's not that big of a deal here.
|
2015-11-27 01:06:54 +01:00 |
|
Frank Denis
|
ef3a073d13
|
Avoid unnecessary casts for the nonce/counter
|
2015-11-27 00:09:57 +01:00 |
|
Frank Denis
|
d341893ec6
|
format
|
2015-11-26 22:34:40 +01:00 |
|
Frank Denis
|
c160dbc9cd
|
Use uint128_t consistently
|
2015-11-26 22:34:21 +01:00 |
|
Frank Denis
|
85dbcd6c52
|
Replace some casts with memcpy()
|
2015-11-26 22:32:29 +01:00 |
|
Frank Denis
|
457ff09ee7
|
Revert
|
2015-11-26 19:07:37 +01:00 |
|
Frank Denis
|
23b4e21680
|
Directly use the internal state type when possible
|
2015-11-26 18:28:08 +01:00 |
|
Frank Denis
|
9a2a278715
|
Use memset() instead of a cast
|
2015-11-26 18:21:31 +01:00 |
|
Frank Denis
|
04a59d0bb0
|
Fix aliasing violations, even though we always disable strict aliasing
|
2015-11-26 18:19:24 +01:00 |
|
Frank Denis
|
a2540cb103
|
Avoid pointer casting when using Emscripten
|
2015-11-26 17:07:57 +01:00 |
|
Frank Denis
|
a5b4926a19
|
Keep it simple to avoid issues with the different heaps in Emscripten
|
2015-11-26 17:06:18 +01:00 |
|
Frank Denis
|
20a13f60b5
|
Move Ted Krovetz to the implementors list
|
2015-11-26 12:39:46 +01:00 |
|
Frank Denis
|
ff37903a00
|
Rephrase
|
2015-11-26 12:36:26 +01:00 |
|
Frank Denis
|
2cbb5de483
|
Move size checks to the main chacha20 encryption function
|
2015-11-26 12:34:49 +01:00 |
|
Frank Denis
|
1cd715eb5d
|
Remove unused code
|
2015-11-26 12:27:31 +01:00 |
|
Frank Denis
|
cfdf25697e
|
Constify pointers & acknowledge that unaligned accesses are okay
|
2015-11-26 12:26:19 +01:00 |
|
Frank Denis
|
ed64bfdf17
|
C++ compat
|
2015-11-25 16:41:36 +01:00 |
|
Frank Denis
|
1e71f849b5
|
1.0.7 (not released yet)
|
2015-11-25 16:12:42 +01:00 |
|
Frank Denis
|
7f311aa39b
|
Update ChangeLog
|
2015-11-25 16:09:07 +01:00 |
|
Frank Denis
|
96d83ec341
|
Update ChangeLog
|
2015-11-25 15:59:13 +01:00 |
|
Frank Denis
|
9a96bdc4b3
|
Don't use C99 when it's not required
|
2015-11-25 15:58:05 +01:00 |
|