PolarSSL v1.1.5
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 45 of file dhm.h.

Field Documentation

mpi dhm_context::G

generator

Definition at line 49 of file dhm.h.

mpi dhm_context::GX

self = G^X mod P

Definition at line 51 of file dhm.h.

mpi dhm_context::GY

peer = G^Y mod P

Definition at line 52 of file dhm.h.

mpi dhm_context::K

key = GY^X mod P

Definition at line 53 of file dhm.h.

size_t dhm_context::len

size(P) in chars

Definition at line 47 of file dhm.h.

mpi dhm_context::P

prime modulus

Definition at line 48 of file dhm.h.

mpi dhm_context::RP

cached R^2 mod P

Definition at line 54 of file dhm.h.

mpi dhm_context::X

secret value

Definition at line 50 of file dhm.h.


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