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

Return code definitions. More...

Macros

#define MCUXCLRSA_STATUS_SIGN_OK
 RSA sign operation successful.
 
#define MCUXCLRSA_STATUS_VERIFY_OK
 RSA verify operation successful.
 
#define MCUXCLRSA_STATUS_VERIFYPRIMITIVE_OK
 RSA verify primitive operation (RSAVP1) successful.
 
#define MCUXCLRSA_STATUS_OK
 RSA operation was successful.
 
#define MCUXCLRSA_STATUS_ERROR
 Error occurred during RSA operation.
 
#define MCUXCLRSA_STATUS_INVALID_INPUT
 Input data cannot be processed.
 
#define MCUXCLRSA_STATUS_VERIFY_FAILED
 Signature verification failed.
 
#define MCUXCLRSA_STATUS_FAULT_ATTACK
 Fault attack detected.
 
#define MCUXCLRSA_STATUS_KEYGENERATION_OK
 RSA key generation operation executed successfully.
 
#define MCUXCLRSA_STATUS_KEYGENERATION_ITERATIONSEXCEEDED
 RSA key generation exceeds the limit of iterations to generate a prime.
 
#define MCUXCLRSA_STATUS_RNG_ERROR
 Random number (DRBG / PRNG) error (unexpected behavior)
 

Detailed Description

Return code definitions.

Macro Definition Documentation

◆ MCUXCLRSA_STATUS_SIGN_OK

#define MCUXCLRSA_STATUS_SIGN_OK

RSA sign operation successful.

Examples
mcuxClRsa_sign_NoEncode_example.c, and mcuxClRsa_sign_pss_sha2_256_example.c.

◆ MCUXCLRSA_STATUS_VERIFY_OK

#define MCUXCLRSA_STATUS_VERIFY_OK

RSA verify operation successful.

Examples
mcuxClRsa_verify_pssverify_sha2_256_example.c.

◆ MCUXCLRSA_STATUS_VERIFYPRIMITIVE_OK

#define MCUXCLRSA_STATUS_VERIFYPRIMITIVE_OK

RSA verify primitive operation (RSAVP1) successful.

Examples
mcuxClRsa_verify_NoVerify_example.c.

◆ MCUXCLRSA_STATUS_OK

#define MCUXCLRSA_STATUS_OK

RSA operation was successful.

◆ MCUXCLRSA_STATUS_ERROR

#define MCUXCLRSA_STATUS_ERROR

Error occurred during RSA operation.

◆ MCUXCLRSA_STATUS_INVALID_INPUT

#define MCUXCLRSA_STATUS_INVALID_INPUT

Input data cannot be processed.

◆ MCUXCLRSA_STATUS_VERIFY_FAILED

#define MCUXCLRSA_STATUS_VERIFY_FAILED

Signature verification failed.

◆ MCUXCLRSA_STATUS_FAULT_ATTACK

#define MCUXCLRSA_STATUS_FAULT_ATTACK

Fault attack detected.

◆ MCUXCLRSA_STATUS_KEYGENERATION_OK

#define MCUXCLRSA_STATUS_KEYGENERATION_OK

RSA key generation operation executed successfully.

◆ MCUXCLRSA_STATUS_KEYGENERATION_ITERATIONSEXCEEDED

#define MCUXCLRSA_STATUS_KEYGENERATION_ITERATIONSEXCEEDED

RSA key generation exceeds the limit of iterations to generate a prime.

◆ MCUXCLRSA_STATUS_RNG_ERROR

#define MCUXCLRSA_STATUS_RNG_ERROR

Random number (DRBG / PRNG) error (unexpected behavior)