nl:: örgü:: Kripto:: HKDF

özet

Yapıcılar ve Yıkıcılar

HKDF (void)
~HKDF (void)

Genel türler

@344 Sıralama

Genel özellikler

PseudoRandomKey [kPseudoRandomKeyLength]
uint8_t

Kamu işlevleri

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

Genel statik işlevler

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)

Genel türler

@344

 @344

Genel özellikler

Sözde RastgeleAnahtar

uint8_t PseudoRandomKey[kPseudoRandomKeyLength]

Kamu işlevleri

Anahtar Malzemesi Ekle

void AddKeyMaterial(
  const uint8_t *keyData,
  uint16_t keyDataLen
)

Anahtar Malzemesi Ekle

void AddKeyMaterial(
  const BIGNUM & num
)

BeginExtractKey

void BeginExtractKey(
  const uint8_t *salt,
  uint16_t saltLen
)

GenişletAnahtarı

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

FinishExtractAnahtarı

WEAVE_ERROR FinishExtractKey(
  void
)

HKDF

 HKDF(
  void
)

Sıfırla

void Reset(
  void
)

~HKDF

 ~HKDF(
  void
)

Genel statik işlevler

DeriveAnahtarı

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
)