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
Frank Denis
350771b9d4
Replace hmac_sha256 implementation with scrypt's
2014-04-10 23:12:21 -07:00
Frank Denis
4f31e143ca
scrypt fixes
2014-04-10 18:25:16 -07:00
Frank Denis
a06b00ecf4
Initial import of scrypt
2014-04-10 18:25:16 -07:00
Frank Denis
8fc8d2f380
A DWORD is the maximum CryptGenRandom() can support.
2014-04-09 19:07:41 -07:00
Frank Denis
433ba6be9e
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-09 19:03:37 -07:00
Frank Denis
b35929d3b1
Do not remove previously generated files from the distribution.
2014-04-09 19:03:15 -07:00
Frank Denis
fcf228e2e7
Add explicit uint8_t casts for Blake2's key length.
...
via @evoskuil
2014-04-09 18:45:59 -07:00
Frank Denis
3f4a8f285d
Add a test for crypto_verify_*()
2014-04-08 14:36:09 -07:00
Frank Denis
c7eecc28ba
Include crypto_verify_64.h in sodium.h
2014-04-08 14:19:41 -07:00
Frank Denis
8dafe380c6
De-doxygenize crypto_verify_64.h in this branch.
2014-04-08 14:15:09 -07:00
Frank Denis
d9d29efd6a
+crypto_verify64
2014-04-08 14:11:58 -07:00
Frank Denis
85fd27dc76
Document the crypto_box and crypto_secretbox easy interfaces
2014-04-04 17:14:37 -07:00
Frank Denis
1720fa1e7c
Add Perl bindings
2014-04-04 16:37:34 -07:00
Frank Denis
184831eae1
Add sodium++
2014-04-04 16:33:03 -07:00
Frank Denis
4ef6007a07
Add lua-sodium
2014-04-04 16:31:43 -07:00
Frank Denis
dbe51e8ff8
Update the link to Sodium-Idris, via mwarning@
2014-03-12 09:04:18 -07:00
Frank Denis
9c33a54e89
Nothing requires <poll.h> in randombytes_sysrandom.c
2014-03-06 21:39:05 -08:00
Frank Denis
9b82685f14
Remove bashism
2014-03-04 09:20:53 -08:00
Frank Denis
9f2e0ba803
Use memset_s() if available
2014-03-02 19:05:14 -08:00
Frank Denis
12281a7312
Merge pull request #124 from Prototik/master
...
Split for armv6 and armv7 archs in buildscripts
2014-02-24 17:12:50 -08:00
Sergey Shatunov
2c48c844d4
Split for armv6 and armv7 archs in buildscripts
2014-02-24 17:21:15 +08:00
Frank Denis
639a92ebe7
Add crypto_hash_primitive()
2014-02-23 20:24:59 -08:00
Frank Denis
ffe39ab544
Merge pull request #122 from sonOfRa/sonames-again
...
Repair broken sonames
2014-02-22 17:18:46 -08:00
Simon Levermann
cd2fabb8f5
Repair broken sonames
2014-02-23 02:07:52 +01:00
Frank Denis
7524a9199e
Merge pull request #119 from sonOfRa/sonames
...
Add ./configure option to disable toggle soname versions
2014-02-20 09:03:47 -08:00
Simon Levermann
c62bbd0b6f
Update android build script
...
Use the --disable-soname-versions option for android
2014-02-20 17:56:54 +01:00
Simon Levermann
d889492173
Add ./configure option to disable toggle versions
...
I consider this way cleaner than setting some environment
variable in the build script. Per default, sonames are generated.
If ./configure is run with "--disable-soname-versions", no soname
versions will be generated. This is mainly useful for android, but
it might find some use for other environments without soname versioning
2014-02-20 17:54:05 +01:00
Frank Denis
464e590969
Merge pull request #118 from Prototik/android-buildscripts
...
Build scripts for android arm/x86/mips
2014-02-17 11:03:30 +01:00
Sergey Shatunov
16a7691ead
Build scripts for android arm/x86/mips
2014-02-17 17:31:35 +08:00
Frank Denis
0e6723c83c
Append to LIBTOOL_EXTRA_FLAGS in case it is not empty
2014-02-17 01:23:23 -08:00
Frank Denis
afcba42802
Save and restore errno when opening the random device.
2014-02-09 09:48:43 -08:00
Frank Denis
28b3f2ab0e
^ is not a good way to check for all zeros :) Spotted by sneves@
2014-01-26 16:47:55 -08:00
Frank Denis
49114ee2f5
Reorder vars
2014-01-24 09:41:19 -08:00