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

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

RNG function

Definition at line 77 of file rsa.h.

Referenced by rsa_gen_key(), and rsa_init().

hash identifier

Definition at line 76 of file rsa.h.

Referenced by rsa_init().

RNG parameter

Definition at line 78 of file rsa.h.

Referenced by rsa_gen_key(), and rsa_init().

1.5 or OAEP/PSS

Definition at line 75 of file rsa.h.

Referenced by rsa_init(), rsa_pkcs1_decrypt(), rsa_pkcs1_encrypt(), rsa_pkcs1_sign(), and rsa_pkcs1_verify().

cached R^2 mod N

Definition at line 71 of file rsa.h.

Referenced by rsa_free(), rsa_private(), and rsa_public().

cached R^2 mod P

Definition at line 72 of file rsa.h.

Referenced by rsa_free(), and rsa_private().

cached R^2 mod Q

Definition at line 73 of file rsa.h.

Referenced by rsa_free(), and rsa_private().

always 0

Definition at line 58 of file rsa.h.

Referenced by x509parse_key().


The documentation for this struct was generated from the following file:
Generated on Tue Dec 28 15:15:30 2010 for Mobile-C by  doxygen 1.6.3