From: Vsevolod Stakhov Date: Mon, 2 Feb 2015 22:28:36 +0000 (+0000) Subject: Publish afternm_detached X-Git-Tag: 0.9.0~779 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f1718ac5923a555efb0bfcac4c1859e6a9ac87c9;p=rspamd.git Publish afternm_detached --- diff --git a/contrib/tweetnacl/tweetnacl.h b/contrib/tweetnacl/tweetnacl.h index 59fa902e0..b25021db4 100644 --- a/contrib/tweetnacl/tweetnacl.h +++ b/contrib/tweetnacl/tweetnacl.h @@ -27,6 +27,7 @@ extern int crypto_auth_hmacsha512256_tweet_verify(const guchar *,const guchar *, #define crypto_box_keypair crypto_box_curve25519xsalsa20poly1305_keypair #define crypto_box_beforenm crypto_box_curve25519xsalsa20poly1305_beforenm #define crypto_box_afternm crypto_box_curve25519xsalsa20poly1305_afternm +#define crypto_box_afternm_detached crypto_box_curve25519xsalsa20poly1305_afternm_detached #define crypto_box_open_afternm crypto_box_curve25519xsalsa20poly1305_open_afternm #define crypto_box_PUBLICKEYBYTES crypto_box_curve25519xsalsa20poly1305_PUBLICKEYBYTES #define crypto_box_SECRETKEYBYTES crypto_box_curve25519xsalsa20poly1305_SECRETKEYBYTES @@ -48,6 +49,7 @@ extern int crypto_box_curve25519xsalsa20poly1305_tweet_open(guchar *,const gucha extern int crypto_box_curve25519xsalsa20poly1305_tweet_keypair(guchar *,guchar *); extern int crypto_box_curve25519xsalsa20poly1305_tweet_beforenm(guchar *,const guchar *,const guchar *); extern int crypto_box_curve25519xsalsa20poly1305_tweet_afternm(guchar *,const guchar *,guint64,const guchar *,const guchar *); +extern int crypto_box_curve25519xsalsa20poly1305_tweet_afternm_detached(guchar *,const guchar *,guint64,const guchar *,const guchar *, guchar *); extern int crypto_box_curve25519xsalsa20poly1305_tweet_open_afternm(guchar *,const guchar *,guint64,const guchar *,const guchar *); #define crypto_box_curve25519xsalsa20poly1305_tweet_VERSION "-" #define crypto_box_curve25519xsalsa20poly1305 crypto_box_curve25519xsalsa20poly1305_tweet @@ -56,6 +58,7 @@ extern int crypto_box_curve25519xsalsa20poly1305_tweet_open_afternm(guchar *,con #define crypto_box_curve25519xsalsa20poly1305_keypair crypto_box_curve25519xsalsa20poly1305_tweet_keypair #define crypto_box_curve25519xsalsa20poly1305_beforenm crypto_box_curve25519xsalsa20poly1305_tweet_beforenm #define crypto_box_curve25519xsalsa20poly1305_afternm crypto_box_curve25519xsalsa20poly1305_tweet_afternm +#define crypto_box_curve25519xsalsa20poly1305_afternm_detached crypto_box_curve25519xsalsa20poly1305_tweet_afternm_detached #define crypto_box_curve25519xsalsa20poly1305_open_afternm crypto_box_curve25519xsalsa20poly1305_tweet_open_afternm #define crypto_box_curve25519xsalsa20poly1305_PUBLICKEYBYTES crypto_box_curve25519xsalsa20poly1305_tweet_PUBLICKEYBYTES #define crypto_box_curve25519xsalsa20poly1305_SECRETKEYBYTES crypto_box_curve25519xsalsa20poly1305_tweet_SECRETKEYBYTES