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
)