mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-10-14 09:55:33 +08:00
derive different key for different directions
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
const int aes_key_optimize=1; //if enabled,once you used a key for aes,you cant change it anymore
|
||||
|
||||
int my_init_keys(const char *);
|
||||
int my_init_keys(const char *,int);
|
||||
|
||||
int my_encrypt(const char *data,char *output,int &len);
|
||||
int my_decrypt(const char *data,char *output,int &len);
|
||||
|
Reference in New Issue
Block a user