Commit Graph

837 Commits

Author SHA1 Message Date
Frank Denis
2483af0384 Make hash_sha512 / hmac_sha512256 consistent with hash_sha256 / hmac_sha256 2014-04-14 20:42:37 -07:00
evoskuil
58bdca7fa2 Update VS projects to accomodate source file list changes. 2014-04-14 19:08:46 -07:00
Frank Denis
c1aebf3ea9 Add a default value for TEST_SRCDIR 2014-04-14 18:39:12 -07:00
Frank Denis
66cddcab9a Remove non-threadsafe versions of the crypt(3)-like interface to scrypt. 2014-04-14 18:38:32 -07:00
Frank Denis
412d5cb0c0 Stored values that are never read are very likely to get optimized out. 2014-04-14 18:38:31 -07:00
Frank Denis
06e70b085b crypto_hash_sha256_update() cannot fail 2014-04-14 18:38:30 -07:00
Frank Denis
613ab79a27 Explicitly make crypto_hashblocks_sha512.h private. 2014-04-14 18:38:29 -07:00
Frank Denis
d1dbf7df8f Remove useless define 2014-04-14 18:38:28 -07:00
Frank Denis
21eef79bb1 Do not export crypto_hashblocks* 2014-04-14 18:38:27 -07:00
Frank Denis
d5b0f7e802 Remove unnecessary cast 2014-04-14 18:38:26 -07:00
Frank Denis
42fd127d09 Remove hashblocks_sha256 2014-04-14 18:38:26 -07:00
Frank Denis
374fc13596 Remove hashblocks*.h and sign_edwards25519sha512batch.h from sodium.h 2014-04-14 18:38:25 -07:00
Frank Denis
4e3bc79887 Remove wrappers 2014-04-14 18:38:24 -07:00
Frank Denis
337b635138 Let crypto_pwhash_scryptxsalsa208sha256 use crypto_auth_hmacsha256 2014-04-14 18:38:23 -07:00
Frank Denis
d7dcf79fc0 Move crypto_hash_sha256_state to the crypto_hash_sha256.h header file 2014-04-14 18:38:22 -07:00
Frank Denis
e17b763b5f Use cp sha256 2014-04-14 18:38:21 -07:00
Frank Denis
39cf6cefaf hash_sha256: ref -> cp 2014-04-14 18:38:20 -07:00
Frank Denis
e1c19616bd Indentation 2014-04-14 18:38:19 -07:00
Frank Denis
e5b4c5caba We don't need sysendian.h 2014-04-14 18:38:19 -07:00
Frank Denis
d0015d61c5 Replace hmac_sha256 implementation with scrypt's 2014-04-14 18:38:18 -07:00
Frank Denis
653494bea8 scrypt fixes 2014-04-14 18:38:17 -07:00
Frank Denis
4be77b901e Initial import of scrypt 2014-04-14 18:38:16 -07:00
Frank Denis
d6e655ad97 A DWORD is the maximum CryptGenRandom() can support. 2014-04-14 18:38:15 -07:00
Frank Denis
3ec3b66f43 Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  Add explicit uint8_t casts for Blake2's key length. via @evoskuil
2014-04-14 18:37:52 -07:00
Frank Denis
aa2bd4d09b Add explicit uint8_t casts for Blake2's key length.
via @evoskuil
2014-04-14 18:37:51 -07:00
Frank Denis
1bb97076ab Do not remove previously generated files from the distribution. 2014-04-14 18:37:29 -07:00
Frank Denis
cb2ce89a03 Add a test for crypto_verify_*() 2014-04-14 18:37:28 -07:00
Frank Denis
28ac480ad0 Include crypto_verify_64.h in sodium.h 2014-04-14 18:37:27 -07:00
Frank Denis
c3d57f07ab De-doxygenize crypto_verify_64.h in this branch. 2014-04-14 18:37:26 -07:00
Frank Denis
80aff278d0 +crypto_verify64 2014-04-14 18:37:25 -07:00
evoskuil
0f9aec94b6 Set VS2010 and VS2012 project files tools version to 4.0. 2014-04-14 17:55:24 -07:00
evoskuil
d36bcc85b5 Remove versioning from .props files. 2014-04-14 17:54:49 -07:00
Frank Denis
e2262de49c Add a default value for TEST_SRCDIR 2014-04-14 15:52:55 -07:00
Frank Denis
aa88415338 Remove unused variables 2014-04-14 15:51:03 -07:00
Frank Denis
7791007caf Remove non-threadsafe versions of the crypt(3)-like interface to scrypt. 2014-04-12 00:54:37 -07:00
Frank Denis
d3605bf4c3 Stored values that are never read are very likely to get optimized out. 2014-04-10 23:36:28 -07:00
Frank Denis
c9b87029c1 crypto_hash_sha256_update() cannot fail 2014-04-10 23:20:15 -07:00
Frank Denis
479620bbd1 Explicitly make crypto_hashblocks_sha512.h private. 2014-04-10 23:12:28 -07:00
Frank Denis
a62af8a4e3 Remove useless define 2014-04-10 23:12:28 -07:00
Frank Denis
ca6a52e413 Do not export crypto_hashblocks* 2014-04-10 23:12:28 -07:00
Frank Denis
175bcccee1 Remove unnecessary cast 2014-04-10 23:12:28 -07:00
Frank Denis
3d666ce901 Remove hashblocks_sha256 2014-04-10 23:12:28 -07:00
Frank Denis
96e8d255b6 Remove hashblocks*.h and sign_edwards25519sha512batch.h from sodium.h 2014-04-10 23:12:28 -07:00
Frank Denis
030fac65a8 Remove wrappers 2014-04-10 23:12:28 -07:00
Frank Denis
a2fc728956 Let crypto_pwhash_scryptxsalsa208sha256 use crypto_auth_hmacsha256 2014-04-10 23:12:27 -07:00
Frank Denis
9fa62b38a4 Move crypto_hash_sha256_state to the crypto_hash_sha256.h header file 2014-04-10 23:12:27 -07:00
Frank Denis
6c42962b57 Use cp sha256 2014-04-10 23:12:27 -07:00
Frank Denis
1d8109c4d6 hash_sha256: ref -> cp 2014-04-10 23:12:27 -07:00
Frank Denis
23e5b13b00 Indentation 2014-04-10 23:12:27 -07:00
Frank Denis
9b151f4efe We don't need sysendian.h 2014-04-10 23:12:27 -07:00