mbed TLS library

Dependents:   HTTPClient-SSL WS_SERVER

Embed: (wiki syntax)

« Back to documentation index

dhm_context Struct Reference

dhm_context Struct Reference

DHM context structure. More...

#include <dhm.h>

Data Fields

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

Detailed Description

DHM context structure.

Definition at line 153 of file dhm.h.


Field Documentation

mpi G

generator

Definition at line 157 of file dhm.h.

self = G^X mod P

Definition at line 159 of file dhm.h.

peer = G^Y mod P

Definition at line 160 of file dhm.h.

mpi K

key = GY^X mod P

Definition at line 161 of file dhm.h.

size_t len

size(P) in chars

Definition at line 155 of file dhm.h.

mpi P

prime modulus

Definition at line 156 of file dhm.h.

previous X

Definition at line 165 of file dhm.h.

cached R^2 mod P

Definition at line 162 of file dhm.h.

un-blinding value

Definition at line 164 of file dhm.h.

blinding value

Definition at line 163 of file dhm.h.

mpi X

secret value

Definition at line 158 of file dhm.h.