Commit Graph

1052 Commits

Author SHA1 Message Date
Frank Denis
ad7b1c58a8 Add tests for short messages with (secret)box_easy 2014-07-11 12:23:52 -07:00
Frank Denis
931ce38f61 A double verification of 32 bytes is fast; so is comparing 2 pointers 2014-07-10 23:57:57 -07:00
Frank Denis
2bb8ae26d5 Test detached signatures 2014-07-10 23:21:23 -07:00
Frank Denis
16fa9960e0 Test crypto_sign_detached() 2014-07-10 23:21:22 -07:00
Frank Denis
c9c49c61fd Do not directly return the result of crypto_verify() 2014-07-10 23:21:18 -07:00
Frank Denis
96b840cfcf Add a test for short (non-detached) signed messages 2014-07-10 22:39:11 -07:00
Frank Denis
a362711903 Add crypto_sign_verify_detached() 2014-07-10 22:29:05 -07:00
Frank Denis
5b4a3b5715 Reformat 2014-07-10 22:04:01 -07:00
Frank Denis
f7c79dbea7 Combine crypto_hash_sha512_update() calls 2014-07-10 15:57:14 -07:00
Frank Denis
0b065e0748 Add crypto_sign_ed25519_detached() 2014-07-10 15:46:37 -07:00
Frank Denis
e6e0b7d498 Use --enable-minimal with the Javascript build 2014-07-09 21:14:27 -07:00
Frank Denis
f6519378b4 + --enable-minimal to build a smaller library without less-used functions. 2014-07-09 20:24:04 -07:00
Frank Denis
c7059e88ec Always install the .pc file even if pkg-config is not available.
And make sure that "make uninstall" gets rid of it, too.
2014-07-05 15:10:36 -07:00
Frank Denis
fbc3b606f8 Merge pull request #176 from evoskuil/master
Update Windows DLL version resource to 0.6.0 and republish NuGet package
2014-07-04 08:42:27 -07:00
evoskuil
e6135a4712 Update windows dll version resource to 0.6.0 2014-07-04 05:46:18 -06:00
Frank Denis
7a7cda0694 Merge pull request #175 from evoskuil/master
Trivial updates to Windows projects, update NuGet version for 0.6.0.
2014-07-03 14:27:47 -07:00
evoskuil
df1f1f6ace Update NuGet package versioning. 2014-07-03 14:54:30 -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
e4c751b214 Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  Shave a few lines in the ChangeLog file
  Use unsigned constants for all sizes
  Use unsigned types for sizes in tests.
  Having dead code in the tree is sad, but keeps the diff with the reference implementation to a minimum.
2014-07-03 00:31:40 -07:00
Frank Denis
fca020945c Align aes256 tables 2014-07-03 00:31:15 -07:00
Frank Denis
1089ab4824 Shave a few lines in the ChangeLog file 2014-07-01 16:35:45 -07:00
Frank Denis
70c731c95f Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  Use unsigned types for sizes in tests.
  Having dead code in the tree is sad, but keeps the diff with the reference implementation to a minimum.
  THANKS += @jshahbazi for the Fortran bindings
2014-07-01 12:37:30 -07:00
Frank Denis
e3d915143a Use unsigned constants for all sizes 2014-07-01 12:37:13 -07:00
Frank Denis
0e4f4d6205 Use unsigned types for sizes in tests. 2014-07-01 19:33:59 +00:00
Frank Denis
c87d9f38f8 Having dead code in the tree is sad, but keeps the diff with the
reference implementation to a minimum.
2014-07-01 19:27:34 +00:00
Frank Denis
cd27712c4c THANKS += @jshahbazi for the Fortran bindings 2014-07-01 02:16:17 -07:00
Frank Denis
d334b93d0d Mention that edwards25519sha512batch() should not be used in new projects. 2014-06-30 21:09:32 -07:00
Frank Denis
f53590f38b More warnings about aes256estream 2014-06-30 20:52:46 -07:00
Frank Denis
46181575fa Mention that SHA2 is vulnerable to length extension attacks. 2014-06-30 20:30:49 -07:00
Frank Denis
b555ed6cf0 Tag a few unused parameters 2014-06-30 20:06:30 -07:00
Frank Denis
3d43dccf80 Thanks to the FSF France for the gcc compile farm
which is used to test libsodium on various platforms.
And to Coverity for performing static analysis.
2014-06-30 19:30:52 -07:00
Frank Denis
510f33a732 Update the ChangeLog 2014-06-30 18:34:50 -07:00
Frank Denis
001177251e Add a compile-time check before using crypto_verify_16() 2014-06-30 16:43:33 -07:00
Frank Denis
9154d7416e Add a test for crypto_aead without any additional data 2014-06-30 16:23:34 -07:00
Frank Denis
6ea70839df MAP_ANONYMOUS might be defined instead of MAP_ANON 2014-06-30 14:46:00 -07:00
Frank Denis
33a699cc0c Remove useless spaces 2014-06-30 14:46:00 -07:00
Frank Denis
db90242d5a crypto_(secret)box_easy_detached() -> crypto_(secret)box_detached() 2014-06-30 14:45:49 -07:00
Frank Denis
dda77990f8 Target iOS 8.0 2014-06-29 10:55:13 -07:00
Frank Denis
8898a42521 THANKS += "Colm MacCárthaigh" for his help w/ the documentation 2014-06-28 22:57:46 -07:00
Frank Denis
dc76cf7cd8 Add backquotes 2014-06-28 22:51:39 -07:00
Frank Denis
151afdaa2c Re-add the address of the mailing list 2014-06-28 22:50:51 -07:00
Frank Denis
626cc3ba99 Deprecate the single-file documentation, link to the gitbook one 2014-06-28 22:49:18 -07:00
Frank Denis
e309c92e9b poly1305_finish(): zero the whole state using sodium_memzero() 2014-06-28 19:21:30 -07:00
Frank Denis
b617fbde52 Add Coverity Scan status 2014-06-28 18:48:53 -07:00
Frank Denis
32947225e4 Add pwhash recommended minimum parameters (interactive & sensitive) 2014-06-28 18:46:03 -07:00
Colm MacCarthaigh
08e578c421 Don't include locked memory in coredumps
Linux 3.4+ supports a DONTDUMP advisory, which prevents memory
from being included in coredumps.
2014-06-28 14:04:15 -07:00
Frank Denis
768b78b711 crypto_(secret)box_easy_detached() -> crypto_(secret)box_detached() 2014-06-27 18:29:03 -07:00