1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-20 02:25:14 -07:00
Commit Graph

900 Commits

Author SHA1 Message Date
Frank Denis
7f79513ddd Ask Travis to compile on OSX in addition to Linux 2014-05-13 16:23:24 -07:00
Frank Denis
184193d1c5 Kill implementation-specific macros 2014-05-13 13:47:13 -07:00
Frank Denis
a2985beb5c Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  Rename standard props file to align with existing VS prop value.
  Simplify VS project configurations and harden MSBUILD script.
2014-05-13 10:42:09 -07:00
Frank Denis
f25d7aa4f1 Add an extra static assertion 2014-05-13 10:41:55 -07:00
Frank Denis
43114ff80e Merge pull request #154 from evoskuil/master
Simplify VS project configs and harden MSBUILD script
2014-05-13 06:24:08 -07:00
evoskuil
49d2f7944e Rename standard props file to align with existing VS prop value. 2014-05-13 02:11:43 -07:00
Frank Denis
3ca303075d Stay close to 80 cols/line 2014-05-13 00:49:06 -07:00
Frank Denis
1e0eafc541 Fix inverted sse2/sse3 detection 2014-05-13 00:44:29 -07:00
Frank Denis
3026bd69f9 Disable old compatibility layer 2014-05-13 00:20:07 -07:00
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