MCUX CLNS MCUX Crypto Library Normal Secure |

Modules
mcuxClRsa

RSA component. More...

## Modules

| mcuxClRsa_Constants
| Constants of mcuxClRsa component.
| mcuxClRsa_Functions
| Defines all functions of mcuxClRsa.
| mcuxClRsa_Macros
| Defines all macros of mcuxClRsa.
| mcuxClRsa_Types
| Defines all types of the mcuxClRsa component.

## Detailed Description

RSA component.

The mcuxClRsa component implements the RSA functionality supported by CLNS. This includes RSA signature generation and verification according to PKCS#1 v2.2. The RSA component relies on the mcuxClMath component for modular arithmetic operations as well as the secure and non-secure exponentiation. It further relies on the mcuxHash component for the execution of hashing operations. The component offers the following functionality:

- RSA signature generation and verification:
  1. RSA signature generation using RSA keys in private plain or private CRT format together with the PKCS#1 v1.5 padding or PSS padding functionality, according to to RSASSA-PSS-SIGN or RSASSA-PKCS1-v1_5-SIGN of PKCS #1 v2.2.
  2. RSA signature verification using RSA keys public format together with the PKCS#1 v1.5 padding or PSS verification functionality, according to to RSASSA-PSS-VERIFY or RSASSA-PKCS1-v1_5-VERIFY of PKCS #1 v2.2.
  3. RSA signature generation primitive RSASP1 (exponentiation with public exponent) according to PKCS #1 v2.2.
  4. RSA signature verification primitive RSAVP1 (exponentiation with RSA keys in private plain or private CRT format) according to PKCS #1 v2.2.
  5. The bit-length of the modulus can vary from 512 bits to 4096 bits in multiples of 8.
  6. The bit-length of the public exponent is limited to: of 2 <= e < N.
  7. The bit-length of the private exponent is limited to: d < N.