mbedtls_rsa_context Struct Reference

The RSA context structure. More...

#include <rsa.h>

Collaboration diagram for mbedtls_rsa_context:
Collaboration graph
[legend]

Data Fields

int ver
size_t len
mbedtls_mpi N
mbedtls_mpi E
mbedtls_mpi D
mbedtls_mpi P
mbedtls_mpi Q
mbedtls_mpi DP
mbedtls_mpi DQ
mbedtls_mpi QP
mbedtls_mpi RN
mbedtls_mpi RP
mbedtls_mpi RQ
mbedtls_mpi Vi
mbedtls_mpi Vf
int padding
int hash_id
mbedtls_threading_mutex_t mutex

Detailed Description

The RSA context structure.

Note:
Direct manipulation of the members of this structure is deprecated. All manipulation should instead be done through the public interface functions.

Definition at line 121 of file rsa.h.


Field Documentation

The private exponent.

Definition at line 129 of file rsa.h.

D % (P - 1)

Definition at line 133 of file rsa.h.

D % (Q - 1)

Definition at line 134 of file rsa.h.

The public exponent.

Definition at line 127 of file rsa.h.

Hash identifier of mbedtls_md_type_t type, as specified in md.h for use in the MGF mask generating function used in the EME-OAEP and EMSA-PSS encodings.

Definition at line 148 of file rsa.h.

The size of N in Bytes.

Definition at line 124 of file rsa.h.

Thread-safety mutex.

Definition at line 153 of file rsa.h.

The public modulus.

Definition at line 126 of file rsa.h.

The first prime factor.

Definition at line 130 of file rsa.h.

Selects padding mode: MBEDTLS_RSA_PKCS_V15 for 1.5 padding and MBEDTLS_RSA_PKCS_V21 for OAEP or PSS.

Definition at line 145 of file rsa.h.

The second prime factor.

Definition at line 131 of file rsa.h.

1 / (Q % P)

Definition at line 135 of file rsa.h.

cached R^2 mod N

Definition at line 137 of file rsa.h.

cached R^2 mod P

Definition at line 139 of file rsa.h.

cached R^2 mod Q

Definition at line 140 of file rsa.h.

Always 0.

Definition at line 123 of file rsa.h.

The cached un-blinding value.

Definition at line 143 of file rsa.h.

The cached blinding value.

Definition at line 142 of file rsa.h.


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

Generated on 10 Aug 2020 for mbed TLS v2.7.16 by  doxygen 1.6.1