Frank Denis
3295752821
Of course, GNU ld doesn't know about .private_extern
8 years ago
Frank Denis
bafc9c70e1
Only use .private_extern if this is supported
8 years ago
Frank Denis
0131a72082
BLAKE2b AVX2 implementation
By the marvellous Samuel Neves - https://github.com/sneves/blake2-avx2
8 years ago
Frank Denis
7611ea6018
Add AVX2 detection
8 years ago
Frank Denis
f92cfae9d8
Have --enable-opt use -O3, not -Ofast
8 years ago
Frank Denis
aafff07689
Add support for running the test suite with Valgrind
8 years ago
Frank Denis
846a84b721
Version bump (not released yet)
9 years ago
Frank Denis
a78161981c
Check for _mm_set_epi64x() usability in the SSE2 test
9 years ago
Frank Denis
d740901df0
Have --enable-opt imply -Ofast
9 years ago
Frank Denis
953e959fba
Try --high-entropy-va on MinGW
9 years ago
Frank Denis
c08c21887e
Version bump
9 years ago
Frank Denis
90c49184fa
--enable-opt now enables -save-temps; remove -flto
9 years ago
Frank Denis
3796145631
autoconf: check that named registers work
9 years ago
Frank Denis
5b62287f98
Add a --enable-opt compile-time switch
9 years ago
Frank Denis
1e71f849b5
1.0.7 (not released yet)
9 years ago
Frank Denis
b74f644d3f
Replace CPU_ALIGNED_ACCESS_REQUIRED with CPU_UNALIGNED_ACCESS
Instead of defining a macro when aligned memory access is required,
define one when unaligned memory access is supported.
Safer when cross-compiling or not using autoconf
9 years ago
Frank Denis
eb8119d65c
Enable 128-bit arithmetic if __int128 is available
9 years ago
Frank Denis
dd238f518d
Bump major
9 years ago
Frank Denis
fb28119a38
Check inline assembly code using __asm__ __volatile__
9 years ago
Frank Denis
18906a078c
Unfortunately, some assemblers still don't know about AVX opcodes
9 years ago
Frank Denis
3f3969ffae
EMSCRIPTEN -> __EMSCRIPTEN__
9 years ago
Frank Denis
049fd8fd6a
Add sodium_runtime_has_avx()
9 years ago
Frank Denis
2a77b18ad8
Version bump (not released yet)
9 years ago
Frank Denis
19308c5d5b
Bump the library major version, since some functions have been removed
Even though these functions were exported, the number of applications
using them directly is very likely to be zero.
Still, bump the major library version to be safe and compliant.
9 years ago
Frank Denis
920c459ac3
Link optimized compression functions for Blake2b
9 years ago
Frank Denis
26fdfec99b
Add sodium_runtime_has_ssse3() and sodium_runtime_has_sse41()
9 years ago
Frank Denis
f11da70ce2
Package version bump. No ABI version changes required.
9 years ago
Frank Denis
e2124999cc
doesn't -> does not
9 years ago
Frank Denis
ec7b8e5605
Version bump [but still not released]
9 years ago
Frank Denis
84d92fc1bf
Try to enable specific cflags before testing each intructions set
9 years ago
Frank Denis
f267352eec
Use SIMD-specific compiler flags only for files needing them
9 years ago
Frank Denis
d4ff80e7a0
Define __SSSE3__ if required
9 years ago
Frank Denis
6ca06314fc
Do not try to compile aesni code if this is not going to compile
9 years ago
Frank Denis
e83e9b2d8e
Check for AESNI & PCLMUL presence/usability
9 years ago
Frank Denis
ab2e86748e
Replace the aes256gcm implementation with Romain Dolbeau's implementation
which is slightly faster than mine.
Reimplement features from the previous implementation: add batch mode and
use two passes in the decryption function in order to check the tag before
decrypting.
9 years ago
Frank Denis
571bfc99c8
Check for ssse3 presence
9 years ago
Frank Denis
e8e5d2fc18
Add crypto_aead_aes256gcm_aesni_*
Requires a CPU with aesni and pclmulqdq
This is a private branch for a reason. It is not going to be merged as-is.
9 years ago
Frank Denis
46f71fba9e
Check for getpid(2) presence instead of checking for Visual Studio
9 years ago
Frank Denis
c1f749e68a
Keep shell variables names consistent with their related C macros.
9 years ago
Matthijs van Duin
cfa9e95b6c
improve test for unaligned access
check target attribute on ARM
9 years ago
Frank Denis
7fca230be8
Nits after pnacl merge
9 years ago
Syrone Wong
4074470a31
Fix _FORTIFY_SOURCE redefined issue
9 years ago
James Robson
34a4931d9a
Initial patch for Chrome NaCl implementation
9 years ago
Frank Denis
b5fff1fcf5
Version bump
9 years ago
Frank Denis
33357dc52e
Running the JS tests requires the filesystem.
10 years ago
Frank Denis
98c96f4c99
No browser, no filesystem support required
10 years ago
Frank Denis
3d5c00a581
Emscripten: don't use a memory init file any more.
It doesn't take that long to load the module, and it's going to make
users' life way easier.
10 years ago
Frank Denis
e7f410de10
Emscripten: don't use a memory init file any more.
It doesn't take that long to load the module, and it's going to make
users' life way easier.
10 years ago
Frank Denis
201821065d
Reserve slots for function pointers
10 years ago
Frank Denis
2c15c81ba5
Revert 17932c782e
It broke compilation on OpenBSD.
10 years ago