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
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)
|
|
Enumerations
Functions
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()
WEAVE_ERROR PackControlHeader(
uint8_t pwSrc,
uint8_t encType,
uint16_t sessionKeyId,
bool performKeyConfirm,
uint32_t & controlHeader
)
WEAVE_ERROR UnpackControlHeader(
uint32_t controlHeader,
uint8_t & pwSrc,
uint8_t & encType,
uint16_t & sessionKeyId,
bool & performKeyConfirm
)
void UnpackSizeHeader(
uint32_t sizeHeader,
uint8_t & gx,
uint8_t & zkpxgr,
uint8_t & zkpxb,
uint8_t & altConfigCount
)
WEAVE_ERROR UnpackSizeHeader(
uint32_t sizeHeader,
uint8_t & gx,
uint8_t & zkpxgr,
uint8_t & zkpxb
)