Commit Graph

878 Commits

Author SHA1 Message Date
Frank Denis
37d73684b8 More crypto_pwhash tests 2014-05-12 11:26:39 -07:00
Frank Denis
bde0b3bfad Mention that CPU features are not detected at runtime. 2014-05-12 10:49:52 -07:00
Frank Denis
96ea56a471 Rename cpu_features global to _cpu_features 2014-05-12 10:30:52 -07:00
Frank Denis
fb99b23ef4 Make aes256 tables static 2014-05-12 10:26:20 -07:00
Frank Denis
aefd4667c5 Remove crypto_generichash_blake2b -> crypto_generichash_blake2b_ref macro 2014-05-12 10:18:33 -07:00
Frank Denis
5940f6794c Match crypto_generichash_blake2b_{saltbytes/personalbytes} with prototypes. 2014-05-12 10:15:16 -07:00
Frank Denis
fe70a07f04 Mention the new Visual Studio build system 2014-05-12 09:40:18 -07:00
Frank Denis
66322e887f Merge pull request #153 from evoskuil/master
Remove VS imports custom props dep, batch VS builds.
2014-05-12 02:10:31 -07:00
evoskuil
c12cd7fb25 Batch build for all VS solutions. 2014-05-12 02:07:54 -07:00
evoskuil
3b2f435363 Remove VS custom props dependency from imports. 2014-05-11 14:25:55 -07:00
Frank Denis
a0158e97da Merge remote-tracking branch 'evoskuil/master'
* evoskuil/master:
  Update VS2010/2012 import props to match 2013.
  Update NuGet packaging.
  Modify VS props config for easy variation of output locations and messages.
  Use explicitly Unicode Win32 APIs.
  Update Visual Studio projects and packaging.
2014-05-11 09:18:17 -07:00
evoskuil
00f7fb537f Update VS2010/2012 import props to match 2013. 2014-05-11 00:48:42 -07:00
evoskuil
2829336a15 Update NuGet packaging. 2014-05-10 19:57:15 -07:00
evoskuil
0e94fbb766 Modify VS props config for easy variation of output locations and messages. 2014-05-10 19:30:10 -07:00
evoskuil
4ab3d21529 Use explicitly Unicode Win32 APIs. 2014-05-10 19:28:24 -07:00
evoskuil
63a7e26499 Update Visual Studio projects and packaging. 2014-05-10 03:47:35 -07:00
Frank Denis
244158ab2e pwhash: return a zeroed output buffer on error paths. 2014-05-10 01:25:07 -07:00
Frank Denis
4ea26f0b8c Stricter autoconf checks for MMX/SSE2/SSE3 2014-05-09 22:01:15 -07:00
Frank Denis
be3c786e23 smult_curve25519_donna_c64.c assumes little-endian. 2014-05-09 18:41:39 -07:00
Frank Denis
8631fe9d1a Avoid unaligned access in smult_curve25519_donna_c64.c if required 2014-05-09 18:39:14 -07:00
Frank Denis
23aac61bd0 Fix indentation 2014-05-09 18:27:24 -07:00
Frank Denis
5ee582509e Do not check for __STDC_VERSION__ any more to use memset_s() 2014-05-09 13:24:36 -07:00
Frank Denis
90d270f7c5 Check for memset_s availability the hard way. 2014-05-09 13:23:15 -07:00
Frank Denis
bfeec26358 Use explicit_bzero if available 2014-05-09 13:06:39 -07:00
Frank Denis
290632a193 Use memset_s() only if compiling in C11 mode. 2014-05-09 11:11:48 -07:00
Frank Denis
cf8961a5bb thanks << '@evoskuil' 2014-05-09 00:14:55 -07:00
Frank Denis
8802ea6326 Update ChangeLog 2014-05-08 22:36:28 -07:00
Frank Denis
af2246881d Avoid unknown pragma on !__GCC__ 2014-05-08 21:44:57 -07:00
Frank Denis
ffe144ac04 Update vs201*/libsodium/libsodium.vcxproj 2014-05-08 21:38:16 -07:00
Frank Denis
9383d59e21 It's totally fine for sodium_library_version_minor() to be 0. 2014-05-08 21:32:36 -07:00
Frank Denis
b2cc7ff0b9 Regen version.h for the new Visual Studio build system. 2014-05-08 21:14:39 -07:00
Frank Denis
d12b563520 Bump library version major 2014-05-08 21:13:12 -07:00
Frank Denis
f945a718da Update libsodium.vcxproj.filters 2014-05-08 21:03:06 -07:00
Frank Denis
6bef914dc4 Update libsodium.vcxproj 2014-05-08 20:48:19 -07:00
Frank Denis
42d87bf926 The pwhash test requires a 32 bytes salt. 2014-05-08 20:39:14 -07:00
Frank Denis
b2c5deccdd Pretend Visual Studio has <emmintrin.h> 2014-05-08 20:26:45 -07:00
Frank Denis
4ebbd0d992 Just use escrypt_kdf_nosse if SSE2 is not available. 2014-05-08 20:18:32 -07:00
Frank Denis
2dc7038b58 Try to keep file names unique, it makes things easier with Visual Studio 2014-05-08 20:07:03 -07:00
Frank Denis
7e6bd17b77 Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  Update README.markdown
2014-05-08 19:09:57 -07:00
Frank Denis
e48b1e6b75 Remove extra puts() in pwhash test. 2014-05-08 19:09:43 -07:00
Frank Denis
67d83a3bf5 Merge pull request #150 from whitequark/patch-1
Update README.markdown
2014-05-08 18:53:55 -07:00
Peter Zotov
efe7591cdf Update README.markdown
The language is named OCaml, not Ocaml.
2014-05-09 05:32:51 +04:00
Frank Denis
28d36d5207 Add memory locking to crypto_box_easy 2014-05-08 15:11:54 -07:00
Frank Denis
8a8463e4ac Plug memory leak on error path in the easy interfaces 2014-05-08 15:06:28 -07:00
Frank Denis
2a531bb519 Recommend sodium_mlock()/sodium_munlock() over sodium_memzero(). 2014-05-08 14:30:15 -07:00
Frank Denis
be4917144b Document sodium_mlock()/sodium_munlock() 2014-05-08 14:19:46 -07:00
Frank Denis
609f2c6b9f crypt_pwhash should be a 3rd-level title 2014-05-08 12:34:28 -07:00
Frank Denis
d183c89490 Add preliminary documentation on scrypt 2014-05-08 12:32:49 -07:00
Frank Denis
fda08703fc salsa20/ref: zero sensitive data before returning 2014-05-08 11:12:04 -07:00
Frank Denis
4722990ec3 Merge pull request #149 from jvarho/divide-by-zero-fix
Check r and p against zero before dividing
2014-05-08 08:07:50 -07:00