Commit Graph

586 Commits

Author SHA1 Message Date
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
Frank Denis
0ca48ff21c Tweak msys flags 2013-04-24 11:48:51 -07:00
Frank Denis
e34aeffd3c Don't export symbols by default. 2013-04-24 08:46:39 -07:00
Frank Denis
18369c960f Don't forget exporting symbols from crypto_scalarmult_curve25519 2013-04-24 08:40:43 -07:00
Frank Denis
b32f896873 Mention Windows changes 2013-04-24 08:26:51 -07:00
Frank Denis
b381f42d17 Move blake2 own functions to the crypto_generichash_blake2b namespace 2013-04-24 08:10:15 -07:00
Frank Denis
b070985dfe Add Sodium.jl 2013-04-24 07:25:34 -07:00
Frank Denis
06ad7fc76f .gitignore: ignore .DEF file for Windows 2013-04-23 23:06:42 -07:00
Frank Denis
30909a7dea Fix DISTCLEANFILES 2013-04-23 22:57:05 -07:00
Frank Denis
f41677ef2e Remove extra leading spaces 2013-04-23 22:54:14 -07:00
Frank Denis
52565edee1 Remove LIBTOOL_EXTRA_FLAGS and -fPIC (implicit) on Win32 2013-04-23 21:55:48 -07:00
Frank Denis
e53b67924b Looks like AC_LIBTOOL_WIN32_DLL is still required these days. 2013-04-23 21:33:58 -07:00
Frank Denis
655a9589b8 Output .DEF file on Win32 2013-04-23 21:24:35 -07:00