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
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
Thomas Waldmann
b9c266181b
fix avx2 feature detection, fixes #395
...
cpuid needed to get called with EAX = 7 to get the "extended features"
(not with EAX = 1 for the "features").
2016-05-17 01:28:03 +02:00
Frank Denis
263101cfaf
sandy2x: don't mix VEX and non-VEX instructions
2016-05-17 00:24:33 +02:00
Frank Denis
080dcadb69
Merge pull request #396 from langboost/master
...
Fixing a small documentation typo
2016-05-16 23:42:20 +02:00
Frank Denis
f361d1ccec
sandy2x: clean the upper halves of the AVX registers
...
On Linux, with dynamic linking, upper AVX registers are not 0, which
introduces a massive performance penalty due to state transitions.
Thanks to to Tung Chou and Samuel Neves for catching this, and to
@theakman2 for his initial report.
2016-05-16 23:34:03 +02:00
Jeff R
0b8cb8a543
Fixing a small documentation typo
2016-05-16 16:05:24 -05:00
Frank Denis
593599a11a
Align loops
2016-05-16 12:25:35 +02:00
Frank Denis
c303c1f709
sandy2x: align branch targets
2016-05-16 12:20:15 +02:00
Frank Denis
c752eb55d9
On ancient Linux kernels, block on /dev/random before using /dev/urandom
2016-05-15 17:26:22 +02:00
Frank Denis
1e1ba1af02
Merge pull request #393 from evoskuil/master
...
Rationalize across msvc project versions.
2016-05-12 11:23:59 +02:00
evoskuil
f8d5cf948a
Clone msvc .filters (from vs2013 version) for uniformity.
2016-05-12 02:03:23 -07:00
evoskuil
3aad5c11ea
Use lowest common denominator .vcxproj ToolsVersion.
2016-05-12 02:02:38 -07:00
Frank Denis
248f381404
Rewrite aesni_key256_expand() for clarity
2016-05-05 19:10:11 +02:00
Frank Denis
a37d2b87bf
Rename REDUCE4 to MULREDUCE4 for clarity
2016-05-04 23:31:09 +02:00
Frank Denis
0f053aea52
Grammar
2016-05-04 23:09:07 +02:00
Frank Denis
474952d3f1
Try using cpuid on NativeClient
2016-04-30 16:23:02 +02:00
Frank Denis
a87d30f3af
Try MMX/SSE/SSE2/SSE3/SSSE4/SSE4.1 instructions on NativeClient
2016-04-30 16:08:52 +02:00
Frank Denis
a6139c6b20
Add nativeclient-x86.sh
2016-04-30 14:07:50 +02:00
Frank Denis
00e156198a
Disable SIMD instructions on NativeClient
2016-04-30 13:03:31 +02:00
Frank Denis
44cd974be2
Remove extra CRLF
2016-04-30 11:20:14 +02:00
Frank Denis
a91530d40f
Do not use pthreads on NativeClient
2016-04-30 10:17:47 +02:00
Frank Denis
90603f57ac
x86-64 -> x86_64
2016-04-29 22:56:09 +02:00
Frank Denis
d463dadc51
Disable ssp and aesni on nativeclient, nativeclient.sh->nativeclient-pnacl.sh
2016-04-29 22:29:34 +02:00
Frank Denis
3499cbfbe5
Add dist-build/nativeclient-x86-64.sh
2016-04-29 21:55:06 +02:00
Frank Denis
858b8e8c5e
Put then
and if
on the same line.
...
Having `then` aligned with `if` was pretty confusing, and I kept
reading `else` instead of `then`.
2016-04-29 20:49:35 +02:00