Frank Denis
|
4828c5923a
|
~ 80 columns please
|
2017-09-18 20:52:38 +02:00 |
|
Frank Denis
|
66c621f417
|
Faster; doesn't require to wipe the output stream
|
2017-09-18 20:51:47 +02:00 |
|
Frank Denis
|
5da8f4fbc6
|
Add a global xor_buf() private helper function
|
2017-09-18 19:39:41 +02:00 |
|
Frank Denis
|
7d756fab96
|
xor the key and the nonce on rekey for better separation
|
2017-09-18 19:25:06 +02:00 |
|
Frank Denis
|
bb1b27fa36
|
Improve readability
|
2017-09-18 18:55:56 +02:00 |
|
Frank Denis
|
10bb28b27e
|
One more COMPILER_ASSERT()
|
2017-09-18 18:15:53 +02:00 |
|
Frank Denis
|
2ce41de29b
|
Define macros instead of repeated offsets
Improves readability, removes bugs
|
2017-09-18 18:11:29 +02:00 |
|
Frank Denis
|
e878bc141b
|
More keygen tests
|
2017-09-17 23:13:38 +02:00 |
|
Frank Denis
|
f244f658d6
|
int -> size_t
|
2017-09-17 23:13:27 +02:00 |
|
Frank Denis
|
9c53da4a6d
|
metamorphic tests for HMAC
|
2017-09-17 21:55:29 +02:00 |
|
Frank Denis
|
bd69a3083a
|
metamorphic tests for onetimeauth
|
2017-09-17 21:48:16 +02:00 |
|
Frank Denis
|
a7b75a2d7d
|
+ simple metamorphic tests for crypto_generichash()
This needs to be extended to other APIs with a streaming interface
|
2017-09-17 21:41:32 +02:00 |
|
Frank Denis
|
a029b352af
|
Don't generate SSE2 code if that instruction set hasn't been enabled
|
2017-09-17 18:23:31 +02:00 |
|
Frank Denis
|
09fd953fce
|
Revert "__SSE2__ may need to be explicitly enabled"
This reverts commit 35d8aa5d3e .
|
2017-09-17 18:19:57 +02:00 |
|
Frank Denis
|
35d8aa5d3e
|
__SSE2__ may need to be explicitly enabled
|
2017-09-17 18:15:18 +02:00 |
|
Frank Denis
|
a161dd9fa1
|
On 32-bit systems, the limit is SIZE_MAX
|
2017-09-17 16:36:01 +02:00 |
|
Frank Denis
|
251751e699
|
Update ChangeLog
|
2017-09-17 12:02:20 +02:00 |
|
Frank Denis
|
d8a8201bb2
|
Avoid "in" and "out". Use "c" to represent the ciphertext.
|
2017-09-16 23:43:46 +02:00 |
|
Frank Denis
|
1181a47cb4
|
Proper xchacha20poly1305_MESSAGEBYTES_MAX definition
|
2017-09-16 23:37:52 +02:00 |
|
Frank Denis
|
bfab44aa40
|
initbytes -> headerbytes for clarity
|
2017-09-16 23:21:28 +02:00 |
|
Frank Denis
|
e8f1c0be66
|
secretstream: use "header" instead of "in" and "out" for clarity
|
2017-09-16 23:15:28 +02:00 |
|
Frank Denis
|
9e0ff55ebd
|
Add the ability to use only strong symbols, even on ELF targets
|
2017-09-15 18:52:04 +02:00 |
|
Frank Denis
|
b0420b32d7
|
Define SODIUM_EXPORT_WEAK instead of adding __attribute__((weak)) tags
|
2017-09-15 18:28:42 +02:00 |
|
Frank Denis
|
ae515a16aa
|
Bring back -fno-asynchronous-unwind-tables on MingW
|
2017-09-15 15:50:51 +02:00 |
|
Frank Denis
|
3df3fabb87
|
No default clause needed
|
2017-09-15 15:43:16 +02:00 |
|
Frank Denis
|
1f8056ab11
|
Use #error in autoconf tests
|
2017-09-15 15:26:19 +02:00 |
|
Frank Denis
|
147d8b6205
|
Disable AVX512 on MingW even harder
|
2017-09-15 15:24:13 +02:00 |
|
Frank Denis
|
ffce4334e4
|
Disable AVX512 on MingW for now
|
2017-09-15 15:16:56 +02:00 |
|
Frank Denis
|
07de00bc9a
|
Revert -fno-asynchronous-unwind-tables addition
Try linking an object with AVX-512 opcodes instead
|
2017-09-15 15:10:01 +02:00 |
|
Frank Denis
|
9aa1165314
|
up
|
2017-09-15 15:01:33 +02:00 |
|
Frank Denis
|
eb8c283dd8
|
Add -fno-asynchronous-unwind-tables to optimized builds
No need to check if the linker supports this.
|
2017-09-15 14:57:24 +02:00 |
|
Frank Denis
|
186b398a21
|
-fno-asynchronous-unwind-tables is now required on MingW
|
2017-09-15 14:39:37 +02:00 |
|
Frank Denis
|
7de597f051
|
Update m4 deps ; remove pkg.m4
|
2017-09-15 14:24:07 +02:00 |
|
Frank Denis
|
383705ffc2
|
The AVX512 optimized BLAKE2B implementation hasn't been imported yet
|
2017-09-15 13:15:43 +02:00 |
|
Frank Denis
|
f86f021acf
|
Travis CI : Move the tcc check to the install step
|
2017-09-15 13:12:17 +02:00 |
|
Frank Denis
|
19496bcc01
|
Don't try to access /usr/local on Travis CI
|
2017-09-15 13:08:14 +02:00 |
|
Frank Denis
|
ca43a12683
|
Old tcc versions miscompile while (++in[x])
So, let's just keep things readable, even for compilers.
|
2017-09-15 12:58:47 +02:00 |
|
Frank Denis
|
10edd16b40
|
Modernize the core3 test
|
2017-09-15 12:39:18 +02:00 |
|
Frank Denis
|
dcde773e5b
|
Travis CI: don't run multiple jobs in parallel due to memory requirements
|
2017-09-15 12:25:15 +02:00 |
|
Frank Denis
|
150c6930e0
|
Travis CI: avoid duplicate addons section
|
2017-09-15 12:21:03 +02:00 |
|
Frank Denis
|
cdfb0aaa32
|
tcc + travis...
|
2017-09-15 12:11:21 +02:00 |
|
Frank Denis
|
9f40111977
|
tcc doesn't seem to work on Travis CI
|
2017-09-15 12:08:43 +02:00 |
|
Frank Denis
|
7e8cdd8279
|
Travis: start with a quick compilation using tcc
|
2017-09-15 12:03:53 +02:00 |
|
Frank Denis
|
c6aa04108e
|
Move #ifdef up
|
2017-09-15 10:19:34 +02:00 |
|
Frank Denis
|
b31a3f247e
|
Disable AVX512 optimizations on clang < 4
|
2017-09-15 10:10:30 +02:00 |
|
Frank Denis
|
4aba976d5f
|
Explicit casts
|
2017-09-15 01:00:43 +02:00 |
|
Frank Denis
|
15ee95c64c
|
Remove unused var
|
2017-09-15 00:57:44 +02:00 |
|
Frank Denis
|
dcd60ba661
|
Force inline
|
2017-09-15 00:06:37 +02:00 |
|
Frank Denis
|
5cc334b33c
|
Add AVX512F optimized Argon2 implementation
|
2017-09-15 00:04:18 +02:00 |
|
Frank Denis
|
70f66c9a6d
|
Check for avx/avx2/avx512f linkage
|
2017-09-14 00:05:37 +02:00 |
|