Commit Graph

2815 Commits

Author SHA1 Message Date
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
Frank Denis
e8182741b5 Less confusing autoconf checking messages 2017-03-05 22:44:01 +01:00
Frank Denis
cff00dbe75 Revert "Revert "Remove dev warning""
This reverts commit 2e0e7a150d.
2017-03-05 21:09:59 +01:00
ektrah
9ef6310188 Update packaging scripts for .NET Core (#503) 2017-03-05 20:57:41 +01:00
Frank Denis
cac339b226 Update emscripten symbols 2017-03-05 14:53:02 +01:00
Frank Denis
b10be7a458 Import ed25519_ref10.h 2017-03-05 14:47:42 +01:00
Frank Denis
fd443347cf Trim 2017-03-05 14:45:56 +01:00
Frank Denis
707f4c8e08 Add ed25519ph 2017-03-05 14:45:13 +01:00
Frank Denis
6a8e712a4f Sync msvc/version.h copy 2017-03-05 14:44:59 +01:00
Frank Denis
f493216abb crlf 2017-03-05 11:29:21 +01:00
Frank Denis
f1fdb2a763 Add crypto_onetimeauth_poly1305_statebytes() 2017-03-05 11:28:56 +01:00
Frank Denis
b0b356a5a9 Typo 2017-03-04 09:29:12 +01:00
Frank Denis
2e0e7a150d Revert "Remove dev warning"
This reverts commit 65ddf8acfe.
2017-03-03 15:15:48 +01:00
Frank Denis
20f6d163df Update ChangeLog 2017-03-03 12:14:54 +01:00
Frank Denis
65ddf8acfe Remove dev warning 2017-03-03 10:55:11 +01:00
Frank Denis
2ae516079b chacha20 can only be tested with a 32-bit ic 2017-03-03 10:39:03 +01:00
Frank Denis
588c03c536 C++ compat 2017-03-03 10:29:50 +01:00