vendor/libsodium/src/libsodium/include/sodium/crypto_stream_xsalsa20.h in rbnacl-libsodium-1.0.13 vs vendor/libsodium/src/libsodium/include/sodium/crypto_stream_xsalsa20.h in rbnacl-libsodium-1.0.15

- old
+ new

@@ -26,9 +26,13 @@ #define crypto_stream_xsalsa20_NONCEBYTES 24U SODIUM_EXPORT size_t crypto_stream_xsalsa20_noncebytes(void); +#define crypto_stream_xsalsa20_MESSAGEBYTES_MAX SODIUM_SIZE_MAX +SODIUM_EXPORT +size_t crypto_stream_xsalsa20_messagebytes_max(void); + SODIUM_EXPORT int crypto_stream_xsalsa20(unsigned char *c, unsigned long long clen, const unsigned char *n, const unsigned char *k); SODIUM_EXPORT