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 |
|
Frank Denis
|
8011838dcd
|
Use more portable types
|
2015-11-25 15:48:03 +01:00 |
|
Frank Denis
|
508a04896d
|
Remove blank line
|
2015-11-25 15:44:18 +01:00 |
|
Frank Denis
|
714bf75c6f
|
!__GNUC__ : not yet
|
2015-11-25 15:35:20 +01:00 |
|
Frank Denis
|
8f9faa2229
|
Use chacha20_vec if available
|
2015-11-25 15:32:54 +01:00 |
|
Frank Denis
|
fce550257e
|
+ Ted Krovetz
|
2015-11-25 15:26:35 +01:00 |
|
Frank Denis
|
fb42d081d7
|
Link chacha20_vec
|
2015-11-25 15:23:22 +01:00 |
|
Frank Denis
|
31c4df3f59
|
x -> ctx
|
2015-11-25 15:08:48 +01:00 |
|
Frank Denis
|
a27011ce48
|
+ missing stdint.h inclusion
|
2015-11-25 14:21:21 +01:00 |
|
Frank Denis
|
a879c090b4
|
No need to zero the counter
|
2015-11-25 14:19:44 +01:00 |
|
Frank Denis
|
1c8e34577f
|
Less deterministic crypto_verify_*() tests
|
2015-11-25 14:10:36 +01:00 |
|
Frank Denis
|
65fbe15fa3
|
Slightly faster verify_{16,32,64}
|
2015-11-25 12:19:17 +01:00 |
|
Frank Denis
|
d5fd75dcc7
|
Make crypto_stream_chacha20 modular like the rest
In preparation for optimized implementations
|
2015-11-25 01:17:37 +01:00 |
|
Frank Denis
|
82b41835c5
|
Support the IBM compiler
|
2015-11-23 17:06:33 +01:00 |
|
Frank Denis
|
d8b9b395a3
|
Mark everything as static in tests
|
2015-11-23 16:07:13 +01:00 |
|
Frank Denis
|
cb9d52760c
|
Update the Visual Studio 2015 solution
|
2015-11-23 15:36:28 +01:00 |
|