Tag crypto_stream_aes128ctr as deprecated

This commit is contained in:
Frank Denis 2017-03-12 18:08:16 +01:00
parent bbcb8bd33b
commit 81ed03a442

View File

@ -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
}