Commit Graph

1976 Commits

Author SHA1 Message Date
Frank Denis
14bf02af88 Rename the pwhash test as as pwhash_scrypt 2015-12-29 16:14:19 +01:00
Frank Denis
dfdf65c4f0 Add crypto_pwhash_argon2i_(memlimit|opslimit)_moderate()
Import missing crypto_pwhash_argon2i.h by the way
2015-12-29 16:07:47 +01:00
Frank Denis
d740901df0 Have --enable-opt imply -Ofast 2015-12-29 15:46:23 +01:00
Frank Denis
387dd75e88 Require at least SSSE3 for optimized implementations 2015-12-29 15:34:16 +01:00
Frank Denis
a916ec93c1 crypto_pwhash_argon2i_*() 2015-12-29 13:29:24 +01:00
Frank Denis
da927a985f Argon2 bits - Not exposed in the API yet 2015-12-29 11:24:11 +01:00
Frank Denis
9abc0fdbd0 Back go to dev mode 2015-12-28 18:51:25 +01:00
Frank Denis
953e959fba Try --high-entropy-va on MinGW 2015-12-27 20:53:08 +01:00
Frank Denis
342f209cbe Reorder 2015-12-25 15:58:54 +01:00
Frank Denis
4430d84d4a 1.0.8 2015-12-25 12:23:31 +01:00
Frank Denis
35b0264cdd Get ready for the xmas release 2015-12-25 11:58:08 +01:00
Frank Denis
99666f588d pkg-config is not required 2015-12-25 11:51:19 +01:00
Frank Denis
61fbc8eb63 lcov exclusion 2015-12-25 02:12:09 +01:00
Frank Denis
d839d74c89 lcov exclusion 2015-12-25 02:09:12 +01:00
Frank Denis
2f4603ff7e lcov exclusion 2015-12-25 02:03:27 +01:00
Frank Denis
9784038ad0 Check crypto_box_detached() with a small order pk 2015-12-25 02:01:51 +01:00
Frank Denis
2f1cec7352 Test crypto_box_beforenm() with a small order pk 2015-12-25 02:00:01 +01:00
Frank Denis
cdd45e413a lcov exclusion 2015-12-25 01:54:49 +01:00
Frank Denis
b80d037b4d Check that crypto_box[_beforenm] fails with a small order pk 2015-12-24 19:35:05 +01:00
Frank Denis
60d05339fd Constify 2015-12-24 19:00:42 +01:00
Frank Denis
ee3a5d8cf3 Update the Visual Studio solutions 2015-12-24 04:10:18 +01:00
Frank Denis
60f0b8749e Mention that the gitbook online documentation requires Javascript
Add a link to the offline documentation
2015-12-24 03:39:41 +01:00
Frank Denis
f254415be4 Update .gitignore 2015-12-23 22:31:02 +01:00
Frank Denis
c08c21887e Version bump 2015-12-23 21:15:12 +01:00
Frank Denis
8ca2c79a19 Annotations 2015-12-23 20:40:32 +01:00
Frank Denis
e936002885 2x 2015-12-23 18:29:47 +01:00
Frank Denis
386ce83df1 Test crypto_onetimeauth_update() with a null size 2015-12-22 14:32:14 +01:00
Frank Denis
82831cb7a6 Document constants 2015-12-22 12:19:32 +01:00
Frank Denis
b6fd83fa2f Merge pull request #340 from neuhaus/patch-1
wipe secret key as soon as it is no longer needed.
2015-12-22 11:16:09 +01:00
Sven Neuhaus
0900de8c1d wipe secret key as soon as it is no longer needed. 2015-12-22 11:15:18 +01:00
Frank Denis
15285e4743 Merge branch 'master' of https://github.com/jedisct1/libsodium 2015-12-22 09:52:30 +01:00
Frank Denis
1434812fae Update the top-level Visual Studio solution 2015-12-22 09:52:05 +01:00
Frank Denis
7e1ea85f47 Remove dead code 2015-12-22 09:50:05 +01:00
Frank Denis
6996c383d3 Add warning 2015-12-20 17:29:33 +01:00
Frank Denis
764ceb7b7e Fix empty __attribute__ definition for !__GNUC__ 2015-12-20 17:20:30 +01:00
Frank Denis
7d819ca43d Update ChangeLog 2015-12-19 21:26:08 +01:00
Frank Denis
c233490f06 Use memset() for fe_(0|1)()
This produces faster code with gcc.
constify precomputations by the way.
2015-12-19 01:51:20 +01:00
Frank Denis
90c49184fa --enable-opt now enables -save-temps; remove -flto 2015-12-18 01:11:41 +01:00
Frank Denis
00914500e0 Use stdint types instead of crypto_* 2015-12-18 00:13:24 +01:00
Frank Denis
2b21e18224 Finish replacing shifts on integers with multiplications 2015-12-18 00:03:47 +01:00
Frank Denis
09128b88c7 Remove redundant blank lines 2015-12-17 17:02:01 +01:00
Frank Denis
29caedbee6 Spacing 2015-12-17 09:47:30 +01:00
Frank Denis
194ad15904 Explicitly call abort() if gettimeofday() doesn't succeed. 2015-12-17 09:45:02 +01:00
Frank Denis
c82925f2e6 Merge pull request #334 from bsilver8192/master
Various small cleanups
2015-12-17 09:38:31 +01:00
Frank Denis
c84ba1d17a Aliasing 2015-12-17 08:37:57 +01:00
Brian Silverman
63b82c28e9 Use the right type for sizeof's result 2015-12-16 22:54:06 -05:00
Brian Silverman
18187ffab2 Don't rely on assert evaluating its argument 2015-12-16 22:54:04 -05:00
Brian Silverman
efabf7f872 Don't call strlen on uninitialized memory if fgets fails 2015-12-16 22:54:01 -05:00
Frank Denis
03973542c7 Faster scalarmult_base() when using the ref10 implementation.
Use the Ed25519 scalar multiplication function followed by a conversion to
Montgomery coordinates to generate X25519 public keys.

Suggested a while ago by @CodesInChaos
2015-12-17 00:49:59 +01:00
Frank Denis
f430f3a936 Reorder to improve inlining 2015-12-16 16:01:00 +01:00