* proposal for 'Extended Trace' packets. Using 'flags' byte, lower 2 bits, for path hash size.

This commit is contained in:
Scott Powell 2025-11-21 15:44:31 +11:00
parent f5a56c537f
commit b33d226c58
3 changed files with 40 additions and 24 deletions

View file

@ -23,6 +23,9 @@ public:
bool isHashMatch(const uint8_t* hash) const {
return memcmp(hash, pub_key, PATH_HASH_SIZE) == 0;
}
bool isHashMatch(const uint8_t* hash, uint8_t len) const {
return memcmp(hash, pub_key, len) == 0;
}
/**
* \brief Performs Ed25519 signature verification.