PolarSSL v1.2.8
Data Fields
dhm_context Struct Reference

DHM context structure. More...

#include <dhm.h>

Collaboration diagram for dhm_context:
Collaboration graph
[legend]

Data Fields

size_t len
 
mpi P
 
mpi G
 
mpi X
 
mpi GX
 
mpi GY
 
mpi K
 
mpi RP
 

Detailed Description

DHM context structure.

Definition at line 136 of file dhm.h.

Field Documentation

mpi dhm_context::G

generator

Definition at line 140 of file dhm.h.

mpi dhm_context::GX

self = G^X mod P

Definition at line 142 of file dhm.h.

mpi dhm_context::GY

peer = G^Y mod P

Definition at line 143 of file dhm.h.

mpi dhm_context::K

key = GY^X mod P

Definition at line 144 of file dhm.h.

size_t dhm_context::len

size(P) in chars

Definition at line 138 of file dhm.h.

mpi dhm_context::P

prime modulus

Definition at line 139 of file dhm.h.

mpi dhm_context::RP

cached R^2 mod P

Definition at line 145 of file dhm.h.

mpi dhm_context::X

secret value

Definition at line 141 of file dhm.h.


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