Frank Denis
394c6a1970
Merge pull request #205 from evoskuil/master
...
Update VS projects and fix test warnings.
2014-11-20 12:00:06 -08:00
Frank Denis
a31a353f0e
curve25519-donna-c64: use limb instead of uint64_t everywhere for consistency
2014-11-20 11:46:25 -08:00
Frank Denis
ae13df74e1
curve25519-donna-c64: replace U8TO64/U64TO8 with load_limb/store_limb
...
To match the current @agl code.
2014-11-20 11:43:53 -08:00
Frank Denis
4f70e7c171
C++ compat
2014-11-20 11:35:32 -08:00
Frank Denis
d3e716aa49
curve25519-donna-c64: don't read an extra byte when expanding a 32-byte number into polynomial form
...
Reported by Michael Holmwood.
2014-11-20 11:22:24 -08:00
Frank Denis
df021fba2b
+ Loic Maury for Dylium
2014-11-18 19:20:21 -08:00
evoskuil
ecf86654bf
Update NuGet packaging for 1.0.0.0 release (last published).
2014-11-02 22:38:58 -08: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
evoskuil
173ad74d3e
Fix integer narrowing warnings in tests.
2014-11-02 22:35:36 -08:00
Frank Denis
68b3191c90
Merge branch 'master' of github.com:jedisct1/libsodium
...
* 'master' of github.com:jedisct1/libsodium:
Prevent first-run ./autogen.sh error due to ltmain.sh absence.
2014-11-02 19:24:29 -08:00
Frank Denis
25e467bdea
Check that -D_FORTIFY_SOURCE=2 doesn't trigger a compiler bug
2014-11-02 19:24:08 -08:00
Frank Denis
fff6c1cdec
Merge pull request #204 from pmienk/master
...
Isolates auxiliary files generated via autogen.sh/autoreconf.
2014-11-02 19:23:38 -08:00
Phillip Mienk
2f5a4bd019
Prevent first-run ./autogen.sh error due to ltmain.sh absence.
2014-11-02 16:49:17 -08:00
Frank Denis
63ee1abf82
Explicit int32 -> int64 conversions
2014-10-29 08:37:21 -07:00
Frank Denis
26d7b9c14c
Update ChangeLog
2014-10-19 19:26:15 -07:00
Frank Denis
caeeefbcf4
Credit CodesInChaos
2014-10-19 19:26:15 -07:00
Frank Denis
5fd91b8f0f
SIGSEGV handlers are incompatible with -fsanitize=address
2014-10-16 14:08:43 -07:00
Frank Denis
f6de559ee1
DLL_EXPORT -> SODIUM_DLL_EXPORT
2014-10-13 12:34:15 -07:00
Frank Denis
0f155e068b
Merge pull request #197 from AndreLouisCaron/vs2008
...
Fixes VS 2008 build.
2014-10-13 12:32:40 -07: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
9e64361e66
Make sodium_bin2hex() slightly faster
2014-10-07 21:15:46 -07:00
Frank Denis
814df1e60d
Constant-time sodium_bin2hex()
...
Original C# code by CodesInChaos.
2014-10-07 20:50:26 -07:00
Frank Denis
5c3c132e47
Make include guards consistent, and avoid reserved identifiers.
2014-10-06 14:14:49 -07:00
Frank Denis
cb07df046f
Remove S<l check.
...
Plan is to add is_standard()/is_canonical() instead of changing the current behavior
of the verification function. Suggested by CodesInChaos.
2014-10-06 12:21:40 -07:00
Frank Denis
15889c2e64
Remove dead variable and assignment
2014-10-05 01:28:00 -07:00
Frank Denis
71b5184224
Add a test for chacha20poly1305 with overlapping pointers
2014-10-05 00:02:45 -07:00
Frank Denis
c3b0de7393
Test box_easy with overlapping in/out.
2014-10-04 23:53:19 -07:00
Frank Denis
e04f1b6854
Avoid a conditional jump
2014-10-04 23:36:53 -07:00
Frank Denis
d34743241e
Add a test for ed25519 malleability and restore traditional behavior.
...
If an application really requires non-malleability, ED25519_PREVENT_MALLEABILITY
can be defined to enable the check.
This might become the default behavior depending on what other implementations
are planning to do.
2014-10-04 23:25:01 -07:00
Frank Denis
9f6d37d9c6
Support overlapping input and output regions in crypto_secretbox_detached()
...
crypto_stream_salsa20() doesn't support overlapping input and output regions,
except when they are aliases.
2014-10-04 22:08:09 -07:00
Frank Denis
4099618de2
ed25519_open(): check that S < l
...
Not strictly required, but I don't see any downsides either.
2014-10-04 22:07:58 -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
1afb2e4105
and -> and/or
2014-09-30 11:35:31 -07:00
Frank Denis
2c61530133
1.0.0
2014-09-24 00:18:44 -07:00
Frank Denis
18f4dd241e
C++ compat
2014-09-23 21:30:37 -07:00
Frank Denis
727f3993a1
lcov exclusion
2014-09-23 21:22:44 -07:00
Frank Denis
f71c1c0e17
lcov exclusion
2014-09-23 21:19:49 -07:00
Frank Denis
5a7782eb6e
Extra tests for invalid pwhash strings
2014-09-23 21:15:38 -07:00
Frank Denis
7670932918
test pwhash_str_verify() with an invalid character
2014-09-23 15:38:31 -07:00
Frank Denis
b07dfc5da3
The test for pwhash is too slow for some systems.
...
Stop checking alterations for every single character.
2014-09-23 15:18:06 -07:00
Frank Denis
ced2c40a1a
Update pwhash.exp for the new case that has to fail (empty password)
2014-09-23 14:57:11 -07:00
Frank Denis
7a54ba58e9
Test password verification with an empty password
2014-09-23 14:54:19 -07:00
Frank Denis
41db958e83
lcov exclusion
2014-09-23 14:54:10 -07:00
Frank Denis
0cb0578ede
lcov exclusion
2014-09-23 14:03:28 -07:00
Frank Denis
d6d539a0ce
Test crypto_pwhash_scryptsalsa208sha256_str_verify() with invalid input.
2014-09-23 13:58:59 -07:00
Frank Denis
0c73253249
lcov exclusions
2014-09-23 13:45:11 -07:00
Frank Denis
d511c43ca9
Test crypto_hash() with an input longer than the block size
2014-09-23 13:40:08 -07:00