ClientACL: the replay floor survives a reboot -- a captured admin command no longer works after every boot
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7949fb4274
commit
1171d8f972
8 files changed
+410
-1
No files matched your search
@@ -28,6 +28,10 @@ public:
|
||||
for (size_t i = 0; i < hashLen; i++) {
|
||||
hash[i] = _state[i % 32];
|
||||
}
|
||||
// A short digest (4-byte checksum tags) must still depend on every byte.
|
||||
for (size_t i = hashLen; i < 32 && hashLen > 0; i++) {
|
||||
hash[i % hashLen] ^= _state[i];
|
||||
}
|
||||
}
|
||||
|
||||
void resetHMAC(const uint8_t* key, size_t keyLen) {}
|
||||
|
||||
Reference in new issue
Block a user