EC J-PAKE context structure.
J-PAKE is a symmetric protocol, except for the identifiers used in Zero-Knowledge Proofs, and the serialization of the second message (KeyExchange) as defined by the Thread spec.
In order to benefit from this symmetry, we choose a different naming convention from the Thread v1.0 spec. Correspondance is indicated in the description as a pair C: client name, S: server name
Public Attributes#
Pointer to command context object.
uint32_t
Curve flags to use.
Are we client or server?
char
J-PAKE password.
size_t
J-PAKE password length.
uint8_t
Random scalar for exchange.
uint8_t
Our point 1 (round 1)
uint8_t
Our point 2 (round 1)
uint8_t
Their point 1 (round 1)
uint8_t
Their point 2 (round 1)
uint8_t
Their point (round 2)