nl::Weave::Crypto::HKDFSHA1Or256

概要

コンストラクタとデストラクタ

HKDFSHA1Or256(bool useSHA1)
~HKDFSHA1Or256(void)

公開タイプ

@345 enum

パブリック属性

PseudoRandomKey[kMaxPseudoRandomKeyLength]
uint8_t
mForceAlign
uint64_t
mObjBuf[1]
uint8_t
mSHA1ObjBuf[sizeof(HKDFSHA1)]
uint8_t
mSHA256ObjBuf[sizeof(HKDFSHA256)]
uint8_t

パブリック関数

AddKeyMaterial(const uint8_t *keyData, uint16_t keyDataLen)
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

公開タイプ

@345

 @345

パブリック属性

PseudoRandomKey

uint8_t PseudoRandomKey[kMaxPseudoRandomKeyLength]

mForceAlign

uint64_t mForceAlign

mObjBuf

uint8_t mObjBuf[1]

mSHA1ObjBuf

uint8_t mSHA1ObjBuf[sizeof(HKDFSHA1)]

MSHA256ObjBuf

uint8_t mSHA256ObjBuf[sizeof(HKDFSHA256)]

パブリック関数

AddKeyMaterial

void AddKeyMaterial(
  const uint8_t *keyData,
  uint16_t keyDataLen
)

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
)

HKDFSHA1Or256

 HKDFSHA1Or256(
  bool useSHA1
)

リセット

void Reset(
  void
)

~ HKDFSHA1Or256

 ~HKDFSHA1Or256(
  void
)