The DHM context structure. More...
#include <dhm.h>

Public Attributes | |
| size_t | len |
| mbedtls_mpi | P |
| mbedtls_mpi | G |
| mbedtls_mpi | X |
| mbedtls_mpi | GX |
| mbedtls_mpi | GY |
| mbedtls_mpi | K |
| mbedtls_mpi | RP |
| mbedtls_mpi | Vi |
| mbedtls_mpi | Vf |
| mbedtls_mpi | pX |
The DHM context structure.
| mbedtls_mpi mbedtls_dhm_context::G |
The generator.
| mbedtls_mpi mbedtls_dhm_context::GX |
Our public key = G^X mod P.
| mbedtls_mpi mbedtls_dhm_context::GY |
The public key of the peer = G^Y mod P.
| mbedtls_mpi mbedtls_dhm_context::K |
The shared secret = G^(XY) mod P.
| size_t mbedtls_dhm_context::len |
The size of P in Bytes.
| mbedtls_mpi mbedtls_dhm_context::P |
The prime modulus.
| mbedtls_mpi mbedtls_dhm_context::pX |
The previous X.
| mbedtls_mpi mbedtls_dhm_context::RP |
The cached value = R^2 mod P.
| mbedtls_mpi mbedtls_dhm_context::Vf |
The unblinding value.
| mbedtls_mpi mbedtls_dhm_context::Vi |
The blinding value.
| mbedtls_mpi mbedtls_dhm_context::X |
Our secret value.