nl::Weave::Profiles::Security::PASE

This namespace includes all interfaces within Weave for the Password Authenticated Session Establishment (PASE) protocol within the Weave security profile.

Summary

Enumerations

@253 enum
@254 enum
@255 enum
@256 enum
@261 enum

Functions

AlignMessagePayload(PacketBuffer *buf)
BigNumHash(const BIGNUM & point, uint8_t *h)
void
GetPASEConfigSecurityStrength(uint32_t config)
uint8_t
NewPASEConfig1JPAKECTX(const uint8_t *pw, uint16_t pwLen, const char *localContextStr, const char *peerContextStr, struct JPAKE_CTX *& ctx)
PASEConfig1_JPAKE_G()
BIGNUM *
PASEConfig1_JPAKE_P()
BIGNUM *
PASEConfig1_JPAKE_Q()
BIGNUM *
PackControlHeader(uint8_t pwSrc, uint8_t encType, uint16_t sessionKeyId, bool performKeyConfirm, uint32_t & controlHeader)
UnpackControlHeader(uint32_t controlHeader, uint8_t & pwSrc, uint8_t & encType, uint16_t & sessionKeyId, bool & performKeyConfirm)
UnpackSizeHeader(uint32_t sizeHeader, uint8_t & gx, uint8_t & zkpxgr, uint8_t & zkpxb, uint8_t & altConfigCount)
void
UnpackSizeHeader(uint32_t sizeHeader, uint8_t & gx, uint8_t & zkpxgr, uint8_t & zkpxb)

Classes

nl::Weave::Profiles::Security::PASE::WeavePASEEngine

Enumerations

@253

 @253

@254

 @254

@255

 @255

@256

 @256

@261

 @261

Functions

AlignMessagePayload

WEAVE_ERROR AlignMessagePayload(
  PacketBuffer *buf
)

BigNumHash

void BigNumHash(
  const BIGNUM & point,
  uint8_t *h
)

GetPASEConfigSecurityStrength

uint8_t GetPASEConfigSecurityStrength(
  uint32_t config
)

NewPASEConfig1JPAKECTX

WEAVE_ERROR NewPASEConfig1JPAKECTX(
  const uint8_t *pw,
  uint16_t pwLen,
  const char *localContextStr,
  const char *peerContextStr,
  struct JPAKE_CTX *& ctx
)

PASEConfig1_JPAKE_G

BIGNUM * PASEConfig1_JPAKE_G()

PASEConfig1_JPAKE_P

BIGNUM * PASEConfig1_JPAKE_P()

PASEConfig1_JPAKE_Q

BIGNUM * PASEConfig1_JPAKE_Q()

PackControlHeader

WEAVE_ERROR PackControlHeader(
  uint8_t pwSrc,
  uint8_t encType,
  uint16_t sessionKeyId,
  bool performKeyConfirm,
  uint32_t & controlHeader
)

UnpackControlHeader

WEAVE_ERROR UnpackControlHeader(
  uint32_t controlHeader,
  uint8_t & pwSrc,
  uint8_t & encType,
  uint16_t & sessionKeyId,
  bool & performKeyConfirm
)

UnpackSizeHeader

void UnpackSizeHeader(
  uint32_t sizeHeader,
  uint8_t & gx,
  uint8_t & zkpxgr,
  uint8_t & zkpxb,
  uint8_t & altConfigCount
)

UnpackSizeHeader

WEAVE_ERROR UnpackSizeHeader(
  uint32_t sizeHeader,
  uint8_t & gx,
  uint8_t & zkpxgr,
  uint8_t & zkpxb
)