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