MCUX CLNS
MCUX Crypto Library Normal Secure
Loading...
Searching...
No Matches
mcuxClRsa

RSA component. More...

Topics

 mcuxClRsa_Functions
 Defines all functions of mcuxClRsa.
 mcuxClRsa_Descriptors
 Defines descriptors 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, and encryption and decryption, 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 1024 bits to 4096 bits.
    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.
  • RSA encryption and decryption: TODO CLNS-7925: update documentation for RSA.