Commit Graph

348 Commits

Author SHA1 Message Date
Frank Denis
47de75e935 Keep ming Visual C++ happy 2013-04-26 21:52:21 -07:00
Frank Denis
de517b70d9 char vs unsigned char in the sodium_utils test 2013-04-26 21:51:59 -07:00
Frank Denis
1706d63d65 More Visual C++ compat 2013-04-26 21:48:05 -07:00
Frank Denis
7f7eaf76b0 Missing #include "randombytes.h" 2013-04-26 21:47:19 -07:00
Frank Denis
330fb494e1 More Visual C++ compat 2013-04-26 21:46:57 -07:00
Frank Denis
65a30e52d4 Make ECRYPT_ctx non-anonymous 2013-04-26 21:43:20 -07:00
Frank Denis
ad44ec5b15 Don't use C99isms on Visual C++. 2013-04-26 21:41:32 -07:00
Frank Denis
47bb35cb8b Make struct crypto_generichash_blake2b_state non-anonymous 2013-04-26 21:29:53 -07:00
Frank Denis
4fa7625540 Mention that sodium_init() now calls randombytes_stir() 2013-04-26 21:18:09 -07:00
Frank Denis
bd6fb7e03c style 2013-04-26 21:14:12 -07:00
Frank Denis
4628a747ed Trim leading space in Makefile 2013-04-26 21:11:38 -07:00
Frank Denis
57a4552eb1 + aes256estream 2013-04-26 21:06:34 -07:00
Frank Denis
edc5faffd6 Add more information about thread safety until we provide a thread-safe API. 2013-04-26 17:27:55 -07:00
Frank Denis
1b87626e9f Move randombytes_stir() before returning sodium_init(). 2013-04-26 17:05:23 -07:00
Frank Denis
8de0ae0e73 Call randombytes_stir() in sodium_init(). 2013-04-26 17:03:50 -07:00
Frank Denis
076eb56e24 Set initialized=1 when everything has actually been initialized 2013-04-26 17:02:53 -07:00
Frank Denis
efb3d9919f randombytes_buf() returns void. 2013-04-26 16:55:01 -07:00
Frank Denis
ce38abed70 Include <stdlib.h> for NULL in the cpuid autoconf test. 2013-04-26 13:26:10 -07:00
Frank Denis
1e7fccf806 Sort 2013-04-26 11:26:37 -07:00
Frank Denis
6df4c3a1f3 Explicitly include sodium/crypto_scalarmult_curve25519.h.in in dist files 2013-04-26 11:25:58 -07:00
Frank Denis
63200794bf Unlike crypto_sign_keypair() calls randombytes()
so it is not guaranteed to be thread-safe (for now).
2013-04-26 09:55:47 -07:00
Frank Denis
732b7e1380 Ignore libsodium-* 2013-04-26 00:04:21 -07:00
Frank Denis
0263b6d802 Add Travis build status 2013-04-25 23:43:19 -07:00
Frank Denis
7fbc2b4bcd Disabling dependency tracking for Travis is fine. 2013-04-25 23:34:21 -07:00
Frank Denis
ba104b2706 -Wbounded is nice, but clang reports the same thing nowadays. 2013-04-25 23:27:47 -07:00
Frank Denis
162b485cf6 printf can be a macro already, so #undef it 2013-04-25 23:25:39 -07:00
Frank Denis
a3e13fa37d Add .travis.yml 2013-04-25 23:20:08 -07:00
Frank Denis
9ce73f07e5 Bump Android NDK version 2013-04-25 22:57:55 -07:00
Frank Denis
9131967397 We don't need libltdl 2013-04-25 22:51:19 -07:00
Frank Denis
8574a58488 Bump package version minor 2013-04-25 22:42:35 -07:00
Frank Denis
1827e508ea Remove trailing spaces 2013-04-25 22:38:06 -07:00
Frank Denis
4c31bb5ef1 Add tests for sodium_*() functions. 2013-04-25 22:37:15 -07:00
Frank Denis
5eb4d489ea Update NEWS for 0.4.1 2013-04-25 21:55:37 -07:00
Frank Denis
87a6d01115 Bump library version minor 2013-04-25 21:52:27 -07:00
Frank Denis
65e1b792dc Don't forget SODIUM_EXPORT in version.h.in 2013-04-25 21:43:31 -07:00
Frank Denis
4fff338810 Switch targets before trying to compile SIMD headers 2013-04-25 19:47:21 -07:00
Frank Denis
5f226a23a1 Check for cpuid instruction 2013-04-25 18:59:55 -07:00
Frank Denis
f0d71f9df0 Check allocate() return code. 2013-04-25 15:54:25 -07:00
Frank Denis
88c42e7daa Check SIMD headers 2013-04-25 09:37:04 -07:00
Frank Denis
e21f7e21a4 Don't jump the gun until optimized versions of Blake2 are in. 2013-04-25 07:15:54 -07:00
Frank Denis
4548600205 Add Erlang-NaCl 2013-04-24 15:17:50 -07:00
Frank Denis
91e75fc973 Use -fPIC even on Win32, since libtool reintroduces it no matter what. 2013-04-24 13:08:25 -07:00
Frank Denis
8a3c11968e More THANKS for people having written bindings 2013-04-24 13:04:41 -07:00
Frank Denis
6e455a3c02 Full name + resort 2013-04-24 13:03:39 -07:00
Frank Denis
ac69660f6c Add sneves + sort 2013-04-24 13:02:43 -07:00
Frank Denis
9e936a4276 Update THANKS file with people having sent pull requests 2013-04-24 13:01:43 -07:00
Frank Denis
cc4a83686d Merge pull request #33 from VeXocide/master
__attribute__((always_inline)) does not replace inline
2013-04-24 12:56:27 -07:00
Jeroen Habraken
eeab6bd2ce The "__attribute__((always_inline))" attribute does not replace "inline", they need to be used togher. This fixes the "warning: always_inline function might not be inlinable [-Wattributes]" warnings emitted by GCC 4.7. 2013-04-24 13:58:35 -05:00
Frank Denis
ecb70e2f77 Use included ltdl 2013-04-24 11:50:59 -07:00
Frank Denis
66c6df11bd Retweak msys compile script 2013-04-24 11:50:20 -07:00