1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-09-09 18:40:33 +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:
Anders
2020-04-29 22:04:59 +02:00
parent a24b8d23f0
commit effcc3a2d0
40 changed files with 607 additions and 518 deletions

View File

@@ -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