mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-16 00:43:00 +03:00
- Make everything const by default.
- Remove setMeshInstance method from RequestData class. - Remove delay(50) and WiFi.disconnect() from setup() in the examples since those statements do not seem to have an effect any longer. - Improve documentation.
This commit is contained in:
@ -66,7 +66,7 @@ namespace MeshCryptoInterface
|
||||
*
|
||||
* @return True if the HMAC is correct. False otherwise.
|
||||
*/
|
||||
bool verifyMeshHmac(const String &message, const String &messageHmac, const uint8_t *hashKey, uint8_t hashKeyLength);
|
||||
bool verifyMeshHmac(const String &message, const String &messageHmac, const uint8_t *hashKey, const uint8_t hashKeyLength);
|
||||
|
||||
/**
|
||||
* Initialize key with a SHA-256 hash of keySeed.
|
||||
@ -77,7 +77,7 @@ namespace MeshCryptoInterface
|
||||
*
|
||||
* @return A pointer to the initialized key array.
|
||||
*/
|
||||
uint8_t *initializeKey(uint8_t *key, uint8_t keyLength, const String &keySeed);
|
||||
uint8_t *initializeKey(uint8_t *key, const uint8_t keyLength, const String &keySeed);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user