mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-11-05 08:44:18 +00:00
Refine ciphers
This commit is contained in:
+2
-2
@@ -28,9 +28,9 @@
|
||||
// currently, XCHACHA20POLY1305IETF is not released yet
|
||||
// XCHACHA20POLY1305 is removed in upstream
|
||||
#ifdef FS_HAVE_XCHACHA20IETF
|
||||
#define AEAD_CIPHER_NUM 6
|
||||
#else
|
||||
#define AEAD_CIPHER_NUM 5
|
||||
#else
|
||||
#define AEAD_CIPHER_NUM 4
|
||||
#endif
|
||||
|
||||
int aead_encrypt_all(buffer_t *, cipher_t *, size_t);
|
||||
|
||||
Reference in New Issue
Block a user