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
evoskuil
4b44d01b32
Restore test files.
2014-04-09 03:56:03 -07:00
evoskuil
37baa8a6ab
Update VS build, add VS2012 and VS2013 projects.
2014-04-09 03:26:45 -07:00
evoskuil
3019c82a2e
Update NuGet package.
2014-04-07 19:08:39 -07:00
evoskuil
7f046509ef
Add VS2012/VS2010 solutions, add test proj to VS2013, remove export files.
2014-04-07 19:06:10 -07:00
evoskuil
716fc4dddd
Make implicit numeric lossy casts explicit (with comments).
2014-04-07 10:48:57 -07:00
evoskuil
8ba5f75ec4
Remove unnecessary defines in package targets.
2014-04-07 03:02:41 -07:00
evoskuil
7498397394
Remove unnecessary defines in msvc project properties.
2014-04-07 02:27:10 -07:00
evoskuil
19ebd2567b
Add vs2013 project with static/ltcg/dynamic, debug/release, x86/x64, NuGet.
2014-04-07 02:04:26 -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