Commit Graph

1091 Commits

Author SHA1 Message Date
Frank Denis
cdd79653f3 Remove unused macros 2014-05-13 00:01:58 -07:00
Frank Denis
291d4998be Define crypto_*_primitive() for high-level functions only 2014-05-13 00:00:03 -07:00
Frank Denis
91d17f6be1 <stddef.h> is required in crypto_hash.h 2014-05-12 23:45:49 -07:00
Frank Denis
df427966e2 Move macro definitions close to their related function definition 2014-05-12 23:44:04 -07:00
Frank Denis
84cceed1f6 Do not require crypto_sign_BYTES extra bytes for the message in crypto_sign_open()
This is a common source of confusion.
2014-05-12 22:54:05 -07:00
Frank Denis
a89c03e2cb Merge branch 'names-in-prototypes'
* names-in-prototypes:
  Name parameters in all prototypes.
2014-05-12 22:04:43 -07:00
Frank Denis
37ed9bada9 Name parameters in all prototypes. 2014-05-12 22:04:03 -07:00
Frank Denis
0c63926ef1 Fix sign.c test, classic crypto_sign_open() confusion. 2014-05-12 21:43:33 -07:00
evoskuil
4c2d0242fe Simplify VS project configurations and harden MSBUILD script. 2014-05-12 20:18:22 -07:00
Frank Denis
a3527a476a Zap empty line 2014-05-12 14:20:52 -07:00
Frank Denis
f3034d38fc Align library version ASCII art 2014-05-12 14:07:48 -07:00
Frank Denis
349b73ca53 Move "bindings for other languages" up 2014-05-12 13:59:52 -07:00
Frank Denis
30c1e13f2a Switch opslimit and memlimit in pwhash, to be closer to PHC's proposed API. 2014-05-12 12:34:41 -07:00
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