Commit Graph

2770 Commits

Author SHA1 Message Date
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
Frank Denis
2541886266 Merge branch 'master' of https://github.com/jedisct1/libsodium
* 'master' of https://github.com/jedisct1/libsodium:
  Require @CFLAGS_SSE2@ to build libaesni
2017-03-21 23:26:06 +01:00
Frank Denis
b434f5ac5b Add -Wshorten-64-to-32 if supported 2017-03-21 23:25:55 +01:00
Frank Denis
e6970ad4e6 Add explicit casts 2017-03-21 23:25:40 +01:00
Frank Denis
2e1106ed64 Require @CFLAGS_SSE2@ to build libaesni
Fixes compilation on OpenBSD/i386 with the base gcc compiler.
2017-03-20 15:46:49 +01:00
Frank Denis
4568b74cc8 Raise crypto_pwhash_argon2i_MEMLIMIT_MIN to 8192 2017-03-20 00:01:10 +01:00
Frank Denis
c1ab6f2328 emscripten: don't use --enable-minimal on sumo builds 2017-03-17 16:56:20 +01:00
Frank Denis
03787ad057 Back to dev mode 2017-03-16 18:58:06 +01:00
Frank Denis
70170c28c8 Indent 2017-03-13 09:22:21 +01:00
Frank Denis
8f353b5553 Correct indentation 2017-03-13 09:14:40 +01:00
Frank Denis
a8dd22f53a Revert "Use os: Visual Studio 2017 in appveyor.yml"
This reverts commit 87c408b42d.

CL.exe doesn't seem to be in the path any more when using the
AppVeyor Visual Studio 2017 environment.

msbuild "C:\projects\libsodium\libsodium.vcxproj" /m /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
Microsoft (R) Build Engine version 15.1.548.43366
Copyright (C) Microsoft Corporation. All rights reserved.
TRACKER : error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified. [C:\projects\libsodium\libsodium.vcxproj]
2017-03-13 08:56:46 +01:00