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
Frank Denis
87c408b42d
Use os: Visual Studio 2017 in appveyor.yml
...
Thanks to @wongsyrone
2017-03-13 08:43:41 +01:00
Frank Denis
87c97663f8
Typo
...
Thanks to @CiPHPerCoder
2017-03-12 20:41:32 +01:00
Frank Denis
9d2e216c5b
Ignore internal warnings about deprecated aes128 functions
2017-03-12 18:42:02 +01:00
Frank Denis
8283283498
Regen Visual Studio solutions
2017-03-12 18:17:49 +01:00
Frank Denis
313cb92f30
+ kx
2017-03-12 18:17:37 +01:00
Frank Denis
fd797db30a
Remove crypto_[u]int*.h headers
...
Not used internally by anything for a very long time.
Number of projects on GitHub using these: zero.
Standard types from stdint.h should be preferred.
2017-03-12 18:13:31 +01:00
Frank Denis
81ed03a442
Tag crypto_stream_aes128ctr as deprecated
2017-03-12 18:08:16 +01:00
Frank Denis
bbcb8bd33b
Avoid useless comparisons
2017-03-12 18:02:46 +01:00
Frank Denis
d4dbf0cc4f
Import preliminary compilation script for webassembly
...
Thanks to @facekapow
This still needs quite a bit of work, so don't add to the distfiles yet
2017-03-12 17:44:29 +01:00
Frank Denis
036326683c
Update ChangeLog
2017-03-12 17:44:23 +01:00
Frank Denis
849a35bd82
+ crypto_kx_*() API
...
This doesn't include a full key exchange API yet.
2017-03-12 13:15:39 +01:00
Frank Denis
e6934d3eb3
Rephrase
2017-03-11 19:52:55 +01:00
Frank Denis
40511c47d4
Compilation with -march=native fails on Raspbian/Raspberry Pi 3
2017-03-10 20:49:36 +01:00
Frank Denis
aeacf96911
Update ChangeLog
2017-03-10 20:49:21 +01:00
Frank Denis
ce09b73843
Revert "Update the top-level Visual Studio solution to VS2017"
...
AppVeyor doesn't provide VS2017 yet.
This reverts commit 6d3ec4e05a
.
2017-03-09 16:17:39 +01:00
Frank Denis
6d3ec4e05a
Update the top-level Visual Studio solution to VS2017
2017-03-09 15:54:56 +01:00
Frank Denis
88c77d6aa7
Do not use a zero nonce in randombytes_buf_deterministic()
...
This can mitigate implications of reusing the same key across different
functions.
2017-03-09 13:57:37 +01:00
Frank Denis
8a36186a58
vcvarsall.bat moved to a new location in Visual Studio 2017
2017-03-09 13:36:10 +01:00
Frank Denis
d4557bcad7
Include support for Visual Studio 2017
2017-03-09 13:23:34 +01:00
Frank Denis
88f59c99c5
Avoid variable shadowing
2017-03-09 13:11:10 +01:00
Frank Denis
c759324679
Emscripten memory size must be a multiple of 16MB
2017-03-08 14:33:15 +01:00
Frank Denis
eaf19f25d0
Use clang to compile for Android. Except on mips64, where we have to stick to gcc.
2017-03-06 16:53:08 +01:00
Frank Denis
2abe6b9e05
Revert "Remove android-mip32.sh"
...
This reverts commit da76a860af
.
2017-03-06 15:51:38 +01:00
ektrah
ed3bcbbf1d
Add missing file for packaging for .NET Core ( #507 )
2017-03-06 14:20:54 +01:00
Frank Denis
14f6c26ef6
Python3's fine for make_standalone_toolchain.py
after all
2017-03-06 13:33:25 +01:00
Frank Denis
b768be48f5
Correct @SODIUM_LIBRARY_VERSION_MINOR@ substitution for Visual Studio
2017-03-06 11:45:16 +01:00
Frank Denis
5777418548
Export sodium_library_minimal() to javascript
2017-03-06 11:09:12 +01:00
Frank Denis
8caab6db57
Simplify the python2 detection code
2017-03-06 10:54:00 +01:00
Frank Denis
4f2881a528
make_standalone_toolchain.py requires Python2, sigh
2017-03-06 10:08:01 +01:00
Frank Denis
3e56ce235d
Revert "+x"
...
This reverts commit 8465469167
.
2017-03-06 10:06:24 +01:00
Frank Denis
0ce35c3066
@SODIUM_LIBRARY_MINIMAL_DEF@ substitution for the Windows build scripts
2017-03-06 09:55:22 +01:00
Frank Denis
8679e717db
+ sodium_library_minimal() and SODIUM_LIBRARY_MINIMAL
2017-03-06 09:47:09 +01:00
Frank Denis
8465469167
+x
2017-03-06 09:25:40 +01:00
Frank Denis
da76a860af
Remove android-mip32.sh
...
It doesn't properly build the library, so remove it until it
eventually gets fixed
2017-03-06 09:24:23 +01:00
Frank Denis
79fe40cfe8
Android: use unified headers
2017-03-06 08:24:29 +01:00
Frank Denis
25287ce7fb
Explicitly include <stdint.h>
2017-03-05 23:47:40 +01:00
Frank Denis
b3e27d14aa
Move 64-bit emulation to a dedicated private header file
2017-03-05 23:44:51 +01:00
Frank Denis
0d270d8345
Include <emmintrin.h> to use SSE2 emulation
2017-03-05 23:08:34 +01:00
Frank Denis
9e87eb1365
Add emulation for SSE2 instructions requiring 64-bit registers
2017-03-05 23:06:53 +01:00