Template
1
0
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:
bol-van
2025-11-25 14:47:18 +03:00
parent 5e737f314b
commit cfb8b9f11f
4 changed files with 20 additions and 5 deletions

View File

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