mbedtls ported to mbed-classic
Fork of mbedtls by
mbedtls_ecjpake_context Struct Reference
EC J-PAKE context structure. More...
#include <ecjpake.h>
Data Fields | |
const mbedtls_md_info_t * | md_info |
Hash to use. | |
mbedtls_ecp_group | grp |
Elliptic curve. | |
mbedtls_ecjpake_role | role |
Are we client or server? | |
int | point_format |
Format for point export. | |
mbedtls_ecp_point | Xm1 |
My public key 1 C: X1, S: X3. | |
mbedtls_ecp_point | Xm2 |
My public key 2 C: X2, S: X4. | |
mbedtls_ecp_point | Xp1 |
Peer public key 1 C: X3, S: X1. | |
mbedtls_ecp_point | Xp2 |
Peer public key 2 C: X4, S: X2. | |
mbedtls_ecp_point | Xp |
Peer public key C: Xs, S: Xc. | |
mbedtls_mpi | xm1 |
My private key 1 C: x1, S: x3. | |
mbedtls_mpi | xm2 |
My private key 2 C: x2, S: x4. | |
mbedtls_mpi | s |
Pre-shared secret (passphrase) |
Detailed Description
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 convetion from the Thread v1.0 spec. Correspondance is indicated in the description as a pair C: <client name>="">, S: <server name>="">
Definition at line 69 of file ecjpake.h.
Field Documentation
const mbedtls_md_info_t* md_info |
int point_format |
Generated on Tue Jul 12 2022 12:52:56 by 1.7.2