esp8266ndn
NDN Arduino library for ESP8266 and more
|
Symmetric key used in CHALLENGE step. More...
#include <common.hpp>
Public Member Functions | |
bool | makeKey (const mbedtls::Mpi &ecdhPvt, const mbedtls::P256::Point &ecdhPub, const uint8_t *salt, const uint8_t *requestId) |
Derive the key. More... | |
tlv::Value | encrypt (Region ®ion, tlv::Value plaintext, const uint8_t *requestId) |
Encrypt to encrypted-message. More... | |
tlv::Value | decrypt (Region ®ion, tlv::Value message, const uint8_t *requestId) |
Decrypt from encrypted-message. More... | |
Symmetric key used in CHALLENGE step.
|
inline |
Decrypt from encrypted-message.
|
inline |
Encrypt to encrypted-message.
|
inline |
Derive the key.