Add chacha12 and chacha20

code form sectun
This commit is contained in:
Le.Beta
2019-03-19 10:56:50 +08:00
committed by GitHub
parent 5bb25d75ed
commit 7fdc32f319

View File

@@ -25,7 +25,7 @@ unsigned short csum(const unsigned short *ptr,int nbytes) ;
enum auth_mode_t {auth_none=0,auth_md5,auth_crc32,auth_simple,auth_hmac_sha1,auth_end};
enum cipher_mode_t {cipher_none=0,cipher_aes128cbc,cipher_xor,cipher_aes128cfb,cipher_end};
enum cipher_mode_t {cipher_none=0,cipher_aes128cbc,cipher_xor,cipher_aes128cfb,cipher_chacha12,cipher_chacha20,cipher_end};
extern auth_mode_t auth_mode;