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_OK ((mcuxClRsa_Status_t) 0x0FF62E17u )
55#define MCUXCLRSA_STATUS_ERROR ((mcuxClRsa_Status_t) 0x0FF65330u )
56#define MCUXCLRSA_STATUS_INVALID_INPUT ((mcuxClRsa_Status_t) 0x0FF653F8u )
57#define MCUXCLRSA_STATUS_VERIFY_FAILED ((mcuxClRsa_Status_t) 0x0FF68930u )
58#define MCUXCLRSA_STATUS_FAULT_ATTACK ((mcuxClRsa_Status_t) 0x0FF6F0F0u )
59#define MCUXCLRSA_STATUS_KEYGENERATION_OK ((mcuxClRsa_Status_t) 0x0FF62E0Fu )
60#define MCUXCLRSA_STATUS_KEYGENERATION_ITERATIONSEXCEEDED ((mcuxClRsa_Status_t) 0x0FF68934u )
61#define MCUXCLRSA_STATUS_RNG_ERROR ((mcuxClRsa_Status_t) 0x0FF65338u )
75#define MCUXCLRSA_KEY_PUBLIC (0xA5A5A5A5U)
76#define MCUXCLRSA_KEY_PRIVATEPLAIN (0x5A5A5A5AU)
77#define MCUXCLRSA_KEY_PRIVATECRT (0xB4B4B4B4U)
78#define MCUXCLRSA_KEY_PRIVATECRT_DFA (0x4B4B4B4BU)
91#define MCUXCLRSA_OPTION_MESSAGE_PLAIN (0XA5U)
92#define MCUXCLRSA_OPTION_MESSAGE_DIGEST (0X5AU)
93#define MCUXCLRSA_OPTION_MESSAGE_MASK (MCUXCLRSA_OPTION_MESSAGE_PLAIN | MCUXCLRSA_OPTION_MESSAGE_DIGEST)
Definition of function identifiers for the flow protection mechanism.
Top-level include file for the mcuxClSession component.
Provides the API for the CSSL flow protection mechanism.
mcuxClRsa_KeyEntry_t * mcuxClRsa_KeyEntry
Pointer type to Rsa key entries.
Definition mcuxClRsa_Types.h:139
mcuxClRsa_Status_t mcuxClRsa_Status_Protected_t
Deprecated type for RSA protected status codes.
Definition mcuxClRsa_Types.h:121
mcuxClRsa_SignVerifyMode_t * mcuxClRsa_SignVerifyMode
Pointer type to Sign/Verify mode.
Definition mcuxClRsa_Types.h:185
uint32_t mcuxClRsa_Status_t
Type for RSA status codes.
Definition mcuxClRsa_Types.h:116
struct mcuxClRsa_SignVerifyMode_t mcuxClRsa_SignVerifyMode_t
Forward declaration of Sign/Verify mode struct.
Definition mcuxClRsa_Types.h:180
#define MCUX_CSSL_FP_PROTECTED_TYPE(resultType)
Based on a given base type, builds a return type with flow protection.
Definition mcuxCsslFlowProtection.h:81
Structure type for Rsa key entries, specifying key entry length and data.
Definition mcuxClRsa_Types.h:130
uint8_t * pKeyEntryData
Pointer to buffer containing the key entry data in big-endian byte order.
Definition mcuxClRsa_Types.h:131
uint32_t keyEntryLength
Byte-length of the buffer pointed to by pKeyEntryData.
Definition mcuxClRsa_Types.h:132
Structure type for Rsa key, specifying key type and key entries.
Definition mcuxClRsa_Types.h:145
mcuxClRsa_KeyEntry_t * pExp3
Pointer to sixth key entry:
Definition mcuxClRsa_Types.h:167
mcuxClRsa_KeyEntry_t * pExp1
Pointer to fourth key entry:
Definition mcuxClRsa_Types.h:160
uint32_t keytype
Key type specifier:
Definition mcuxClRsa_Types.h:146
mcuxClRsa_KeyEntry_t * pQInv
Pointer to third key entry:
Definition mcuxClRsa_Types.h:157
mcuxClRsa_KeyEntry_t * pMod2
Pointer to second key entry:
Definition mcuxClRsa_Types.h:154
mcuxClRsa_KeyEntry_t * pMod1
Pointer to first key entry:
Definition mcuxClRsa_Types.h:151
mcuxClRsa_KeyEntry_t * pExp2
Pointer to fifth key entry:
Definition mcuxClRsa_Types.h:164