rsa_context Struct Reference

RSA context structure. More...

#include <rsa.h>


Data Fields

int ver
int len
mpi N
mpi E
mpi D
mpi P
mpi Q
mpi DP
mpi DQ
mpi QP
mpi RN
mpi RP
mpi RQ
int padding
int hash_id
int(* f_rng )(void *)
void * p_rng


Detailed Description

RSA context structure.

Definition at line 56 of file rsa.h.


Field Documentation

always 0

Definition at line 58 of file rsa.h.

size(N) in chars

Definition at line 59 of file rsa.h.

Referenced by d2i_RSA_PUBKEY(), and main().

public modulus

Definition at line 61 of file rsa.h.

Referenced by d2i_RSA_PUBKEY(), and main().

public exponent

Definition at line 62 of file rsa.h.

Referenced by d2i_RSA_PUBKEY(), and main().

private exponent

Definition at line 64 of file rsa.h.

Referenced by main().

1st prime factor

Definition at line 65 of file rsa.h.

Referenced by main().

2nd prime factor

Definition at line 66 of file rsa.h.

Referenced by main().

D % (P - 1)

Definition at line 67 of file rsa.h.

Referenced by main().

D % (Q - 1)

Definition at line 68 of file rsa.h.

Referenced by main().

1 / (Q % P)

Definition at line 69 of file rsa.h.

Referenced by main().

cached R^2 mod N

Definition at line 71 of file rsa.h.

cached R^2 mod P

Definition at line 72 of file rsa.h.

cached R^2 mod Q

Definition at line 73 of file rsa.h.

1.5 or OAEP/PSS

Definition at line 75 of file rsa.h.

hash identifier

Definition at line 76 of file rsa.h.

int(* rsa_context::f_rng)(void *)

RNG function

RNG parameter

Definition at line 78 of file rsa.h.


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

Generated on Thu Nov 13 14:22:59 2008 for Mobile-C by  doxygen 1.5.5