19 #ifndef MCUXCLRSA_TYPES_H_ 20 #define MCUXCLRSA_TYPES_H_ 25 #include <mcuxClConfig.h> 51 #define MCUXCLRSA_STATUS_SIGN_OK ((mcuxClRsa_Status_t) 0x0FF62E03u ) 52 #define MCUXCLRSA_STATUS_VERIFY_OK ((mcuxClRsa_Status_t) 0x0FF62E07u ) 53 #define MCUXCLRSA_STATUS_VERIFYPRIMITIVE_OK ((mcuxClRsa_Status_t) 0x0FF62E0Bu ) 54 #define MCUXCLRSA_STATUS_ERROR ((mcuxClRsa_Status_t) 0x0FF65330u ) 55 #define MCUXCLRSA_STATUS_INVALID_INPUT ((mcuxClRsa_Status_t) 0x0FF653F8u ) 56 #define MCUXCLRSA_STATUS_VERIFY_FAILED ((mcuxClRsa_Status_t) 0x0FF68930u ) 57 #define MCUXCLRSA_STATUS_FAULT_ATTACK ((mcuxClRsa_Status_t) 0x0FF6F0F0u ) 58 #define MCUXCLRSA_STATUS_KEYGENERATION_OK ((mcuxClRsa_Status_t) 0x0FF62E0Fu ) 59 #define MCUXCLRSA_STATUS_KEYGENERATION_ITERATIONSEXCEEDED ((mcuxClRsa_Status_t) 0x0FF68934u ) 60 #define MCUXCLRSA_STATUS_RNG_ERROR ((mcuxClRsa_Status_t) 0x0FF65338u ) 74 #define MCUXCLRSA_KEY_PUBLIC (0xA5A5A5A5U) 75 #define MCUXCLRSA_KEY_PRIVATEPLAIN (0x5A5A5A5AU) 76 #define MCUXCLRSA_KEY_PRIVATECRT (0xB4B4B4B4U) 77 #define MCUXCLRSA_KEY_PRIVATECRT_DFA (0x4B4B4B4BU) 90 #define MCUXCLRSA_OPTION_MESSAGE_PLAIN (0XA5U) 91 #define MCUXCLRSA_OPTION_MESSAGE_DIGEST (0X5AU) 92 #define MCUXCLRSA_OPTION_MESSAGE_MASK (MCUXCLRSA_OPTION_MESSAGE_PLAIN | MCUXCLRSA_OPTION_MESSAGE_DIGEST) mcuxClRsa_KeyEntry_t * pQInv
Pointer to third key entry:
Definition: mcuxClRsa_Types.h:156
uint32_t mcuxClRsa_Status_t
Type for RSA status codes.
Definition: mcuxClRsa_Types.h:115
uint32_t keytype
Key type specifier:
Definition: mcuxClRsa_Types.h:145
Structure type for Rsa key, specifying key type and key entries.
Definition: mcuxClRsa_Types.h:143
mcuxClRsa_KeyEntry_t * pExp2
Pointer to fifth key entry:
Definition: mcuxClRsa_Types.h:163
uint32_t keyEntryLength
Byte-length of the buffer pointed to by pKeyEntryData.
Definition: mcuxClRsa_Types.h:131
mcuxClRsa_SignVerifyMode_t * mcuxClRsa_SignVerifyMode
Pointer type to Sign/Verify mode.
Definition: mcuxClRsa_Types.h:184
Provides the API for the CSSL flow protection mechanism.
uint8_t * pKeyEntryData
Pointer to buffer containing the key entry data in big-endian byte order.
Definition: mcuxClRsa_Types.h:130
mcuxClRsa_KeyEntry_t * pExp3
Pointer to sixth key entry:
Definition: mcuxClRsa_Types.h:166
mcuxClRsa_KeyEntry_t * pMod2
Pointer to second key entry:
Definition: mcuxClRsa_Types.h:153
struct mcuxClRsa_SignVerifyMode_t mcuxClRsa_SignVerifyMode_t
Forward declaration of Sign/Verify mode struct.
Definition: mcuxClRsa_Types.h:179
mcuxClRsa_KeyEntry_t * pMod1
Pointer to first key entry:
Definition: mcuxClRsa_Types.h:150
mcuxClRsa_KeyEntry_t * pExp1
Pointer to fourth key entry:
Definition: mcuxClRsa_Types.h:159
Top-level include file for the mcuxClSession component.
struct mcuxClRsa_Key mcuxClRsa_Key
Structure type for Rsa key, specifying key type and key entries.
Definition of function identifiers for the flow protection mechanism.
Structure type for Rsa key entries, specifying key entry length and data.
Definition: mcuxClRsa_Types.h:128
#define MCUX_CSSL_FP_PROTECTED_TYPE(resultType)
Based on a given base type, builds a return type with flow protection.
Definition: mcuxCsslFlowProtection.h:81
mcuxClRsa_Status_t mcuxClRsa_Status_Protected_t
Deprecated type for RSA protected status codes.
Definition: mcuxClRsa_Types.h:120
mcuxClRsa_KeyEntry_t * mcuxClRsa_KeyEntry
Pointer type to Rsa key entries.
Definition: mcuxClRsa_Types.h:138