1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-24 12:36:01 -07:00
Commit Graph

714 Commits

Author SHA1 Message Date
Frank Denis
08755e04e1 Support randombytes() with size == 0, but don't force implementations to support it 2013-11-21 23:22:45 -08:00
Frank Denis
b64f19d439 plural 2013-11-20 14:08:57 -08:00
Frank Denis
0331a0da97 Better document why sodium_init() should be used if thread safety is required 2013-11-20 14:06:17 -08:00
Frank Denis
9927b7460e Target iOS 7.1 2013-11-18 14:59:25 -08:00
Frank Denis
f553bb4bf2 aes256-ctr: do not left shift more than 16 bits on a signed int.
Spotted by John Regehr and clang -fsigned-integer-overflow
2013-11-12 09:47:36 -08:00
Frank Denis
5a566c041c We can't enforce 64-bit alignment of aes256 context w/ the current interface 2013-11-12 09:41:23 -08:00
Frank Denis
deaa893ce4 Add a test for blake2 with salt&personalization 2013-11-11 23:33:16 -08:00
Frank Denis
f47b7cdb58 Rename crypto_generichash_blake2b_init2() 2013-11-11 23:18:34 -08:00
Frank Denis
adf1e2e169 +libsodium-php 2013-11-11 21:16:45 -08:00
Frank Denis
e43cf109a7 Add crypto_secretbox_macbytes() 2013-11-11 20:07:14 -08:00
Frank Denis
4faa73abe4 +node-sodium 2013-11-11 09:34:51 -08:00
Frank Denis
d9093e4ce6 Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  void * casts for c++ compat
  Add blake2b_salt_personal()
  Add support for salt & personalization to Blake2. This API might change. I'm not a big fan of what we have now.
  Use blake2b_init() *or* blake2b_init_key(). Calling both is not needed.
2013-11-11 08:23:06 -08:00
Frank Denis
6d6ad528af +salt, new bindings for Erlang 2013-11-11 08:22:52 -08:00
Frank Denis
1f405ef7f2 void * casts for c++ compat 2013-11-05 22:30:39 -08:00
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