1
0
mirror of https://github.com/taigrr/arduinolibs synced 2025-01-18 04:33:12 -08:00

Define the NoiseClient and NoiseServer API's

This commit is contained in:
Rhys Weatherley
2018-06-30 04:15:43 +10:00
parent ff04a61efa
commit 3b5da67919
26 changed files with 2011 additions and 34 deletions

View File

@@ -196,6 +196,11 @@ KeyRingClass KeyRing;
* primary remote device that this device will be communicating with.
*/
/**
* \var KeyRingClass::PreSharedKeyDefault
* \brief Identifier for the default pre-shared symmetric key for the device.
*/
/**
* \var KeyRingClass::EthernetMACAddress
* \brief Identifier for storing a generated MAC address into the other

View File

@@ -65,6 +65,8 @@ public:
static const uint16_t LocalEd25519Default = 0x4501; // 'E', 0x01
static const uint16_t RemoteEd25519Default = 0x6501; // 'e', 0x01
static const uint16_t PreSharedKeyDefault = 0x5001; // 'P', 0x01
static const uint16_t EthernetMACAddress = 0x4D01; // 'M', 0x01
private: