5.11.0.0R3
Software Development Kit
 
Loading...
Searching...
No Matches
mbedtls_dhm_context Struct Reference

The DHM context structure. More...

#include <dhm.h>

Data Fields

mbedtls_mpi G
 
mbedtls_mpi GX
 
mbedtls_mpi GY
 
mbedtls_mpi K
 
size_t len
 
mbedtls_mpi P
 
mbedtls_mpi pX
 
mbedtls_mpi RP
 
mbedtls_mpi Vf
 
mbedtls_mpi Vi
 
mbedtls_mpi X
 

Detailed Description

The DHM context structure.

Field Documentation

◆ G

mbedtls_mpi mbedtls_dhm_context::G

The generator.

◆ GX

mbedtls_mpi mbedtls_dhm_context::GX

Our public key = G^X mod P.

◆ GY

mbedtls_mpi mbedtls_dhm_context::GY

The public key of the peer = G^Y mod P.

◆ K

mbedtls_mpi mbedtls_dhm_context::K

The shared secret = G^(XY) mod P.

◆ len

size_t mbedtls_dhm_context::len

The size of P in Bytes.

◆ P

mbedtls_mpi mbedtls_dhm_context::P

The prime modulus.

◆ pX

mbedtls_mpi mbedtls_dhm_context::pX

The previous X.

◆ RP

mbedtls_mpi mbedtls_dhm_context::RP

The cached value = R^2 mod P.

◆ Vf

mbedtls_mpi mbedtls_dhm_context::Vf

The unblinding value.

◆ Vi

mbedtls_mpi mbedtls_dhm_context::Vi

The blinding value.

◆ X

mbedtls_mpi mbedtls_dhm_context::X

Our secret value.


The documentation for this struct was generated from the following file: