Frank Denis
c3045e2cb0
Check that SIGSEGV handlers work
...
Tools such as ASAN may trap violations instead of our handlers,
making the sodium_utils{2,3} test fail.
This has been documented for a long time, but it's probably better
to detect this and ignore tests depending on working signal handlers.
2017-06-23 11:11:16 +02:00
Frank Denis
00777f7f10
Clarify what --disable-asm does
2017-06-15 18:32:03 +02:00
Frank Denis
fbe3eb265f
secretbox: avoid a useless memmove() if the source and destination addresses are the same
2017-06-14 15:57:06 +02:00
Frank Denis
3a9c4c38f7
Re-add $(VCTargetsPath)\Microsoft.Cpp.targets
...
Fixes #553
2017-05-27 16:19:47 +02:00
Frank Denis
0eed55ce6a
Remove redundant definitions from the project files
2017-05-27 12:01:34 +02:00
Frank Denis
87473fdd3f
MSVC advapi32.lib dependency should not be in vcxproj
...
Fixes #552
2017-05-27 11:47:32 +02:00
Frank Denis
9787febb00
Regen
2017-05-25 12:51:02 +02:00
LammyL
98e58ae4c1
Added version resource files for msvc compiled dlls. ( #551 )
2017-05-25 12:39:18 +02:00
Frank Denis
51e6a59b8d
Android: use PLATFORM 16 by default, don't bother with compat for API 21
2017-05-20 19:16:05 +02:00
Henrik Gaßmann
70bffa111a
[.NET NUGET] DON'T SET SUFFIX FOR RELEASES ( #548 )
...
Previously "-None" was set as version suffix for release packages.
2017-05-19 22:00:13 +02:00
Henrik Gaßmann
e8795ff105
[.NET Core] SUPPORT .NET FRAMEWORK >= 4.6 ( #547 )
...
Add MSBuild targets for net46 target framework which copy both x86 and
x64 libsodium binaries into corresponding folders. This allows AnyCPU
applications to load the appropriate binary at runtime via
`LoadLibraryEx`.
2017-05-19 16:44:44 +02:00
Henrik Gaßmann
b3d1a638cf
[.NET Core] ALLOW WIN7 TARGETTING ( #546 )
2017-05-19 15:04:17 +02:00
Frank Denis
efb097d957
Consistency
2017-05-19 14:58:16 +02:00
Frank Denis
b28c7bcad9
Unbreak NaCl tests (parse error near '}')
2017-05-19 14:56:31 +02:00
Jim Patterson
1fd6a4bfc2
Replace which
with command
for portability ( #542 )
...
The `which` command is not part of the posix standard and not available
in some environments. The `command` command is part of the posix
standard and well supported.
See https://unix.stackexchange.com/q/85249 for a discussion about the
use of `command` instead of `which`.
If a system had `libtool` but not `which`, the build process would issue
an erroneous error stating:
libtool is required, but wasn't found on this system
Switching to `command` corrects this problem.
2017-05-19 14:51:56 +02:00
Frank Denis
00212b2604
Merge branch 'master' of github.com:jedisct1/libsodium
...
* 'master' of github.com:jedisct1/libsodium:
Fix `crypto_pwhash_argon2i_str_verify()` and its tests after `errno` changes
Add crypto_pwhash_MISMATCH errno (#541 )
2017-05-16 12:41:30 +02:00
Frank Denis
f72bcfacd7
Move CRYPTO_ALIGN after the struct
keyword
...
Fixes #543
2017-05-16 12:40:36 +02:00
Frank Denis
3e85167657
Fix crypto_pwhash_argon2i_str_verify()
and its tests after errno
changes
2017-05-12 15:09:54 +02:00
Emil Bay
94760400a6
Add crypto_pwhash_MISMATCH errno ( #541 )
...
* Add crypto_pwhash_MISMATCH errno
* Use EINVAL for invalid password
* Only set errno on mismatch
2017-05-12 14:30:26 +02:00
Frank Denis
2d210e0771
stdin
is not defined any more on Android; use a different test program
2017-05-07 15:29:17 +02:00
Frank Denis
f6cab99f64
Indent
2017-04-28 12:19:32 +02:00
Frank Denis
ea2273540a
Restore compatibility with BSD make
2017-04-22 11:03:36 +02:00
Frank Denis
be5e5a53b3
Remove useless cast
2017-04-21 01:03:23 +02:00
Frank Denis
db1dd21762
Prevent possible compiler optimizations
2017-04-21 01:02:40 +02:00
Frank Denis
869f3e09c9
Merge branch 'master' of github.com:jedisct1/libsodium
...
* 'master' of github.com:jedisct1/libsodium:
Try linking _xgetbv() for obsolete mingw versions
2017-04-21 00:30:55 +02:00
Frank Denis
68d576cc95
Prevent possible optimizations in sodium_compare()
2017-04-21 00:30:19 +02:00
Frank Denis
dfc226fed6
Try linking _xgetbv() for obsolete mingw versions
2017-04-14 19:01:04 +02:00
Frank Denis
4809639ae1
box_easy2 test: increase the minimum test size
2017-04-07 07:59:13 -07:00
Frank Denis
ad2e2a9268
armv7s was re-added
2017-04-07 07:44:12 -07:00
Frank Denis
b6188070f6
Merge branch 'master' of https://github.com/jedisct1/libsodium
...
* 'master' of https://github.com/jedisct1/libsodium :
Add armv7s architecture to dist-build/ios.sh (#528 )
2017-04-07 07:17:08 -07:00
Adriaan Duz
dbd7026bc5
Add armv7s architecture to dist-build/ios.sh ( #528 )
2017-04-07 07:16:44 -07:00
Frank Denis
bdd06e9074
Space
2017-04-04 18:06:38 -07:00
Chris Fogelklou
3f65a21212
Fix ref10 slide on PPC-VLE ( #525 )
...
* Use intermediate variables in slide() which removes ambiguity for the compiler and fixes a crash in the PPC_VLE build with -O1 flag (added bonus: smaller compiled code.)
* Fix formatting in slide() loop counter to match the previously just-formatted version.
2017-04-03 21:00:36 -07:00
Frank Denis
7fa678bdca
April 1st is over
...
This reverts commit 1668847409
.
2017-04-01 20:50:58 +02:00
Frank Denis
1668847409
Add support for random.org as a CSPRNG
2017-04-01 10:01:26 +02:00
Frank Denis
7a6a47a5a5
Format
2017-03-31 10:17:45 +02:00
Frank Denis
4e4756e676
Add braces for clarity
2017-03-31 10:10:27 +02:00
Frank Denis
c229663acf
Argon2: add specialized macro to decode uint32_t values
2017-03-30 10:15:06 +02:00
Frank Denis
4dec1da7c5
Remove dev mode
2017-03-28 13:39:34 +02:00
Frank Denis
aa7ded10e7
Bump package (not library) version
2017-03-28 12:57:19 +02:00
Frank Denis
1e40599839
Update ChangeLog
2017-03-28 12:46:51 +02:00
Frank Denis
a6f78faa89
Use a libsodium.org link
2017-03-28 12:46:32 +02:00
Frank Denis
5a49069ae0
Bump revision
2017-03-28 11:52:29 +02:00
Frank Denis
05bd733a13
Add a donate button
2017-03-27 22:07:42 +02:00
Frank Denis
623cbfc168
Fix crypto_pwhash_argon2i_MEMLIMIT_MAX definition on 32-bit platforms
2017-03-27 00:52:03 +02:00
Frank Denis
415bc429a7
Android: the mipsel target that disappeared in r14 is back in r14b
2017-03-24 17:22:33 +01:00
Frank Denis
7bc8eb16a7
dotnet-core documentation: use 1.0.12 as the version example
2017-03-24 11:55:27 +01:00
Eric Voskuil
97c6599659
Update for and publish NuGet package for 1.0.12. ( #520 )
2017-03-24 11:09:37 +01:00
Eric Voskuil
c11fd0ddd0
Fix up buildbase.bat, VS projects whitespace and remove ARM.props ( #519 )
...
* Fix invalid stream of Visual Studio DynDebug build logs.
* Remove ARM props file (undergeneralized).
* Clean up white space in Visual Studio *.props files.
2017-03-24 08:39:50 +01:00
Frank Denis
528abd8bc9
Update m4 scripts
2017-03-22 14:21:07 +01:00