mbedtls_rsa_context
rsa.h
int int mbedtls_rsa_context::private_ver private_ver mbedtls_rsa_context::private_ver

Reserved for internal purposes. Do not set this field in application code. Its meaning might change without notice.

size_t size_t mbedtls_rsa_context::private_len private_len mbedtls_rsa_context::private_len

The size of `N` in Bytes.

mbedtls_mpi mbedtls_mpi mbedtls_rsa_context::private_N private_N mbedtls_rsa_context::private_N

The public modulus.

mbedtls_mpi mbedtls_mpi mbedtls_rsa_context::private_E private_E mbedtls_rsa_context::private_E

The public exponent.

mbedtls_mpi mbedtls_mpi mbedtls_rsa_context::private_D private_D mbedtls_rsa_context::private_D

The private exponent.

mbedtls_mpi mbedtls_mpi mbedtls_rsa_context::private_P private_P mbedtls_rsa_context::private_P

The first prime factor.

mbedtls_mpi mbedtls_mpi mbedtls_rsa_context::private_Q private_Q mbedtls_rsa_context::private_Q

The second prime factor.

mbedtls_mpi mbedtls_mpi mbedtls_rsa_context::private_DP private_DP mbedtls_rsa_context::private_DP

`D % (P - 1)`.

mbedtls_mpi mbedtls_mpi mbedtls_rsa_context::private_DQ private_DQ mbedtls_rsa_context::private_DQ

`D % (Q - 1)`.

mbedtls_mpi mbedtls_mpi mbedtls_rsa_context::private_QP private_QP mbedtls_rsa_context::private_QP

`1 / (Q % P)`.

mbedtls_mpi mbedtls_mpi mbedtls_rsa_context::private_RN private_RN mbedtls_rsa_context::private_RN

cached `R^2 mod N`.

mbedtls_mpi mbedtls_mpi mbedtls_rsa_context::private_RP private_RP mbedtls_rsa_context::private_RP

cached `R^2 mod P`.

mbedtls_mpi mbedtls_mpi mbedtls_rsa_context::private_RQ private_RQ mbedtls_rsa_context::private_RQ

cached `R^2 mod Q`.

mbedtls_mpi mbedtls_mpi mbedtls_rsa_context::private_Vi private_Vi mbedtls_rsa_context::private_Vi

The cached blinding value.

mbedtls_mpi mbedtls_mpi mbedtls_rsa_context::private_Vf private_Vf mbedtls_rsa_context::private_Vf

The cached un-blinding value.

int int mbedtls_rsa_context::private_padding private_padding mbedtls_rsa_context::private_padding

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

int int mbedtls_rsa_context::private_hash_id private_hash_id mbedtls_rsa_context::private_hash_id

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.

mbedtls_threading_mutex_t mbedtls_threading_mutex_t mbedtls_rsa_context::private_mutex private_mutex mbedtls_rsa_context::private_mutex

Thread-safety mutex.

int int mbedtls_rsa_context::dummy dummy mbedtls_rsa_context::dummy

The RSA context structure.

mbedtls_mpi
mbedtls_rsa_context
private_D
private_DP
private_DQ
private_E
private_N
private_P
private_Q
private_QP
private_RN
private_RP
...
private_mutex
mbedtls_threading_mutex_t
- mbedtls_rsa_context
  dummy
- mbedtls_rsa_context
  private_D
- mbedtls_rsa_context
  private_DP
- mbedtls_rsa_context
  private_DQ
- mbedtls_rsa_context
  private_E
- mbedtls_rsa_context
  private_hash_id
- mbedtls_rsa_context
  private_len
- mbedtls_rsa_context
  private_mutex
- mbedtls_rsa_context
  private_N
- mbedtls_rsa_context
  private_P
- mbedtls_rsa_context
  private_padding
- mbedtls_rsa_context
  private_Q
- mbedtls_rsa_context
  private_QP
- mbedtls_rsa_context
  private_RN
- mbedtls_rsa_context
  private_RP
- mbedtls_rsa_context
  private_RQ
- mbedtls_rsa_context
  private_ver
- mbedtls_rsa_context
  private_Vf
- mbedtls_rsa_context
  private_Vi