Mbed OS Reference
Loading...
Searching...
No Matches
mbedtls_dhm_context Struct Reference

The DHM context structure. More...

#include <dhm.h>

Data Fields

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
 

Detailed Description

The DHM context structure.

Definition at line 108 of file dhm.h.

Field Documentation

◆ len

size_t len

The size of P in Bytes.

Definition at line 110 of file dhm.h.

◆ P

The prime modulus.

Definition at line 111 of file dhm.h.

◆ G

The generator.

Definition at line 112 of file dhm.h.

◆ X

Our secret value.

Definition at line 113 of file dhm.h.

◆ GX

Our public key = G^X mod P.

Definition at line 114 of file dhm.h.

◆ GY

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

Definition at line 115 of file dhm.h.

◆ K

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

Definition at line 116 of file dhm.h.

◆ RP

The cached value = R^2 mod P.

Definition at line 117 of file dhm.h.

◆ Vi

The blinding value.

Definition at line 118 of file dhm.h.

◆ Vf

The unblinding value.

Definition at line 119 of file dhm.h.

◆ pX

The previous X.

Definition at line 120 of file dhm.h.