mirror of
https://github.com/bol-van/zapret2.git
synced 2026-03-22 09:15:49 +00:00
nfqws2: optimize aes-ctr and mtproto detection
This commit is contained in:
@@ -411,7 +411,6 @@ static int luacall_aes(lua_State *L)
|
||||
if (input_len!=16)
|
||||
luaL_error(L, "aes: wrong data length %u. should be 16.", (unsigned)input_len);
|
||||
|
||||
aes_init_keygen_tables();
|
||||
aes_context ctx;
|
||||
uint8_t output[16];
|
||||
if (aes_setkey(&ctx, bEncrypt, key, key_len) || aes_cipher(&ctx, input, output))
|
||||
|
||||
Reference in New Issue
Block a user