MCUX CLNS
MCUX Crypto Library Normal Secure
 
Loading...
Searching...
No Matches
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.
 
#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)
 
#define MCUXCLRSA_KEY_PUBLIC
 RSA key type public.
 
#define MCUXCLRSA_KEY_PRIVATEPLAIN
 RSA key type private plain.
 
#define MCUXCLRSA_KEY_PRIVATECRT
 RSA key type private CRT.
 
#define MCUXCLRSA_KEY_PRIVATECRT_DFA
 RSA key type private CRT, with which a fault-protected CRT operation is executed.
 
#define MCUXCLRSA_OPTION_MESSAGE_PLAIN
 Option passing a plain message as input to the sign or verify operation.
 
#define MCUXCLRSA_OPTION_MESSAGE_DIGEST
 Option passing a message digest as input to the sign or verify operation.
 
#define MCUXCLRSA_OPTION_MESSAGE_MASK
 Mask to set option MESSAGE_PLAIN or MESSAGE_DIGEST.
 

Typedefs

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

Detailed Description

Type definitions for the mcuxClRsa component.