Frank Denis
|
2742547a27
|
Link poly1305_sse2
Breakage is expected as partial blocks are not handled yet
|
2015-11-14 14:34:34 +01:00 |
|
Frank Denis
|
a964055487
|
Make the poly1305_sse2 code more consistent with the other implementation
|
2015-11-14 13:57:25 +01:00 |
|
Frank Denis
|
6b7811471b
|
Import vanilla poly1305_sse2
|
2015-11-14 13:55:40 +01:00 |
|
Frank Denis
|
121978e2c3
|
Different ways to avoid inlining
|
2015-11-14 10:27:08 +01:00 |
|
Frank Denis
|
bd4c5c0d17
|
Remove crypto_onetimeauth_poly1305_donna_implementation_name() prototype
|
2015-11-14 01:57:46 +01:00 |
|
Frank Denis
|
c179651c62
|
auth_poly1305_donna.c -> poly1305_donna.c for consistency
|
2015-11-14 01:40:09 +01:00 |
|
Frank Denis
|
fb28119a38
|
Check inline assembly code using __asm__ __volatile__
|
2015-11-14 01:21:55 +01:00 |
|
Frank Denis
|
985d3891f9
|
Use poly1305_state_internal_t for the state of poly1305 internal functions
|
2015-11-14 01:04:28 +01:00 |
|
Frank Denis
|
2550fd8f1c
|
Indent
|
2015-11-14 00:38:07 +01:00 |
|
Frank Denis
|
75cc7123da
|
ctx -> state for consistency with the high-level functions
|
2015-11-14 00:30:08 +01:00 |
|
Frank Denis
|
580c22fd21
|
Get rid of poly1305_state to reduce the number of indirections
|
2015-11-14 00:19:18 +01:00 |
|
Frank Denis
|
8bced53601
|
Add compilation-time poly1305 structure size checks
|
2015-11-13 23:12:20 +01:00 |
|
Frank Denis
|
7561a25d5a
|
Add a is_zero() helper
|
2015-11-13 01:48:34 +01:00 |
|
Frank Denis
|
cc29da17c3
|
Use minimal builds on msys2
|
2015-11-11 12:41:41 +01:00 |
|
Frank Denis
|
1f18cf383a
|
Always include <stdint.h> and <limits.h> for SIZE_MAX
|
2015-11-10 19:01:39 +01:00 |
|
Frank Denis
|
ceb9c566fb
|
Implement the old edwards25519sha512batch construction on top of ref10
Only for backward compatibility; not compiled in minimal mode.
|
2015-11-10 11:06:13 +01:00 |
|
Frank Denis
|
2ff0ec3aa1
|
Move the legacy edwards25519sha512batch code to the attic
|
2015-11-10 07:48:11 +01:00 |
|
Frank Denis
|
7e995780a8
|
Remove useless sodium_memzero()
|
2015-11-10 07:39:37 +01:00 |
|
Frank Denis
|
179587d1cc
|
Travis: sudo is not needed
|
2015-11-09 01:11:34 +01:00 |
|
Frank Denis
|
49e160a165
|
In blake2b_final() the leftover shouldn't exceed two blocks
|
2015-11-08 23:17:57 +01:00 |
|
Frank Denis
|
8986a95fd8
|
Update the top Visual Studio solution
|
2015-11-07 22:25:33 +01:00 |
|
Frank Denis
|
25d93a501f
|
Travis: run the compile-everything task after having run ./configure
|
2015-11-07 19:23:54 +01:00 |
|
Frank Denis
|
a46e3dc8c6
|
Travis: check that the project compiles by including everything
and completely ignoring the normal autotools way.
This is completely unsupported, but some projects use it that
way no matter what.
|
2015-11-07 19:17:54 +01:00 |
|
Frank Denis
|
8b94965b71
|
Check HAVE_AMD64_ASM to assemble x86_64 code (or not), not __x86_64__
|
2015-11-07 19:15:04 +01:00 |
|
Frank Denis
|
5ea53c32ee
|
HMAC-SHA1 -> Blake2b in randombytes_salsa20
No functional changes but it's slightly faster and more readable.
|
2015-11-07 18:45:45 +01:00 |
|
Frank Denis
|
77c25db23a
|
Rename s to hsigma, use hex, clarify that this constant is not a PRNG "seed"
|
2015-11-07 09:35:12 +01:00 |
|
Frank Denis
|
c574ad86e5
|
Remove unused base_curve25519_donna_c64.c file from the repository
|
2015-11-07 00:16:32 +01:00 |
|
Frank Denis
|
03a67b6eeb
|
noinst_HEADERS might be more correct than EXTRA_DIST
|
2015-11-05 20:23:27 +01:00 |
|
Frank Denis
|
d3005a4da0
|
Update ChangeLog
|
2015-11-04 23:54:15 +01:00 |
|
Frank Denis
|
18906a078c
|
Unfortunately, some assemblers still don't know about AVX opcodes
|
2015-11-04 23:29:27 +01:00 |
|
Frank Denis
|
3f3969ffae
|
EMSCRIPTEN -> __EMSCRIPTEN__
|
2015-11-04 22:43:25 +01:00 |
|
Frank Denis
|
91fc9e298a
|
C++ compat
|
2015-11-04 19:19:20 +01:00 |
|
Frank Denis
|
ae2bbc4ff9
|
Drop extra backslash
|
2015-11-04 19:06:38 +01:00 |
|
Frank Denis
|
0ca0ff8923
|
Protect Sandy2x files against double compilation (Cocoapods...)
|
2015-11-04 19:03:13 +01:00 |
|
Frank Denis
|
e5f768a96e
|
Restore the initial file structure in sandy2x
|
2015-11-04 18:59:30 +01:00 |
|
Frank Denis
|
c8825467d3
|
Revert in order to keep the original files
|
2015-11-04 18:43:42 +01:00 |
|
Frank Denis
|
c294dfa284
|
Allow compilation on Linux again
|
2015-11-04 18:38:44 +01:00 |
|
Frank Denis
|
0cc725da6a
|
Move the sandy2x implementation into a single file
|
2015-11-04 18:36:01 +01:00 |
|
Frank Denis
|
5e054b881b
|
Typo
|
2015-11-04 18:23:01 +01:00 |
|
Frank Denis
|
999a1e96b6
|
Linux is not supported yet
|
2015-11-04 18:20:43 +01:00 |
|
Frank Denis
|
18910cf43a
|
Let sodium_init() pick the fastest curve25519 implementation
|
2015-11-04 16:56:47 +01:00 |
|
Frank Denis
|
94437ae121
|
Enable the sandy2x implementation on CPUs with AVX support
|
2015-11-04 16:48:47 +01:00 |
|
Frank Denis
|
16e5da867c
|
Credit Tung Chou
|
2015-11-04 16:48:47 +01:00 |
|
Frank Denis
|
8251519650
|
Use the same ifndef convention as most other header files
|
2015-11-04 16:46:39 +01:00 |
|
Frank Denis
|
26c7aa123e
|
scalarmult: move the constants down
|
2015-11-04 16:46:39 +01:00 |
|
Frank Denis
|
2bf84bb98c
|
sandy2x: mask the top bit
|
2015-11-04 16:46:39 +01:00 |
|
Frank Denis
|
ec72507c5f
|
Link the sandy2x implementation
Do not use it yet, because it doesn't ignore the top bit
|
2015-11-04 16:46:39 +01:00 |
|
Frank Denis
|
f56647ce4e
|
Modularize scalarmult
|
2015-11-04 16:46:39 +01:00 |
|
Frank Denis
|
950f382a9b
|
Add stackmarkings. Required at least for Hardened Gentoo.
|
2015-11-04 16:46:39 +01:00 |
|
Frank Denis
|
20eacd0ab7
|
Properly tag function symbols
|
2015-11-04 16:46:39 +01:00 |
|