1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-24 20:45:17 -07:00
Commit Graph

2388 Commits

Author SHA1 Message Date
Ilya Maykov
a3b68738db Better AVX2 detection, try 2 (only using intrinsic functions) (#420)
* Better AVX2 detection, try 2 (only using intrinsic functions)

* Slight change to AVX2 detection per jedisct1's feedback
2016-08-04 20:58:48 +02:00
Frank Denis
6035c0779b Back to dev mode 2016-08-04 02:28:21 +02:00
Frank Denis
e08feb04d9 Pasto: CFLAGS_AVX -> CFLAGS_AVX2
Spotted by @ivmaykov
2016-08-04 02:26:24 +02:00
Frank Denis
fa18ba7505 Revert "Better AVX2 detection for GCC compilers"
This reverts commit 534e0774e3.
2016-08-04 02:25:24 +02:00
Frank Denis
d1eb837e21 Merge pull request #419 from ivmaykov/master
Better AVX2 detection for GCC compilers
2016-08-04 02:04:58 +02:00
Ilya Maykov
534e0774e3 Better AVX2 detection for GCC compilers 2016-08-03 17:00:03 -07:00
Frank Denis
2f4f718cd9 Remove dev flag 2016-07-31 16:34:11 +02:00
Frank Denis
19a9d18b9c _MSC_VER > 1600 -> _MSC_VER >= 1700 for consistency 2016-07-24 19:58:00 +02:00
Frank Denis
5497ca1fad Merge pull request #418 from Jan-E/vs2010x64
Fix x64 builds for MSVC < vc11
2016-07-24 19:57:14 +02:00
Frank Denis
482ab1ed41 Reintroduce 27a2756479 2016-07-24 19:54:07 +02:00
Frank Denis
d60b0c3699 Revert "VS2010 debug symbols"
This reverts commit 48b5f7b332.
2016-07-24 15:36:02 +02:00
Frank Denis
ab72d2d6b3 Revert "VS2012 debug symbols"
This reverts commit 6ff50e41a2.
2016-07-24 15:35:56 +02:00
Frank Denis
6996360304 Revert "VS2013 debug symbols"
This reverts commit 0788e50bfd.
2016-07-24 15:35:51 +02:00
Frank Denis
27a2756479 Merge pull request #417 from Jan-E/debugsymbols
Genereate pdb files for VS2010, 2012, 2013
2016-07-24 15:16:04 +02:00
Jan-E
6b739fc821 Fix VS2010 (and VC9) x64 build 2016-07-24 02:13:22 +02:00
Jan-E
0788e50bfd VS2013 debug symbols 2016-07-24 01:03:41 +02:00
Jan-E
6ff50e41a2 VS2012 debug symbols 2016-07-24 01:01:12 +02:00
Jan-E
48b5f7b332 VS2010 debug symbols 2016-07-24 00:55:45 +02:00
Frank Denis
351ae49e53 cpuid is not available on i686-nacl 2016-07-06 16:23:50 +02:00
Frank Denis
89918e94f1 crit_{enter,leave} can fail 2016-07-06 12:03:08 +02:00
Frank Denis
29492143ab Warn if the library is being compiled in a custom way 2016-07-02 10:07:38 +02:00
Frank Denis
a7a3235a39 Version bump (not released yet) 2016-06-30 18:48:16 +02:00
Frank Denis
eeb08c92fd Merge branch 'master' of https://github.com/jedisct1/libsodium
* 'master' of https://github.com/jedisct1/libsodium:
  Add license title
2016-06-30 18:48:02 +02:00
Frank Denis
a683111d89 Merge pull request #410 from waldyrious/patch-1
Add license title
2016-06-30 18:47:53 +02:00
Waldir Pimenta
5917d2ab74 Add license title
It's not strictly required, but it's useful metadata, and part of the recommended license template text (see http://choosealicense.com/licenses/isc/ and https://opensource.org/licenses/isc-license)
2016-06-30 14:18:36 +01:00
Frank Denis
a162c09b69 Update ChangeLog 2016-06-29 17:13:11 +02:00
Frank Denis
2cc0bab0e3 Update comment 2016-06-29 15:31:23 +02:00
Frank Denis
648f46d22a Expose sodium_crit_enter() and sodium_crit_leave() internally 2016-06-29 15:28:15 +02:00
Frank Denis
5a3ff833fd Slightly change how the length of argon2 strings is checked 2016-06-19 23:26:08 +02:00
Frank Denis
6fad3644b5 Nits 2016-06-15 16:00:59 +02:00
Frank Denis
c3999056b5 Merge pull request #405 from azet/master
document why RtlGenRandom is used
2016-06-15 15:54:36 +02:00
Aaron Zauner
77c05fce0c document why RtlGenRandom is used 2016-06-15 21:50:33 +08:00
Frank Denis
ba9c296108 Correct whitespace in path detection, and turn it into a fatal error 2016-06-15 09:50:45 +02:00
Frank Denis
aaf6854edf Remove extra space 2016-06-08 08:34:45 +02:00
Frank Denis
fcf96569d2 CRLF 2016-06-05 22:04:10 +02:00
Frank Denis
f8cc885b6f Android: compile for platform 24, check compat with 16 or 21 (64 bit) 2016-06-05 22:00:56 +02:00
Frank Denis
cc7b57b4a6 Forgot to ignore libsodium-uninstalled.pc 2016-06-04 07:09:36 +02:00
Frank Denis
eaba3a48fd Ignore test/js.done 2016-06-04 06:57:56 +02:00
Frank Denis
a0e22bddcb Sort .gitignore 2016-06-04 06:52:25 +02:00
Frank Denis
da057008ff Remove curvecp from .gitignore 2016-06-04 06:52:08 +02:00
Frank Denis
9ecde0c456 Ignore more specific directories than libsodium-* 2016-06-04 06:47:24 +02:00
Frank Denis
9c12da0362 Don't include <immintrin.h> if it is not needed
Some environments provide <wmmintrin.h> but not <immintrin.h>
2016-05-26 06:08:26 -07:00
Frank Denis
fa4e4bf174 Fix & simplify MADV_DO{NO}DUMP alternatives 2016-05-18 22:12:07 +02:00
Frank Denis
d5f77da821 Merge pull request #399 from blacklion/patch-1
Support madvise() on FreeBSD
2016-05-18 22:07:59 +02:00
Lev Serebryakov
7a4c4459f8 Support madvise() on FreeBSD
FreeBSD have madvise() behaviors equivalent to MADV_DONTDUMP and MADV_DODUMP but with its own names.
Add definitions for these behaviors used in sodium_mlock() and sodium_munlock() if FreeBSD names are found and Linux ones don't.
2016-05-18 23:04:09 +03:00
Frank Denis
f01299a91b Indent 2016-05-17 23:05:04 +02:00
Frank Denis
0e67b4073c Merge pull request #398 from sneves/master
don't crash on Win32
2016-05-17 22:59:44 +02:00
Samuel Neves
998bacf375 don't crash on Win32 2016-05-17 21:40:56 +01:00
Frank Denis
efb81c7290 CRLF 2016-05-17 01:41:06 +02:00
Frank Denis
1b30cf14ed Merge pull request #397 from ThomasWaldmann/master
fix avx2 feature detection, fixes #395
2016-05-17 01:36:06 +02:00