From 81ed03a442460fc011f6b087450f7fa2eee65734 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sun, 12 Mar 2017 18:08:16 +0100 Subject: [PATCH] Tag crypto_stream_aes128ctr as deprecated --- .../include/sodium/crypto_stream_aes128ctr.h | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/libsodium/include/sodium/crypto_stream_aes128ctr.h b/src/libsodium/include/sodium/crypto_stream_aes128ctr.h index 71b0fa47..33ee1b89 100644 --- a/src/libsodium/include/sodium/crypto_stream_aes128ctr.h +++ b/src/libsodium/include/sodium/crypto_stream_aes128ctr.h @@ -33,25 +33,30 @@ size_t crypto_stream_aes128ctr_beforenmbytes(void); SODIUM_EXPORT int crypto_stream_aes128ctr(unsigned char *out, unsigned long long outlen, - const unsigned char *n, const unsigned char *k); + const unsigned char *n, const unsigned char *k) + __attribute__ ((deprecated)); SODIUM_EXPORT int crypto_stream_aes128ctr_xor(unsigned char *out, const unsigned char *in, unsigned long long inlen, const unsigned char *n, - const unsigned char *k); + const unsigned char *k) + __attribute__ ((deprecated)); SODIUM_EXPORT -int crypto_stream_aes128ctr_beforenm(unsigned char *c, const unsigned char *k); +int crypto_stream_aes128ctr_beforenm(unsigned char *c, const unsigned char *k) + __attribute__ ((deprecated)); SODIUM_EXPORT int crypto_stream_aes128ctr_afternm(unsigned char *out, unsigned long long len, - const unsigned char *nonce, const unsigned char *c); + const unsigned char *nonce, const unsigned char *c) + __attribute__ ((deprecated)); SODIUM_EXPORT int crypto_stream_aes128ctr_xor_afternm(unsigned char *out, const unsigned char *in, unsigned long long len, const unsigned char *nonce, - const unsigned char *c); + const unsigned char *c) + __attribute__ ((deprecated)); #ifdef __cplusplus }