nl::Weave::Crypto::CTRMode

Summary

Constructors and Destructors

CTRMode(void)
~CTRMode(void)

Public types

@337 enum

Public attributes

Counter[kCounterLength]
uint8_t

Public functions

EncryptData(const uint8_t *inData, uint16_t dataLen, uint8_t *outData)
void
Reset(void)
void
SetCounter(const uint8_t *counter)
void
SetKey(const uint8_t *key)
void
SetWeaveMessageCounter(uint64_t sendingNodeId, uint32_t msgId)
void

Public types

@337

 @337

Public attributes

Counter

uint8_t Counter[kCounterLength]

Public functions

CTRMode

 CTRMode(
  void
)

EncryptData

void EncryptData(
  const uint8_t *inData,
  uint16_t dataLen,
  uint8_t *outData
)

Reset

void Reset(
  void
)

SetCounter

void SetCounter(
  const uint8_t *counter
)

SetKey

void SetKey(
  const uint8_t *key
)

SetWeaveMessageCounter

void SetWeaveMessageCounter(
  uint64_t sendingNodeId,
  uint32_t msgId
)

~CTRMode

 ~CTRMode(
  void
)