This commit is contained in:
2026-07-14 17:26:51 +03:00
parent 13898323dd
commit be2a24bfd9
30 changed files with 2285 additions and 105 deletions
+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)
{