mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
Auth: include CRC in legacy proof; extend Turtle integrity set
This commit is contained in:
parent
5435796a98
commit
492703be36
5 changed files with 48 additions and 13 deletions
|
|
@ -64,6 +64,9 @@ public:
|
|||
// Legacy (protocol < 8): A(32) + M1(20) + crc(20) + number_of_keys(1). No securityFlags byte.
|
||||
static network::Packet buildLegacy(const std::vector<uint8_t>& A,
|
||||
const std::vector<uint8_t>& M1);
|
||||
static network::Packet buildLegacy(const std::vector<uint8_t>& A,
|
||||
const std::vector<uint8_t>& M1,
|
||||
const std::array<uint8_t, 20>* crcHash);
|
||||
static network::Packet build(const std::vector<uint8_t>& A,
|
||||
const std::vector<uint8_t>& M1,
|
||||
uint8_t securityFlags,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue