Export NDK_ANDROID_SOURCES
Smaller PNG file
Merge pull request #37 from neheb/master

Smaller PNG file
No need to define CROSS_COMPILING
hmac/256 -> hmac512/256 in randombytes_salsa20_random_stir() to make code smaller.
Remove trailing whitespaces
<stdlib.h> -> <stddef.h> for size_t
Trivial cleanup of crypto_generichash.h
Merge pull request #40 from VeXocide/patch-1

Trivial cleanup of crypto_generichash.h
Use crypto_generichash_state for crypto_generichash_*() wrappers.
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.
Add crypto_generichash_keybytes() and crypto_generichash_bytes()
to provide a default key/output size.
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
Fix definition of crypto_box_curve25519xsalsa20poly1305_macbytes

This function definition was created by an automated script that
incorrectly handled a corner case.
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).
Call randombytes_salsa20_random_stir_if_needed() only when we don't have
anything in stock, and reduce the number of required getpid() calls.
No need to call randombytes_sysrandom_stir_if_needed() twice.
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
Update Android & iPhone build scripts to build static libraries only.
Add missing SODIUM_EXPORT in crypto_stream.h