Frank Denis
898cadc3e6
Set subdir-objects
2013-07-20 18:04:34 -07:00
Frank Denis
879112786c
Switch poly1305-ref to Floodyberry's poly1305-donna-unrolled.
2013-07-20 17:57:32 -07:00
Frank Denis
93aaa0e1a9
Target iOS 7
2013-07-20 17:40:23 -07:00
Frank Denis
b9c4147169
Link Kalium-JNI
2013-07-16 14:14:58 -07:00
Frank Denis
49f658c647
Fix C++ compat for utils.c
2013-07-12 21:46:27 -07:00
Frank Denis
de78d541d6
Crank library minor
2013-07-12 09:49:44 -07:00
Frank Denis
eee25f0864
Merge pull request #55 from dsheets/seedbytes
...
Add a crypto_sign_SEEDBYTES macro/getter and associated ed25519 macro/getter
2013-07-12 09:48:12 -07:00
David Sheets
c7313f56a6
Add a crypto_sign_SEEDBYTES macro/getter and associated ed25519 macro/getter
2013-07-12 17:44:32 +01:00
Frank Denis
d061c6f338
Mention ocaml-sodium
2013-07-10 00:25:55 -07:00
Frank Denis
a3544f8c1e
It's a fork.
2013-07-10 00:18:52 -07:00
Frank Denis
5e814b0918
Update NEWS file
2013-07-07 23:56:53 -07:00
Frank Denis
6ee74618d0
Use sodium_bin2hex() instead of duplicating the same code everywhere.
2013-07-07 23:46:42 -07:00
Frank Denis
1a3786705e
Add a sodium_bin2hex utility function.
2013-07-07 23:38:14 -07:00
Frank Denis
a6490db658
Don't -> Do not
2013-07-07 22:38:51 -07:00
Frank Denis
09a4848fc9
Document --disable-pie instead of --enable-pie
2013-07-07 22:35:34 -07:00
Frank Denis
617eb6d26f
Move --enable-pie switch
2013-07-07 22:29:58 -07:00
Frank Denis
51d91d1115
autoconf: move the last switch, --enable-debug
2013-07-07 22:25:20 -07:00
Frank Denis
1d921e45da
autoconf: keep moving switches to the top of the file
2013-07-07 22:20:27 -07:00
Frank Denis
43132738d2
Add a pre-js script for providing /dev/urandom to tests in Javascript.
...
Not plugged to the build system yet.
2013-07-07 22:04:13 -07:00
Frank Denis
c06e228867
autoconf: start moving AC_ARG_ENABLE macros to the top of the script.
2013-07-07 21:46:44 -07:00
Frank Denis
c8a44ba02e
Disable asm implementations when compiling to javascript with emscripten.
2013-07-07 21:33:41 -07:00
Frank Denis
f66ab14d7f
Remove -I/usr/local/include and -L/usr/local/lib
...
libsodium doesn't have any dependency on 3rd party libs.
2013-07-07 19:18:03 -07:00
Frank Denis
34fe1205ac
Mark clang false positives
2013-07-07 18:57:09 -07:00
Frank Denis
cdbbe47ed9
Remove dead assignments that the compiler optimizes out.
2013-07-07 14:27:31 -07:00
Frank Denis
c828d169c6
Prepare for a version bump.
2013-07-07 14:10:02 -07:00
Frank Denis
8bc0e72f2f
libsodium.org is now available over HTTPS & SPDY
2013-07-07 14:04:52 -07:00
Frank Denis
98436192db
Merge pull request #52 from dsheets/patch-1
...
Add a DNSSEC tarball verification note from @jedisct1 in #51
2013-07-05 10:57:02 -07:00
David Sheets
23e40b3557
Add a DNSSEC tarball verification note from @jedisct1 in #51
...
download.libsodium.org vends DNSSEC-secured SHA256 hashes of release tarballs.
2013-07-05 12:15:22 +01:00
Frank Denis
b2843bb3dc
Merge pull request #50 from irungentoo/master
...
Case insensitive includes prevented libsodium from cross compiling correctly to Windows from a case sensitive OS.
2013-07-03 11:50:51 -07:00
irungentoo
4c43660f68
libsodium now cross compiles correctly for Windows from Linux.
2013-07-03 14:41:47 -04:00
Frank Denis
34b84c0eaf
Move libsodium to its own domain.
2013-06-25 18:26:33 -07:00
Frank Denis
ea4e4e0738
Link Pharo/Squeak bindings announce
2013-06-17 23:13:42 -07:00
Frank Denis
71d2d9c127
Add PHP-Sodium
2013-06-15 09:03:04 -07:00
Frank Denis
eb8f06befd
Merge pull request #48 from alexanderkjeldaas/master
...
Check prerequisites in android.sh
2013-06-13 01:14:52 -07:00
Alexander Kjeldaas
b01ebe6caf
Check prerequisites in android.sh
2013-06-13 10:11:28 +02:00
Frank Denis
0ad0f3e1ce
Disable PIE on Android
2013-06-09 12:14:31 -07:00
Frank Denis
2b50f0845d
Merge pull request #46 from neheb/master
...
Smaller logo
2013-06-06 13:41:19 -07:00
Mangix
20709fd8ec
zopflipng + defluff
2013-06-06 13:11:30 -07:00
Frank Denis
8cc4381255
+saltine
2013-06-06 00:24:55 -07:00
Frank Denis
d0e84777ab
Add missing SODIUM_EXPORT in crypto_stream.h
2013-06-05 21:54:52 -07:00
Frank Denis
39a54324fb
Update Android & iPhone build scripts to build static libraries only.
2013-05-30 22:56:18 -07:00
Frank Denis
01ee32e3a3
Merge remote-tracking branch 'stouset/add-lookup-methods-for-all-constants'
...
* stouset/add-lookup-methods-for-all-constants:
Add remaining functions for looking up constants
Fix definition of crypto_box_curve25519xsalsa20poly1305_macbytes
Add functions exposing constants for all operation/primitive pairs
2013-05-22 11:42:58 -07:00
Frank Denis
802369e9dd
No need to call randombytes_sysrandom_stir_if_needed() twice.
2013-05-22 11:19:13 -07:00
Frank Denis
e68b08a4ff
Call randombytes_salsa20_random_stir_if_needed() only when we don't have
...
anything in stock, and reduce the number of required getpid() calls.
2013-05-22 11:17:37 -07:00
Stephen Touset
98c02a21d6
Add remaining functions for looking up constants
...
The automated script that generated functions for looking up #define'd
constants didn't handle edge cases in these files, so these have been
added by hand. They're thus either more likely or less likely to
contain mistakes (depending on one's particular point of view).
2013-05-16 15:48:08 -07:00
Stephen Touset
2a0f3d040f
Fix definition of crypto_box_curve25519xsalsa20poly1305_macbytes
...
This function definition was created by an automated script that
incorrectly handled a corner case.
2013-05-16 15:27:28 -07:00
Stephen Touset
8eea4a3f74
Add functions exposing constants for all operation/primitive pairs
...
Wrappers for other languages can't access constants defined by C
preprocessor macros, so they must be exposed as functions. This was
already done for the "default" implementation of each operation, but
this commit adds functions for (almost) all of the underlying
primitives.
A few are currently excluded due to problems with the automated script
used to generated this commit. They are:
* crypto_onetimeauth_poly1305
* crypto_generichash_blake2b
* crypto_verify16
* crypto_verify32
2013-05-16 13:17:18 -07:00
Frank Denis
81d604c70c
Add crypto_generichash_keybytes() and crypto_generichash_bytes()
...
to provide a default key/output size.
2013-05-16 11:45:19 -07:00
Frank Denis
4d147466bc
Bump generichash minimum key and output size to 128 bits.
...
People who know what they are doing and who need a truncated output or a
shorter key can still do it.
But we should keep the chance for users to shoot themselves in the foot down
to a minimum.
2013-05-16 11:25:33 -07:00
Frank Denis
9578af69d2
Use crypto_generichash_state for crypto_generichash_*() wrappers.
2013-05-15 21:21:39 -07:00