mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-10-24 03:50:57 +00:00
AES
This commit is contained in:
1 parent
13898323dd
commit
be2a24bfd9
30 files changed
+2285
-105
No files matched your search
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user