Commit Graph

180 Commits

Author SHA1 Message Date
Frank Denis
f23d7eff4d Automatically generate MSVC projects 2017-02-28 17:33:57 +01:00
Frank Denis
40b4462239 Version bump [not released yet] 2017-02-20 11:35:14 +01:00
Frank Denis
482ab1ed41 Reintroduce 27a2756479 2016-07-24 19:54:07 +02:00
Frank Denis
d60b0c3699 Revert "VS2010 debug symbols"
This reverts commit 48b5f7b332.
2016-07-24 15:36:02 +02:00
Frank Denis
ab72d2d6b3 Revert "VS2012 debug symbols"
This reverts commit 6ff50e41a2.
2016-07-24 15:35:56 +02:00
Frank Denis
6996360304 Revert "VS2013 debug symbols"
This reverts commit 0788e50bfd.
2016-07-24 15:35:51 +02:00
Jan-E
0788e50bfd VS2013 debug symbols 2016-07-24 01:03:41 +02:00
Jan-E
6ff50e41a2 VS2012 debug symbols 2016-07-24 01:01:12 +02:00
Jan-E
48b5f7b332 VS2010 debug symbols 2016-07-24 00:55:45 +02:00
Frank Denis
a7a3235a39 Version bump (not released yet) 2016-06-30 18:48:16 +02:00
evoskuil
f8d5cf948a Clone msvc .filters (from vs2013 version) for uniformity. 2016-05-12 02:03:23 -07:00
evoskuil
3aad5c11ea Use lowest common denominator .vcxproj ToolsVersion. 2016-05-12 02:02:38 -07:00
Frank Denis
3fe5590b94 Do not forget crypto_pwhash.c on Visual Studio 2016-04-13 08:12:54 +02:00
Frank Denis
8957364f47 Remove headers that are not required in MSVC solutions 2016-04-04 18:02:22 +02:00
Frank Denis
5cad35bfae Remove some unneeded dependencies from MSVC project filters 2016-04-04 16:32:47 +02:00
Frank Denis
703120c1a2 Version bump [only the package] 2016-04-04 12:53:35 +02:00
Frank Denis
4b6667a9d3 Update Makefiles and MSVC solutions 2016-03-17 17:07:43 +01:00
Frank Denis
4093e253f5 Remove the test dir from the VS solutions, except the top one 2016-03-07 16:13:59 +01:00
Frank Denis
59f0300c0e Remove the test part from the vs2010 projects 2016-03-07 16:12:31 +01:00
Frank Denis
81f3f64f42 Remove disabled files 2016-03-07 15:51:45 +01:00
Frank Denis
dde91ba026 VS2015 update 2016-03-07 15:41:22 +01:00
Frank Denis
dadf1b0f1b VS2013 update 2016-03-07 15:36:25 +01:00
Frank Denis
ce5f82b788 Update the VS2012 project 2016-03-07 15:30:14 +01:00
Frank Denis
bafee4daf1 VS2010 update 2016-03-07 15:19:12 +01:00
Frank Denis
adfe6c9d55 scrypt/sysendian.h is gone 2016-02-27 13:14:01 +01:00
Frank Denis
22eebd83f1 common_aes128ctr.c is gone 2016-02-27 13:11:08 +01:00
gnieboer
b4af066286 Added all argon2 files to other msvc project files and project filter files 2016-02-07 17:11:59 +03:00
Frank Denis
846a84b721 Version bump (not released yet) 2016-01-13 09:49:20 +01:00
Frank Denis
14bf02af88 Rename the pwhash test as as pwhash_scrypt 2015-12-29 16:14:19 +01:00
Frank Denis
ee3a5d8cf3 Update the Visual Studio solutions 2015-12-24 04:10:18 +01:00
Frank Denis
c08c21887e Version bump 2015-12-23 21:15:12 +01:00
Frank Denis
1e71f849b5 1.0.7 (not released yet) 2015-11-25 16:12:42 +01:00
Frank Denis
d5fd75dcc7 Make crypto_stream_chacha20 modular like the rest
In preparation for optimized implementations
2015-11-25 01:17:37 +01:00
Frank Denis
cb9d52760c Update the Visual Studio 2015 solution 2015-11-23 15:36:28 +01:00
Frank Denis
65a91fd559 Remove api.h from the Visual Studio solutions 2015-11-22 12:44:45 +01:00
Frank Denis
9bfa30ae6a api.h -> stream_chacha20_ref.h 2015-11-22 00:02:00 +01:00
Frank Denis
0f030428ff Update the Visual Studio 2013 solution 2015-11-20 15:46:31 +01:00
Frank Denis
5a90e15eac Update the Visual Studio 2012 solution 2015-11-19 15:36:51 +01:00
Frank Denis
05ad4b62b9 Update the Visual Studio 2010 solution 2015-11-17 18:31:57 +01:00
Frank Denis
dd238f518d Bump major 2015-11-14 15:33:15 +01:00
Frank Denis
1bfdfd4e5d Update the Visual Studio 2015 solution 2015-11-01 19:26:09 +01:00
Frank Denis
2a1bc6607f Update the Visual Studio 2013 solution 2015-11-01 19:21:07 +01:00
Frank Denis
27ecb1f848 Update the Visual Studio 2012 solution 2015-11-01 19:14:55 +01:00
Frank Denis
36187f094d Update the Visual Studio 2010 solution 2015-11-01 19:06:42 +01:00
Frank Denis
2a77b18ad8 Version bump (not released yet) 2015-11-01 15:45:36 +01:00
Frank Denis
19308c5d5b Bump the library major version, since some functions have been removed
Even though these functions were exported, the number of applications
using them directly is very likely to be zero.

Still, bump the major library version to be safe and compliant.
2015-11-01 12:23:21 +01:00
Frank Denis
26fdfec99b Add sodium_runtime_has_ssse3() and sodium_runtime_has_sse41() 2015-10-31 23:42:44 +01:00
Frank Denis
f11da70ce2 Package version bump. No ABI version changes required. 2015-10-24 19:12:49 +02:00
Frank Denis
c5d675ebba MSVC solutions: exclude test files from build 2015-10-18 14:50:58 +02:00
Frank Denis
606ead7e16 Update MSVC2015 solution 2015-10-14 07:47:45 -07:00
Frank Denis
ec7b8e5605 Version bump [but still not released] 2015-10-14 14:43:22 +02:00
Frank Denis
fa71e064ef Update the MSVC2013 solution 2015-10-14 11:29:38 +02:00
Frank Denis
6e243160e8 Don't build for WP8 2015-10-13 15:12:48 +02:00
Frank Denis
a4a9f24f28 Update MSVS2012 solution 2015-10-13 05:57:15 -07:00
Frank Denis
ea5c989096 Update MSVC2010 solution 2015-10-13 05:07:09 -07:00
evoskuil
b77b074569 Fix Visual Studio common props for MT dynamic release. 2015-07-26 15:53:39 -07:00
Frank Denis
305d5e02e2 + ARM.props 2015-05-29 17:40:31 +02:00
Frank Denis
acac4cbf9d VC2012 ToolsVersion is 12.0 2015-05-04 12:44:07 +02:00
Frank Denis
f752a3edce Use correct ToolsVersion in the vc2015 proejct 2015-05-03 11:22:20 +02:00
Frank Denis
e084aec840 Add solution for vs2015 2015-05-02 10:42:43 +02:00
Frank Denis
b5fff1fcf5 Version bump 2015-04-26 17:09:00 +02:00
Frank Denis
a789e00d54 Remove resource.h/resource.rc 2015-04-25 18:32:06 +02:00
Frank Denis
797b423e88 Add missing Visual Studio filters for recent tests 2015-04-24 18:00:42 +02:00
Frank Denis
0b9d1cbc88 Add missing tests to the Visual Studio solutions 2015-04-21 20:41:30 +02:00
Frank Denis
575ce93058 + crypto_box_seal() 2015-04-17 01:01:32 +02:00
Frank Denis
4724440492 quirks\windows\windows-quirks.h -> quirks\quirks.h 2015-01-23 10:35:20 +01:00
Frank Denis
cb73ed5fe8 msvc version bump 2015-01-14 20:08:18 +01:00
Frank Denis
aaf5fbf2e5 + precomputed interface for crypto_box() 2015-01-06 17:52:42 +01:00
Jens Mueller
c9ef5ac2b5 fix building visual studio projects within a path containing white spaces 2014-11-21 16:57:07 +01:00
evoskuil
34c71ac38a Add/remove tests from VS test projects. 2014-11-02 22:38:13 -08:00
evoskuil
ebeafff62f Bump VS dll resource version to 1.0.1.0 2014-11-02 22:37:34 -08:00
evoskuil
72af365edc Revert changes to common props. 2014-11-02 22:36:21 -08:00
Andre Caron
a7a04d7af5 Changes DLL_EXPORT to SODIUM_DLL_EXPORT.
This macro conflicts with other projects.  This results in the inability to
build one DLL that depends on libsodium if the other DLL also uses the
DLL_EXPORT macro to control visibility of library symbols.  Since the choice of
name for this macro is arbitrary, use of a library prefix is preferred.
2014-10-13 15:18:09 -04:00
Frank Denis
84972cbf9c Version bump 2014-10-08 22:01:12 -07:00
Frank Denis
b91baa687e SODIUM_VERSION_STRING should be the package version even on Visual Studio 2014-09-30 11:35:31 -07:00
Frank Denis
2c61530133 1.0.0 2014-09-24 00:18:44 -07:00
Frank Denis
05f46af70e Version bump 2014-09-18 22:47:11 -07:00
Frank Denis
b062a555da scalarmult: check that the top bit is ignored 2014-09-18 21:27:49 -07:00
Frank Denis
61449686ee Version bump 2014-08-15 16:52:01 -07:00
Frank Denis
473e1718cc Add sodium_{malloc,allocarray,free}() and sodium_mprotect_*()
ptr = sodium_malloc(size) returns a pointer from which exactly "size" bytes
can be accessed.

ptr = sodium_allocarray(count, size) allocates enough storage space for
"count" pointers or scalars of unit size "size".

In both cases, the region is immediately followed by a guard page.
As a result, any attempt to access a memory location after ptr[size - 1] will
immediately trigger a segmentation fault.

The allocated region is mlock()ed and filled with 0xd0 bytes.

A read-only page with the size, a guard page, as well as a canary are
placed before the returned pointer.

The canary is checked by sodium_free(); as a result, altering data right
before ptr is likely to cause sodium_free() to kill the process.

sodium_free() munlock()s the region and fills it with zeros before
actually calling free().

sodium_mprotect_noaccess(), sodium_mprotect_readonly() and
sodium_mprotect_readwrite() can be used to change the protection on the set
of allocated pages.

Reverting the protection to read+write is not required before calling
sodium_free().
2014-08-14 21:41:05 -07:00
Frank Denis
6c78c9815c Remove compat.c 2014-08-13 17:40:06 -07:00
Frank Denis
eae4add8de Implement ed25519 -> curve25519 keys conversion 2014-08-05 13:32:25 -07:00
Frank Denis
7b0eeda1c6 Remove aes256estream.
AES-256 will be reintroduced, but not until we have a bitsliced implementation.
2014-08-05 00:57:10 -07:00
Frank Denis
aae1ae5005 MSVC: Define NATIVE_LITTLE_ENDIAN / inline as __inline / UNICODE & _UNICODE 2014-07-29 08:57:17 -07:00
Frank Denis
955cfba91e MSVC: Don't define NDEBUG even for Release builds. 2014-07-29 08:42:18 -07:00
Frank Denis
412f3edf8c Get ready for 0.6.1 2014-07-12 21:15:46 -07:00
evoskuil
e6135a4712 Update windows dll version resource to 0.6.0 2014-07-04 05:46:18 -06:00
evoskuil
a494ab6213 Drop crypt32.lib Windows dependency. 2014-07-03 14:50:49 -06:00
evoskuil
a7f810fad1 Remove test files from new VS test projects. 2014-07-03 14:30:57 -06:00
evoskuil
684963583a Cosmetic change to xml whitespace (from generation). 2014-07-03 14:19:34 -06:00
Frank Denis
87eb9bd232 Merge remote-tracking branch 'evoskuil/master'
* evoskuil/master:
  Debug symboils for VS static libs.
  Update VS import props to fix delinking.
  Update nuget package to 0.5.1+ (published).
  cosmetic msvc xml fix
  Nuget package generation intermediate outputs.

Conflicts:
	packaging/nuget/package.config
2014-07-03 11:46:16 -07:00
Frank Denis
28d6eeaad7 Next package version will be 0.6.0
The library itself doesn't need a major version bump.
2014-06-26 16:13:46 -07:00
Frank Denis
83e91d7955 Update MSVC2013 solution 2014-06-26 13:52:53 -07:00
Frank Denis
113adff15b Update the MSVC2010 solution 2014-06-26 13:49:03 -07:00
Frank Denis
54cddd9650 Update MSVC2012 solution 2014-06-26 13:40:18 -07:00
Frank Denis
e352e775e8 Update vs2010 & vs2013 solutions 2014-06-23 16:55:19 -07:00
Frank Denis
1ba2ff6a04 Update vs2012 solution 2014-06-23 16:53:14 -07:00
evoskuil
0c0705ed47 Debug symboils for VS static libs. 2014-06-14 19:44:32 -07:00
evoskuil
8f5c9df257 Update VS import props to fix delinking. 2014-06-04 01:24:24 -07:00
evoskuil
04fdc3d315 Update nuget package to 0.5.1+ (published). 2014-05-28 17:09:22 -07:00