Commit Graph

600 Commits

Author SHA1 Message Date
Frank Denis
6745db7a0b Add blake2b_salt_personal() 2013-11-05 22:28:33 -08:00
Frank Denis
e9c46aef5f Add support for salt & personalization to Blake2.
This API might change. I'm not a big fan of what we have now.
2013-11-05 21:46:19 -08:00
Frank Denis
a586df583a Use blake2b_init() *or* blake2b_init_key(). Calling both is not needed. 2013-11-05 21:00:04 -08:00
Frank Denis
4943275819 Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  Have sodium_memcmp(a,b,s) return -1 if a != b, document return value.
2013-11-04 23:00:12 -08:00
Frank Denis
08082b2ac8 Add Idris-Sodium 2013-11-04 23:00:02 -08:00
Frank Denis
de0d497a28 Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  Update the link to droid-wrapper
2013-10-30 06:49:26 -07:00
Frank Denis
1ca05f6b16 Have sodium_memcmp(a,b,s) return -1 if a != b, document return value. 2013-10-30 06:47:13 -07:00
Frank Denis
deb18cd490 Update the link to droid-wrapper 2013-10-29 20:17:36 -07:00
Frank Denis
d140634ce0 Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  clarify upstream NaCl version
2013-10-28 11:00:52 -07:00
Frank Denis
82046cbd5e Face it, /dev/arandom was removed from OpenBSD a loooooong time ago. 2013-10-28 10:59:51 -07:00
Frank Denis
18c0a5f596 Merge pull request #94 from oberstet/master
clarify upstream NaCl version
2013-10-28 09:08:30 -07:00
Tobias Oberstein
0336cede34 clarify upstream NaCl version 2013-10-28 09:24:44 +01:00
Frank Denis
6af887ed01 Pre-built MSVC binaries are available 2013-10-27 22:00:53 -07:00
Frank Denis
2c4f936715 Compile separately and use lipo(1) to build universal binaries. 2013-10-24 12:27:50 -07:00
Frank Denis
5ae0dbc579 Drop support for universal binaries. 2013-10-24 11:51:09 -07:00
Frank Denis
43ae7c1d07 Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  Downgrade the minimal pkg-config version from 0.25 to 0.23 (which is the pkg-config version shipped in Red Hat Enterprise Linux 6).
2013-10-23 09:52:25 -07:00
Frank Denis
7101ee54dd Merge pull request #93 from jpoliv/pkgconfig
Downgrade the minimal pkg-config version from 0.25 to 0.23.
2013-10-23 09:52:14 -07:00
Jose Pedro Oliveira
7101eb6a3f Downgrade the minimal pkg-config version from 0.25 to 0.23 (which is
the pkg-config version shipped in Red Hat Enterprise Linux 6).
2013-10-23 17:19:08 +01:00
Frank Denis
5f8800bfa0 Update versions in process.bat 2013-10-22 06:12:19 -07:00
Frank Denis
ad460c2516 Update ChangeLog 2013-10-22 02:57:27 -07:00
Frank Denis
abb7f74e5d 0.4.5 2013-10-22 02:56:36 -07:00
Frank Denis
afb89c7e16 Some systems have arc4random() but not arc4random_buf() 2013-10-22 02:54:45 -07:00
Frank Denis
1fe019c482 Mention that Win64 is supported. 2013-10-21 22:25:33 -07:00
Frank Denis
af28f8f2cd Export stream_salsa20 constants 2013-10-21 22:03:37 -07:00
Frank Denis
e10a84350f Keep crypto_stream_salsa* constants close to their wrappers 2013-10-21 21:51:59 -07:00
Frank Denis
3f615b093f Ship MSVC project files 2013-10-21 21:44:11 -07:00
Frank Denis
415b50d56b Package crypto_scalarmult/curve25519/scalarmult_curve25519_api.c 2013-10-21 21:44:03 -07:00
Frank Denis
a5834e1e25 Use arc4random() if available in onetimeauth_poly1305_try.c 2013-10-21 21:11:06 -07:00
Frank Denis
696934b123 _sodium_alignedcalloc(): use arc4random_buf() if available 2013-10-21 21:07:39 -07:00
Frank Denis
323f24ef60 Include msvc-scripts as a subdir of the main Makefile 2013-10-21 20:59:44 -07:00
Frank Denis
93d38501ff Ignore .sdf files 2013-10-21 20:55:41 -07:00
Frank Denis
331f345d58 Update ChangeLog 2013-10-21 20:54:56 -07:00
Frank Denis
08e37807ae Bump version to 0.4.4 2013-10-21 20:43:44 -07:00
Frank Denis
abd9e9b255 Don't forget to give $(Platform) to wintest.bat 2013-10-21 20:32:41 -07:00
Frank Denis
dbc06c3136 Move PostBuildEvent to the sodium.props file 2013-10-21 20:25:04 -07:00
Frank Denis
d29dcf44ca Tell people that we are running the test suite. 2013-10-21 20:11:56 -07:00
Frank Denis
b1cd4d8cf0 MSVC: run the test suite as a post-build event 2013-10-21 20:10:39 -07:00
Frank Denis
21f5f9790f If wintest.bat is run from srcdir, cd test/default 2013-10-21 20:07:05 -07:00
Frank Denis
4008deed8b Remove $(SolutionDir)src\libsodium\quirks\windows inclusion 2013-10-21 17:52:41 -07:00
Frank Denis
f9aff06dc0 Remove all use of booleans. Because MSVC < 2013. Sigh. 2013-10-21 17:49:48 -07:00
Frank Denis
390f9acc1d Ignore the Build directory 2013-10-21 16:44:36 -07:00
Frank Denis
f5e81693ee Fix wintest.bat usage 2013-10-21 16:31:19 -07:00
Frank Denis
d996d14f1f Import wintest.bat 2013-10-19 21:06:55 -07:00
Frank Denis
e2cbbd325f I guess we are supporting Visual Studio 2010 now. 2013-10-14 17:27:46 -07:00
Frank Denis
c33014cabe Include quirks/windows 2013-10-14 17:21:58 -07:00
Frank Denis
afa49d340c Add stdbool.h for old MSVC. 2013-10-14 17:15:50 -07:00
Frank Denis
81321c8809 Define _SODIUM_C99 as empty on retarded compilers, not only when using C++ 2013-10-14 16:45:02 -07:00
Frank Denis
5bf0027644 Add version number to the libsodium.sln file 2013-10-14 16:36:29 -07:00
Frank Denis
dd9c2ba4b2 Downgrade requirements to MSVC 2010 2013-10-14 16:31:29 -07:00
Frank Denis
fcf4b21149 sha256 IV should be unsigned chars. 2013-10-14 13:43:12 -07:00