DeepCover Embedded Security in IoT: Public-key Secured Data Paths
Dependencies: MaximInterface
The MAXREFDES155# is an internet-of-things (IoT) embedded-security reference design, built to authenticate and control a sensing node using elliptic-curve-based public-key cryptography with control and notification from a web server.
The hardware includes an ARM® mbed™ shield and attached sensor endpoint. The shield contains a DS2476 DeepCover® ECDSA/SHA-2 coprocessor, Wifi communication, LCD push-button controls, and status LEDs. The sensor endpoint is attached to the shield using a 300mm cable and contains a DS28C36 DeepCover ECDSA/SHA-2 authenticator, IR-thermal sensor, and aiming laser for the IR sensor. The MAXREFDES155# is equipped with a standard Arduino® form-factor shield connector for immediate testing using an mbed board such as the MAX32600MBED#. The combination of these two devices represent an IoT device. Communication to the web server is accomplished with the shield Wifi circuitry. Communication from the shield to the attached sensor module is accomplished over I2C . The sensor module represents an IoT endpoint that generates small data with a requirement for message authenticity/integrity and secure on/off operational control.
The design is hierarchical with each mbed platform and shield communicating data from the sensor node to a web server that maintains a centralized log and dispatches notifications as necessary. The simplicity of this design enables rapid integration into any star-topology IoT network to provide security with the low overhead and cost provided by the ECDSA-P256 asymmetric-key and SHA-256 symmetric-key algorithms.
More information about the MAXREFDES155# is available on the Maxim Integrated website.
Diff: src/main.cpp
- Revision:
- 17:5926077e5345
- Parent:
- 16:a004191a79ab
diff -r a004191a79ab -r 5926077e5345 src/main.cpp --- a/src/main.cpp Thu Oct 03 11:40:13 2019 -0500 +++ b/src/main.cpp Fri Oct 04 12:10:11 2019 -0500 @@ -43,17 +43,21 @@ #include "SensorNode.hpp" #include "WindowManager.hpp" -static mbed::DigitalIn upButton(D5); -static mbed::DigitalIn downButton(D4); -static mbed::DigitalIn leftButton(D3); -static mbed::DigitalIn rightButton(D2); -static mbed::DigitalIn leftClickButton(D1); -static mbed::DigitalIn rightClickButton(D0); +static mbed::DigitalIn upButton(MBED_CONF_APP_UP_BUTTON_PIN); +static mbed::DigitalIn downButton(MBED_CONF_APP_DOWN_BUTTON_PIN); +static mbed::DigitalIn leftButton(MBED_CONF_APP_LEFT_BUTTON_PIN); +static mbed::DigitalIn rightButton(MBED_CONF_APP_RIGHT_BUTTON_PIN); +static mbed::DigitalIn leftClickButton(MBED_CONF_APP_LEFT_CLICK_BUTTON_PIN); +static mbed::DigitalIn rightClickButton(MBED_CONF_APP_RIGHT_CLICK_BUTTON_PIN); -static Display display(D11, D12, D13, D7, D6); +static Display display(MBED_CONF_APP_DISPLAY_MOSI_PIN, + MBED_CONF_APP_DISPLAY_MISO_PIN, + MBED_CONF_APP_DISPLAY_SCLK_PIN, + MBED_CONF_APP_DISPLAY_SSEL_PIN, + MBED_CONF_APP_DISPLAY_A0_PIN); static WindowManager windowManager(display.canvas()); -static mbed::I2C mbedI2C(D14, D15); +static mbed::I2C mbedI2C(MBED_CONF_APP_SDA_PIN, MBED_CONF_APP_SCL_PIN); static MaximInterfaceMbed::I2CMaster i2c(mbedI2C); static MaximInterfaceMbed::Sleep sleep; MaximInterfaceDevices::DS2476 coproc(sleep, i2c); @@ -101,7 +105,8 @@ static bool buttonPressed(mbed::DigitalIn & button) { const int buttonPressed = 0; // Active low if (button == buttonPressed) { - while (button == buttonPressed); + while (button == buttonPressed) + ; return true; } // else