MCUX CLNS
MCUX Crypto Library Normal Secure
mcuxClRsa_Types.h File Reference

Type definitions for the mcuxClRsa component. More...

#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#include <mcuxClConfig.h>
#include <mcuxClSession.h>
#include <mcuxCsslFlowProtection.h>
#include <mcuxClCore_FunctionIdentifiers.h>

Go to the source code of this file.

Data Structures

struct  mcuxClRsa_KeyEntry_t
 Structure type for Rsa key entries, specifying key entry length and data. More...
 
struct  mcuxClRsa_Key
 Structure type for Rsa key, specifying key type and key entries. More...
 

Macros

#define MCUXCLRSA_STATUS_SIGN_OK
 RSA sign operation successful. More...
 
#define MCUXCLRSA_STATUS_VERIFY_OK
 RSA verify operation successful. More...
 
#define MCUXCLRSA_STATUS_VERIFYPRIMITIVE_OK
 RSA verify primitive operation (RSAVP1) successful. More...
 
#define MCUXCLRSA_STATUS_ERROR
 Error occurred during RSA operation. More...
 
#define MCUXCLRSA_STATUS_INVALID_INPUT
 Input data cannot be processed. More...
 
#define MCUXCLRSA_STATUS_VERIFY_FAILED
 Signature verification failed. More...
 
#define MCUXCLRSA_STATUS_FAULT_ATTACK
 Fault attack detected. More...
 
#define MCUXCLRSA_STATUS_KEYGENERATION_OK
 RSA key generation operation executed successfully. More...
 
#define MCUXCLRSA_STATUS_KEYGENERATION_ITERATIONSEXCEEDED
 RSA key generation exceeds the limit of iterations to generate a prime. More...
 
#define MCUXCLRSA_STATUS_RNG_ERROR
 Random number (DRBG / PRNG) error (unexpected behavior) More...
 
#define MCUXCLRSA_KEY_PUBLIC
 RSA key type public. More...
 
#define MCUXCLRSA_KEY_PRIVATEPLAIN
 RSA key type private plain. More...
 
#define MCUXCLRSA_KEY_PRIVATECRT
 RSA key type private CRT. More...
 
#define MCUXCLRSA_KEY_PRIVATECRT_DFA
 RSA key type private CRT, with which a fault-protected CRT operation is executed. More...
 
#define MCUXCLRSA_OPTION_MESSAGE_PLAIN
 Option passing a plain message as input to the sign or verify operation. More...
 
#define MCUXCLRSA_OPTION_MESSAGE_DIGEST
 Option passing a message digest as input to the sign or verify operation. More...
 
#define MCUXCLRSA_OPTION_MESSAGE_MASK
 Mask to set option MESSAGE_PLAIN or MESSAGE_DIGEST. More...
 

Typedefs

typedef uint32_t mcuxClRsa_Status_t
 Type for RSA status codes. More...
 
typedef mcuxClRsa_Status_t mcuxClRsa_Status_Protected_t
 Deprecated type for RSA protected status codes. More...
 
typedef mcuxClRsa_KeyEntry_tmcuxClRsa_KeyEntry
 Pointer type to Rsa key entries. More...
 
typedef struct mcuxClRsa_Key mcuxClRsa_Key
 Structure type for Rsa key, specifying key type and key entries. More...
 
typedef struct mcuxClRsa_SignVerifyMode_t mcuxClRsa_SignVerifyMode_t
 Forward declaration of Sign/Verify mode struct. More...
 
typedef mcuxClRsa_SignVerifyMode_tmcuxClRsa_SignVerifyMode
 Pointer type to Sign/Verify mode. More...
 

Detailed Description

Type definitions for the mcuxClRsa component.