En Google, luchamos por la equidad racial de la comunidad negra. Más información
Organiza tus páginas con colecciones Guarda y categoriza el contenido según tus preferencias.

nl::Weave::Perfiles::Seguridad::PASE::WeavePASEEngine

Resumen

Tipos públicos

EngineState enum

Atributos públicos

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

Funciones públicas

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

Tipos públicos

Estado del motor

 EngineState

Atributos públicos

Configuración de PAPA permitida

uint8_t AllowedPASEConfigs

EncryptionKey

WeaveEncryptionKey EncryptionKey

EncryptionType

uint8_t EncryptionType

JPAKECtx

struct JPAKE_CTX * JPAKECtx

Confirmación de clave de rendimiento

bool PerformKeyConfirmation

Configuración del protocolo

uint32_t ProtocolConfig

Pw

const uint8_t * Pw

PwLen

uint16_t PwLen

PwSource

uint8_t PwSource

RespondeResponderClave

uint8_t ResponderKeyConfirmHash[kKeyConfirmHashLengthMax]

ResponderStep2ZKPXGRHash

uint8_t ResponderStep2ZKPXGRHash[kStep2ZKPXGRHashLengthMax]

ID de clave de sesión

uint16_t SessionKeyId

Estado

EngineState State

Funciones públicas

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;

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
)

IsInitiator

bool IsInitiator(
  void
) const 

IsResponder

bool IsResponder(
  void
) const 

Paso del proceso de inicio1

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

Paso del proceso de inicio 2

WEAVE_ERROR ProcessInitiatorStep2(
  PacketBuffer *buf
)

ResponderClave de Proceso

WEAVE_ERROR ProcessResponderKeyConfirm(
  PacketBuffer *buf
)

ProcessResponderReconfigure

WEAVE_ERROR ProcessResponderReconfigure(
  PacketBuffer *buf,
  uint32_t & proposedPASEConfig
)

PasoResponder11

WEAVE_ERROR ProcessResponderStep1(
  PacketBuffer *buf
)

ProcessResponderStep2

WEAVE_ERROR ProcessResponderStep2(
  PacketBuffer *buf
)

Restablecer

void Reset(
  void
)

Cierre

void Shutdown(
  void
)