19#ifndef MCUXCLKEY_TYPES_H_
20#define MCUXCLKEY_TYPES_H_
24#include <mcuxClConfig.h>
25#include <mcuxCsslAnalysis.h>
65struct mcuxClKey_Protection;
73struct mcuxClKey_Descriptor;
96struct mcuxClKey_TypeDescriptor;
126struct mcuxClKey_ProtectionDescriptor;
143#ifdef MCUXCL_FEATURE_KEY_AGREEMENT
147struct mcuxClKey_Agreement_AdditionalInput{
152typedef struct mcuxClKey_Agreement_AdditionalInput mcuxClKey_Agreement_AdditionalInput_t;
160struct mcuxClKey_AgreementDescriptor;
168typedef struct mcuxClKey_AgreementDescriptor mcuxClKey_AgreementDescriptor_t;
175typedef const mcuxClKey_AgreementDescriptor_t *
const mcuxClKey_Agreement_t;
179#ifdef MCUXCL_FEATURE_KEY_SELFTEST
187struct mcuxClKey_TestDescriptor;
195typedef struct mcuxClKey_TestDescriptor mcuxClKey_TestDescriptor_t;
202typedef const mcuxClKey_TestDescriptor_t *
const mcuxClKey_Test_t;
210struct mcuxClKey_GenerationDescriptor;
228#ifdef MCUXCL_FEATURE_KEY_DERIVATION
232struct mcuxClKey_DerivationAlgorithmDescriptor;
237typedef struct mcuxClKey_DerivationAlgorithmDescriptor mcuxClKey_DerivationAlgorithmDescriptor_t;
242typedef const mcuxClKey_DerivationAlgorithmDescriptor_t *
const mcuxClKey_DerivationAlgorithm_t;
247struct mcuxClKey_DerivationInput {
255typedef struct mcuxClKey_DerivationInput mcuxClKey_DerivationInput_t;
263struct mcuxClKey_DerivationMode;
271typedef struct mcuxClKey_DerivationMode mcuxClKey_DerivationMode_t;
279typedef const mcuxClKey_DerivationMode_t * mcuxClKey_Derivation_t;
291MCUX_CSSL_ANALYSIS_START_SUPPRESS_DECLARED_BUT_NEVER_REFERENCED(
"Consumed by user / customer. Hence, it is declared but never referenced. ")
292static const
mcuxClKey_Type_t mcuxClKey_Type_derivationKey_variableLength = &mcuxClKey_TypeDescriptor_derivationKey_variableLength;
293MCUX_CSSL_ANALYSIS_STOP_SUPPRESS_DECLARED_BUT_NEVER_REFERENCED()
Provides the API for the CL buffer types.
Definition of function identifiers for the flow protection mechanism.
Provides the API for the CSSL flow protection mechanism.
const uint8_t * mcuxCl_InputBuffer_t
Input buffer type.
Definition mcuxClBuffer_Pointer.h:46
struct mcuxClKey_Descriptor mcuxClKey_Descriptor_t
Key descriptor type.
Definition mcuxClKey_Types.h:81
struct mcuxClKey_ProtectionDescriptor mcuxClKey_ProtectionDescriptor_t
Key protection mechanism descriptor type.
Definition mcuxClKey_Types.h:134
uint16_t mcuxClKey_AlgorithmId_t
Type for algorithm based key id.
Definition mcuxClKey_Types.h:52
mcuxClKey_TypeDescriptor_t * mcuxClKey_CustomType_t
Custom key type handle type.
Definition mcuxClKey_Types.h:118
uint32_t mcuxClKey_Size_t
Type for algorithm based key size.
Definition mcuxClKey_Types.h:57
mcuxClKey_Status_t mcuxClKey_Status_Protected_t
Deprecated type for Key component error codes, returned by functions with code-flow protection.
Definition mcuxClKey_Types.h:62
const mcuxClKey_TypeDescriptor_t * mcuxClKey_Type_t
Key type handle type.
Definition mcuxClKey_Types.h:111
uint32_t mcuxClKey_Status_t
Type for Key component error codes.
Definition mcuxClKey_Types.h:47
struct mcuxClKey_GenerationDescriptor mcuxClKey_GenerationDescriptor_t
Key generation descriptor type.
Definition mcuxClKey_Types.h:218
const mcuxClKey_ProtectionDescriptor_t * mcuxClKey_Protection_t
Key protection mechanism type.
Definition mcuxClKey_Types.h:141
const mcuxClKey_GenerationDescriptor_t *const mcuxClKey_Generation_t
Key generation type.
Definition mcuxClKey_Types.h:225
struct mcuxClKey_TypeDescriptor mcuxClKey_TypeDescriptor_t
Key type descriptor type.
Definition mcuxClKey_Types.h:104
mcuxClKey_Descriptor_t *const mcuxClKey_Handle_t
Key handle type.
Definition mcuxClKey_Types.h:88
#define MCUX_CSSL_FP_PROTECTED_TYPE(resultType)
Based on a given base type, builds a return type with flow protection.
Definition mcuxCsslFlowProtection.h:81