Commit Graph

1133 Commits

Author SHA1 Message Date
Frank Denis
ed76b41369 Rephrase 2014-08-04 16:29:13 -07:00
Frank Denis
2b0c8e40aa Keep IA-32 asm on MingW/Cygwin, check for Windows during the x86-64 test. 2014-08-04 16:24:11 -07:00
Frank Denis
b9be5fbd45 Do not pass -fPIC on Windows. Add msys as a host_os value to detect Windows as well. 2014-08-04 14:30:07 -07:00
Frank Denis
4d02391067 Remove scryptx() compatibility functions 2014-08-03 21:18:06 -07:00
Frank Denis
c5a9d46386 Double check for crypto_auth_verify() 2014-08-03 21:15:04 -07:00
Frank Denis
be41f72e0e Bypass gcc optimization 2014-08-03 20:10:38 -07:00
Frank Denis
2350dbe13e Remove _sodium_alignedcalloc 2014-08-02 15:51:37 -07:00
Frank Denis
5aee93a277 Remove try.c
These tests are still in git and may be added to the test suite later.
2014-08-02 15:50:22 -07:00
Frank Denis
92b3d09e89 Implementation-specific symbols are not needed any more, even for RbNacl 2014-08-02 15:38:39 -07:00
Frank Denis
5957d47d5b crypto_pwhash_scryptsalsa208sha256.h requires <stdint.h> 2014-08-02 15:38:33 -07:00
Frank Denis
2acb19520a Add crypto_pwhash_scryptsalsa208sha256_STRPREFIX 2014-08-02 12:29:15 -07:00
Frank Denis
857c772853 Rephrase 2014-07-31 22:13:45 -07:00
Frank Denis
9ac321368a randombytes_salsa20 example: rekey after 16 blocks or after calling _buf() 2014-07-31 22:00:29 -07:00
Frank Denis
e907196101 Do not recommend AES128 over AES256. 2014-07-30 22:42:53 -07:00
Frank Denis
1089114026 Replace ftime() with ftime_s() 2014-07-29 09:28:52 -07:00
Frank Denis
aae1ae5005 MSVC: Define NATIVE_LITTLE_ENDIAN / inline as __inline / UNICODE & _UNICODE 2014-07-29 08:57:17 -07:00
Frank Denis
051507e266 Check for Windows-specific functions by checking _WIN32, not HAVE_* definitions 2014-07-29 08:55:53 -07:00
Frank Denis
955cfba91e MSVC: Don't define NDEBUG even for Release builds. 2014-07-29 08:42:18 -07:00
Frank Denis
a91e0123cf Clarify what sodium_memcmp() is for. 2014-07-28 16:10:19 -07:00
Frank Denis
e06ae6db9d Thanks Jason McCampbell for the Go bindings 2014-07-24 20:58:43 -07:00
Frank Denis
07f3610eef Do not export crypto_onetimeauth_pick_best_implementation() 2014-07-22 20:10:22 -07:00
Frank Denis
990fad3060 librt and libm are not needed any more.
Thanks to Raúl Sánchez Siles for the heads up.
2014-07-21 16:00:47 -07:00
Frank Denis
6985aea355 Properly fill exec_prefix in libsodium.pc, spotted by Jonas Termansen 2014-07-17 22:07:57 -07:00
Frank Denis
c16502fc2c Coverity FP 2014-07-15 22:48:49 -07:00
Frank Denis
dc1e4b468d Typo: not -> now 2014-07-15 14:19:37 -07:00
Frank Denis
8a9777ff1d Update ChangeLog 2014-07-15 13:59:42 -07:00
Frank Denis
1dca7edfab --enable-minimal should compile only what is required for the high-level API
This doesn't include aes128ctr.
2014-07-14 18:43:46 -07:00
Frank Denis
80f9d943f7 Export all the symbols to Emscripten 2014-07-12 21:42:16 -07:00
Frank Denis
412f3edf8c Get ready for 0.6.1 2014-07-12 21:15:46 -07:00
Frank Denis
64c70e0612 Bump up the max allowed memory for Emscripten. Might be required for scrypt. 2014-07-12 19:25:17 -07:00
Frank Denis
25ea5b65db Add explicit checks for crypto_box_detached() 2014-07-11 12:28:52 -07:00
Frank Denis
ad7b1c58a8 Add tests for short messages with (secret)box_easy 2014-07-11 12:23:52 -07:00
Frank Denis
931ce38f61 A double verification of 32 bytes is fast; so is comparing 2 pointers 2014-07-10 23:57:57 -07:00
Frank Denis
2bb8ae26d5 Test detached signatures 2014-07-10 23:21:23 -07:00
Frank Denis
16fa9960e0 Test crypto_sign_detached() 2014-07-10 23:21:22 -07:00
Frank Denis
c9c49c61fd Do not directly return the result of crypto_verify() 2014-07-10 23:21:18 -07:00
Frank Denis
96b840cfcf Add a test for short (non-detached) signed messages 2014-07-10 22:39:11 -07:00
Frank Denis
a362711903 Add crypto_sign_verify_detached() 2014-07-10 22:29:05 -07:00
Frank Denis
5b4a3b5715 Reformat 2014-07-10 22:04:01 -07:00
Frank Denis
f7c79dbea7 Combine crypto_hash_sha512_update() calls 2014-07-10 15:57:14 -07:00
Frank Denis
0b065e0748 Add crypto_sign_ed25519_detached() 2014-07-10 15:46:37 -07:00
Frank Denis
e6e0b7d498 Use --enable-minimal with the Javascript build 2014-07-09 21:14:27 -07:00
Frank Denis
f6519378b4 + --enable-minimal to build a smaller library without less-used functions. 2014-07-09 20:24:04 -07:00
Frank Denis
c7059e88ec Always install the .pc file even if pkg-config is not available.
And make sure that "make uninstall" gets rid of it, too.
2014-07-05 15:10:36 -07:00
Frank Denis
fbc3b606f8 Merge pull request #176 from evoskuil/master
Update Windows DLL version resource to 0.6.0 and republish NuGet package
2014-07-04 08:42:27 -07:00
evoskuil
e6135a4712 Update windows dll version resource to 0.6.0 2014-07-04 05:46:18 -06:00
Frank Denis
7a7cda0694 Merge pull request #175 from evoskuil/master
Trivial updates to Windows projects, update NuGet version for 0.6.0.
2014-07-03 14:27:47 -07:00
evoskuil
df1f1f6ace Update NuGet package versioning. 2014-07-03 14:54:30 -06:00
evoskuil
a494ab6213 Drop crypt32.lib Windows dependency. 2014-07-03 14:50:49 -06:00
evoskuil
a7f810fad1 Remove test files from new VS test projects. 2014-07-03 14:30:57 -06:00