Google は、黒人コミュニティのための人種的公平の促進に取り組んでいます。詳細をご覧ください。

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

まとめ

パブリック タイプ

EngineState 列挙型

パブリック属性

AllowedPASEConfigs
uint8_t
EncryptionKey
EncryptionType
uint8_t
JPAKECtx
struct JPAKE_CTX *
PerformKeyConfirmation
bool
ProtocolConfig
uint32_t
Pw
const uint8_t *
PwLen
uint16_t
PwSource
uint8_t
ResponderKeyConfirmHash[kKeyConfirmHashLengthMax]
uint8_t
ResponderStep2ZKPXGRHash[kStep2ZKPXGRHashLengthMax]
uint8_t
SessionKeyId
uint16_t
State
EngineState

パブリック関数

GenerateInitiatorStep1(PacketBuffer *buf, uint32_t proposedPASEConfig, uint64_t localNodeId, uint64_t peerNodeId, uint16_t sessionKeyId, uint8_t encType, uint8_t pwSrc, WeaveFabricState *FabricState, bool confirmKey)
GenerateInitiatorStep2(PacketBuffer *buf)
GenerateResponderKeyConfirm(PacketBuffer *buf)
GenerateResponderReconfigure(PacketBuffer *buf)
GenerateResponderStep1(PacketBuffer *buf)
GenerateResponderStep2(PacketBuffer *buf)
GetSessionKey(const WeaveEncryptionKey *& encKey)
Init(void)
void
IsInitiator(void) const
bool
IsResponder(void) const
bool
ProcessInitiatorStep1(PacketBuffer *buf, uint64_t localNodeId, uint64_t peerNodeId, WeaveFabricState *FabricState)
ProcessInitiatorStep2(PacketBuffer *buf)
ProcessResponderKeyConfirm(PacketBuffer *buf)
ProcessResponderReconfigure(PacketBuffer *buf, uint32_t & proposedPASEConfig)
ProcessResponderStep1(PacketBuffer *buf)
ProcessResponderStep2(PacketBuffer *buf)
Reset(void)
void
Shutdown(void)
void

パブリック タイプ

エンジン状態

 EngineState

パブリック属性

AllowedPASEConfigs

uint8_t AllowedPASEConfigs

EncryptionKey

WeaveEncryptionKey EncryptionKey

EncryptionType

uint8_t EncryptionType

JPAKECTX

struct JPAKE_CTX * JPAKECtx

PerformKeyConfirmation

bool PerformKeyConfirmation

ProtocolConfig

uint32_t ProtocolConfig

パウ

const uint8_t * Pw

PwLen

uint16_t PwLen

ソース

uint8_t PwSource

ReplyerKeyConfirmHash

uint8_t ResponderKeyConfirmHash[kKeyConfirmHashLengthMax]

レスポンダーステップ 2ZKPXGRHash

uint8_t ResponderStep2ZKPXGRHash[kStep2ZKPXGRHashLengthMax]

セッションキー ID

uint16_t SessionKeyId

状態

EngineState State

パブリック関数

GenerateInitiatorStep1(GenerateInitiatorStep1)

WEAVE_ERROR GenerateInitiatorStep1(
  PacketBuffer *buf,
  uint32_t proposedPASEConfig,
  uint64_t localNodeId,
  uint64_t peerNodeId,
  uint16_t sessionKeyId,
  uint8_t encType,
  uint8_t pwSrc,
  WeaveFabricState *FabricState,
  bool confirmKey
)

GenerateInitiatorStep2(GenerateInitiatorStep2)

WEAVE_ERROR GenerateInitiatorStep2(
  PacketBuffer *buf
)

GenerateResponderKeyConfirm

WEAVE_ERROR GenerateResponderKeyConfirm(
  PacketBuffer *buf
)

GenerateResponderReconfigure

WEAVE_ERROR GenerateResponderReconfigure(
  PacketBuffer *buf
)

GenerateResponderStep1(生成)

WEAVE_ERROR GenerateResponderStep1(
  PacketBuffer *buf
)

GenerateResponderStep2(生成)

WEAVE_ERROR GenerateResponderStep2(
  PacketBuffer *buf
)

GetSessionKey

WEAVE_ERROR GetSessionKey(
  const WeaveEncryptionKey *& encKey
)

init

void Init(
  void
)

イニシエータ

bool IsInitiator(
  void
) const 

IsResponder(応答者)

bool IsResponder(
  void
) const 

プロセス イニシエータ ステップ 1

WEAVE_ERROR ProcessInitiatorStep1(
  PacketBuffer *buf,
  uint64_t localNodeId,
  uint64_t peerNodeId,
  WeaveFabricState *FabricState
)

プロセス イニシエータ ステップ 2

WEAVE_ERROR ProcessInitiatorStep2(
  PacketBuffer *buf
)

ProcessResponderKeyConfirm

WEAVE_ERROR ProcessResponderKeyConfirm(
  PacketBuffer *buf
)

ProcessResponderReconfigure を実装する

WEAVE_ERROR ProcessResponderReconfigure(
  PacketBuffer *buf,
  uint32_t & proposedPASEConfig
)

プロセス対応手順 1

WEAVE_ERROR ProcessResponderStep1(
  PacketBuffer *buf
)

プロセス対応手順 2

WEAVE_ERROR ProcessResponderStep2(
  PacketBuffer *buf
)

リセット

void Reset(
  void
)

シャットダウン

void Shutdown(
  void
)