From 1820a4239d37e8b5972ff1552a3d43b8877c12c7 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Mon, 21 Mar 2016 19:29:33 +0100 Subject: [PATCH] Add missing SODIUM_EXPORT statements --- src/libsodium/include/sodium/crypto_aead_chacha20poly1305.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libsodium/include/sodium/crypto_aead_chacha20poly1305.h b/src/libsodium/include/sodium/crypto_aead_chacha20poly1305.h index 9bc57677..48378ba6 100644 --- a/src/libsodium/include/sodium/crypto_aead_chacha20poly1305.h +++ b/src/libsodium/include/sodium/crypto_aead_chacha20poly1305.h @@ -53,6 +53,7 @@ int crypto_aead_chacha20poly1305_ietf_decrypt(unsigned char *m, const unsigned char *k) __attribute__ ((warn_unused_result)); +SODIUM_EXPORT int crypto_aead_chacha20poly1305_ietf_encrypt_detached(unsigned char *c, unsigned char *mac, unsigned long long *maclen_p, @@ -64,6 +65,7 @@ int crypto_aead_chacha20poly1305_ietf_encrypt_detached(unsigned char *c, const unsigned char *npub, const unsigned char *k); +SODIUM_EXPORT int crypto_aead_chacha20poly1305_ietf_decrypt_detached(unsigned char *m, unsigned long long *mlen_p, unsigned char *nsec, @@ -117,6 +119,7 @@ int crypto_aead_chacha20poly1305_decrypt(unsigned char *m, const unsigned char *k) __attribute__ ((warn_unused_result)); +SODIUM_EXPORT int crypto_aead_chacha20poly1305_encrypt_detached(unsigned char *c, unsigned char *mac, unsigned long long *maclen_p, @@ -128,6 +131,7 @@ int crypto_aead_chacha20poly1305_encrypt_detached(unsigned char *c, const unsigned char *npub, const unsigned char *k); +SODIUM_EXPORT int crypto_aead_chacha20poly1305_decrypt_detached(unsigned char *m, unsigned long long *mlen_p, unsigned char *nsec,