This commit is contained in:
ahmed committed 2026-07-14 17:26:51 +03:00
1 parent 13898323dd
commit be2a24bfd9
30 files changed
+2285 -105

No files matched your search

+2 -1
View File
@@ -158,7 +158,8 @@ public class EpAuthPacket : Packet
if (Command == EpAuthPacketCommand.Initialize)
{
AuthMode = (AuthenticationMode)(data[offset] >> 2 & 0x3);
EncryptionMode = (EncryptionMode)(data[offset++] & 0x7);
// Authentication occupies bits 2-3; encryption is confined to bits 0-1.
EncryptionMode = (EncryptionMode)(data[offset++] & 0x3);
}
else if (Command == EpAuthPacketCommand.Acknowledge)
{