PolarSSL v1.1.4
Data Fields
rsa_context Struct Reference

RSA context structure. More...

#include <rsa.h>

Collaboration diagram for rsa_context:
Collaboration graph
[legend]

Data Fields

int ver
size_t 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

Detailed Description

RSA context structure.

Definition at line 128 of file rsa.h.


Field Documentation

private exponent

Definition at line 136 of file rsa.h.

Referenced by FCT_BGN().

D % (P - 1)

Definition at line 139 of file rsa.h.

Referenced by FCT_BGN().

D % (Q - 1)

Definition at line 140 of file rsa.h.

Referenced by FCT_BGN().

public exponent

Definition at line 134 of file rsa.h.

Referenced by d2i_RSA_PUBKEY(), and FCT_BGN().

Hash identifier of md_type_t as specified in the md.h header file for the EME-OAEP and EMSA-PSS encoding

Definition at line 149 of file rsa.h.

size(N) in chars

Definition at line 131 of file rsa.h.

Referenced by d2i_RSA_PUBKEY(), and FCT_BGN().

public modulus

Definition at line 133 of file rsa.h.

Referenced by d2i_RSA_PUBKEY(), and FCT_BGN().

1st prime factor

Definition at line 137 of file rsa.h.

Referenced by FCT_BGN().

RSA_PKCS_V15 for 1.5 padding and RSA_PKCS_v21 for OAEP/PSS

Definition at line 147 of file rsa.h.

2nd prime factor

Definition at line 138 of file rsa.h.

Referenced by FCT_BGN().

1 / (Q % P)

Definition at line 141 of file rsa.h.

Referenced by FCT_BGN().

cached R^2 mod N

Definition at line 143 of file rsa.h.

cached R^2 mod P

Definition at line 144 of file rsa.h.

cached R^2 mod Q

Definition at line 145 of file rsa.h.

always 0

Definition at line 130 of file rsa.h.


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