mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* proposal for 'Extended Trace' packets. Using 'flags' byte, lower 2 bits, for path hash size.
This commit is contained in:
parent
f5a56c537f
commit
b33d226c58
3 changed files with 40 additions and 24 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue