Commit Graph

652 Commits

Author SHA1 Message Date
Frank Denis
dd9c2ba4b2 Downgrade requirements to MSVC 2010 2013-10-14 16:31:29 -07:00
Frank Denis
fcf4b21149 sha256 IV should be unsigned chars. 2013-10-14 13:43:12 -07:00
Frank Denis
8fa91a91ab Cast CryptGenRandom pointer to (BYTE *) to make MSVC happy when compiling as a C++ project 2013-10-14 13:40:54 -07:00
Frank Denis
6df6be8911 Remove some unneeded includes 2013-10-14 13:38:36 -07:00
Samuel Neves
ad4763a817 Remove extraneous macro 2013-10-14 13:33:20 -07:00
Frank Denis
64729711c4 Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  Fixed sodium.h install
2013-10-13 12:50:00 -07:00
Frank Denis
bd8cbd3175 Make curve25519-donna-c64 handle non-canonical points like the ref implementation. 2013-10-13 12:49:15 -07:00
Frank Denis
1a52326f09 Merge pull request #88 from xantares/master
Fixed sodium.h install
2013-10-12 15:37:48 -07:00
xantares
c6cd95f716 Fixed sodium.h install 2013-10-12 23:46:37 +02:00
Frank Denis
3863f5bb8d Merge pull request #87 from xantares/master
Fixed headers install
2013-10-10 15:27:46 -07:00
xantares
5f5c82aa2f Fixed headers install 2013-10-10 23:03:07 +02:00
Frank Denis
f9be0ee733 Merge pull request #86 from xantares/mingw
Fix mingw build
2013-10-09 12:14:06 -07:00
xantares
8d0942d5b1 Do not include configured headers 2013-10-09 20:57:32 +02:00
xantares
e2a30a859d Fixed libsodium.def dependency 2013-10-09 19:22:23 +02:00
Frank Denis
9599289ae0 Use HAVE_TI_MODE in portable-jane.h to use (or not) int128_t 2013-10-08 13:10:16 -07:00
Frank Denis
5ae6712192 More C89 compat 2013-10-07 19:58:06 -07:00
Frank Denis
1e4157ad19 blake2b: use only pre-C99 style declarations. 2013-10-07 19:46:32 -07:00
Frank Denis
82c7b125af Define an empty SODIUM_EXPORT if SODIUM_STATIC is defined. 2013-10-07 19:32:58 -07:00
Frank Denis
2c7aba48f3 Use arc4random() in tests if available. 2013-10-06 15:51:45 -07:00
Frank Denis
875f4210ef Check for arc4random() 2013-10-06 15:40:03 -07:00
Frank Denis
008808742b Bump library minor 2013-10-05 14:14:18 -07:00
Frank Denis
8fbbb98847 Be consistent, keep macros and related functions next to each other. 2013-10-05 14:11:57 -07:00
Frank Denis
5e4e3c9ecf Add an empty line. Yeah, that's a fantastic commit. 2013-10-05 14:08:03 -07:00
Frank Denis
8effa1ea88 Export scalarmult_curve25519 constants 2013-10-05 14:06:09 -07:00
Frank Denis
d83a4bdb6c Move back to Xcode.app 2013-10-04 18:36:34 -07:00
Frank Denis
71489f447a Make MSVC parser not panic when it parses a long literal.
Just use the scientific notation instead.
Found by @sneves, thanks!
2013-10-04 14:48:33 -07:00
Frank Denis
da11ba99cc ship sodium.props 2013-10-04 13:27:26 -07:00
Frank Denis
ce22c80116 Merge pull request #79 from sneves/master
Refactor MSVC project files
2013-10-04 13:26:26 -07:00
Samuel Neves
39b992f28a Refactor MSVC project files 2013-10-04 04:47:24 +01:00
Frank Denis
dd89067a94 +libsodium-net 2013-09-30 13:52:30 -07:00
Frank Denis
9c23042cc6 Visual Studio 2013 is supported. 2013-09-30 13:45:43 -07:00
Frank Denis
b9b293c0ab Add msvc scripts to the tarballs 2013-09-30 13:36:31 -07:00
Frank Denis
3890eb1f33 Generate files from .in files before compilation 2013-09-30 13:31:37 -07:00
Frank Denis
e1e6e0cf7e Enable full optimization on MSVC 2013-09-30 12:47:34 -07:00
Frank Denis
64be43d487 MSVC: define inline and NATIVE_LITTLE_ENDIAN for all targets 2013-09-24 14:44:05 -07:00
Frank Denis
cec400d5ad Add Visual Studio project files 2013-09-24 14:33:19 -07:00
Frank Denis
32a8591985 Fix randombytes_salsa20_random.c for MSVC 2013-09-24 14:20:52 -07:00
Frank Denis
26d108d468 MSVC fixes for randombytes_sysrandom.c 2013-09-24 14:09:26 -07:00
Frank Denis
ad49d05a8b Match randombytes() prototype with declaration. 2013-09-24 14:06:26 -07:00
Frank Denis
18015e71e2 randombytes_stir() returns void 2013-09-24 14:05:34 -07:00
Frank Denis
02bb86d18b MSVC/portable-jane.h: don't redefine _CRT_SECURE_NO_WARNINGS 2013-09-24 13:42:23 -07:00
Frank Denis
8086d6f696 blake2: remove more declarations in for() for MSVC 2013-09-24 13:38:02 -07:00
Frank Denis
14809c12c4 MSVC doesn't like a definition in a for() loop. 2013-09-24 13:28:31 -07:00
Frank Denis
30026fbbfe Check for inline vs __inline for MSVC 2013-09-24 13:23:48 -07:00
Frank Denis
656d8d6495 Disable donna_c64 on big endian architectures for now 2013-09-21 20:07:50 -07:00
Frank Denis
c43440f01c More fixes for big-endian architectures 2013-09-21 19:43:39 -07:00
Frank Denis
c19b0128e2 Add aes256-table-be.h to the Makefile 2013-09-21 18:56:24 -07:00
Frank Denis
29f81d167c aes256 table for big endian 2013-09-21 18:55:36 -07:00
Frank Denis
15f87c1c90 Reformat aes-table-le.h 2013-09-21 18:50:59 -07:00
Frank Denis
5dd623e96d Move endian-dependent aes256estream/aes-table.h bits to aes-table-le.h 2013-09-21 18:27:11 -07:00