MCUXpresso SDK API Reference Manual  Rev. 0
NXP Semiconductors
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
mbedtls_dhm_context Struct Reference

The DHM context structure.

#include <dhm.h>

Data Fields

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

Field Documentation

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