nl::Weave::Crypto::HKDF

खास जानकारी

कंस्ट्रक्टर और डिस्ट्रक्टर

HKDF(void)
~HKDF(void)

सार्वजनिक प्रकार

@344 enum

सार्वजनिक विशेषताएं

PseudoRandomKey[kPseudoRandomKeyLength]
uint8_t

सार्वजनिक फ़ंक्शन

AddKeyMaterial(const uint8_t *keyData, uint16_t keyDataLen)
void
AddKeyMaterial(const BIGNUM & num)
void
BeginExtractKey(const uint8_t *salt, uint16_t saltLen)
void
ExpandKey(const uint8_t *info, uint16_t infoLen, uint16_t keyLen, uint8_t *outKey)
FinishExtractKey(void)
Reset(void)
void

सार्वजनिक स्टैटिक फ़ंक्शन

DeriveKey(const uint8_t *salt, uint16_t saltLen, const uint8_t *keyMaterial1, uint16_t keyMaterial1Len, const uint8_t *keyMaterial2, uint16_t keyMaterial2Len, const uint8_t *info, uint16_t infoLen, uint8_t *outKey, uint16_t outKeyBufSize, uint16_t outKeyLen)

सार्वजनिक प्रकार

@344

 @344

सार्वजनिक विशेषताएं

PseudoRandomKey

uint8_t PseudoRandomKey[kPseudoRandomKeyLength]

सार्वजनिक फ़ंक्शन

AddKeyMaterial

void AddKeyMaterial(
  const uint8_t *keyData,
  uint16_t keyDataLen
)

AddKeyMaterial

void AddKeyMaterial(
  const BIGNUM & num
)

BeginExtractKey

void BeginExtractKey(
  const uint8_t *salt,
  uint16_t saltLen
)

ExpandKey

WEAVE_ERROR ExpandKey(
  const uint8_t *info,
  uint16_t infoLen,
  uint16_t keyLen,
  uint8_t *outKey
)

FinishExtractKey

WEAVE_ERROR FinishExtractKey(
  void
)

HKDF

 HKDF(
  void
)

रीसेट करें

void Reset(
  void
)

~HKDF

 ~HKDF(
  void
)

सार्वजनिक स्टैटिक फ़ंक्शन

DeriveKey

WEAVE_ERROR DeriveKey(
  const uint8_t *salt,
  uint16_t saltLen,
  const uint8_t *keyMaterial1,
  uint16_t keyMaterial1Len,
  const uint8_t *keyMaterial2,
  uint16_t keyMaterial2Len,
  const uint8_t *info,
  uint16_t infoLen,
  uint8_t *outKey,
  uint16_t outKeyBufSize,
  uint16_t outKeyLen
)