MCUX CLNS
MCUX Crypto Library Normal Secure
Loading...
Searching...
No Matches
mcuxClKey_Types.h
Go to the documentation of this file.
1/*--------------------------------------------------------------------------*/
2/* Copyright 2020-2024, 2026 NXP */
3/* */
4/* NXP Confidential and Proprietary. This software is owned or controlled */
5/* by NXP and may only be used strictly in accordance with the applicable */
6/* license terms. By expressly accepting such terms or by downloading, */
7/* installing, activating and/or otherwise using the software, you are */
8/* agreeing that you have read, and that you agree to comply with and are */
9/* bound by, such license terms. If you do not agree to be bound by the */
10/* applicable license terms, then you may not retain, install, activate or */
11/* otherwise use the software. */
12/*--------------------------------------------------------------------------*/
13
18
19#ifndef MCUXCLKEY_TYPES_H_
20#define MCUXCLKEY_TYPES_H_
21
22#include <mcuxClCore_Platform.h>
23#include <mcuxCsslAnalysis.h>
26#include <mcuxClBuffer.h>
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
32/**********************************************
33 * TYPEDEFS
34 **********************************************/
41
45typedef uint32_t mcuxClKey_Status_t;
46
50typedef uint32_t mcuxClKey_AlgorithmId_t;
51
55typedef uint32_t mcuxClKey_Size_t;
56
61
66
67/* Forward declaration */
68struct mcuxClKey_Encoding;
69
76struct mcuxClKey_Descriptor;
77
84typedef struct mcuxClKey_Descriptor mcuxClKey_Descriptor_t;
85
92
99struct mcuxClKey_TypeDescriptor;
100
107typedef struct mcuxClKey_TypeDescriptor mcuxClKey_TypeDescriptor_t;
108
115
122
129struct mcuxClKey_EncodingDescriptor;
130
137typedef struct mcuxClKey_EncodingDescriptor mcuxClKey_EncodingDescriptor_t;
138
145
151 uint32_t size;
152};
153
154typedef struct mcuxClKey_Agreement_AdditionalInput mcuxClKey_Agreement_AdditionalInput_t;
155
162struct mcuxClKey_AgreementDescriptor;
163
170typedef struct mcuxClKey_AgreementDescriptor mcuxClKey_AgreementDescriptor_t;
171
178
179
186struct mcuxClKey_GenerationDescriptor;
187
194typedef struct mcuxClKey_GenerationDescriptor mcuxClKey_GenerationDescriptor_t;
195
202
203
207struct mcuxClKey_ValidationDescriptor;
208
212typedef struct mcuxClKey_ValidationDescriptor mcuxClKey_ValidationDescriptor_t;
213
218 /* mcuxClKey_Types */
222
223#ifdef __cplusplus
224} /* extern "C" */
225#endif
226
227#endif /* MCUXCLKEY_TYPES_H_ */
Top-level include file for the mcuxClBuffer component.
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:38
struct mcuxClKey_AgreementDescriptor mcuxClKey_AgreementDescriptor_t
Key agreement descriptor type.
Definition mcuxClKey_Types.h:170
const mcuxClKey_ValidationDescriptor_t *const mcuxClKey_Validation_t
Generic key validation type.
Definition mcuxClKey_Types.h:217
mcuxClKey_Status_t mcuxClKey_Status_Encoded_t
Deprecated type for Key component error codes, returned by functions with code-flow protection.
Definition mcuxClKey_Types.h:65
struct mcuxClKey_Descriptor mcuxClKey_Descriptor_t
Key descriptor type.
Definition mcuxClKey_Types.h:84
const mcuxClKey_EncodingDescriptor_t * mcuxClKey_Encoding_t
Key encoding mechanism type.
Definition mcuxClKey_Types.h:144
struct mcuxClKey_EncodingDescriptor mcuxClKey_EncodingDescriptor_t
Key encoding mechanism descriptor type.
Definition mcuxClKey_Types.h:137
mcuxClKey_TypeDescriptor_t * mcuxClKey_CustomType_t
Custom key type handle type.
Definition mcuxClKey_Types.h:121
uint32_t mcuxClKey_Encoding_Spec_t
Type for encoding based key id.
Definition mcuxClKey_Types.h:60
uint32_t mcuxClKey_Size_t
Type for algorithm based key size.
Definition mcuxClKey_Types.h:55
const mcuxClKey_TypeDescriptor_t * mcuxClKey_Type_t
Key type handle type.
Definition mcuxClKey_Types.h:114
uint32_t mcuxClKey_Status_t
Type for Key component error codes.
Definition mcuxClKey_Types.h:45
struct mcuxClKey_GenerationDescriptor mcuxClKey_GenerationDescriptor_t
Key generation descriptor type.
Definition mcuxClKey_Types.h:194
const mcuxClKey_GenerationDescriptor_t *const mcuxClKey_Generation_t
Key generation type.
Definition mcuxClKey_Types.h:201
const mcuxClKey_AgreementDescriptor_t *const mcuxClKey_Agreement_t
Key agreement type.
Definition mcuxClKey_Types.h:177
struct mcuxClKey_ValidationDescriptor mcuxClKey_ValidationDescriptor_t
Generic key validation descriptor type.
Definition mcuxClKey_Types.h:212
struct mcuxClKey_TypeDescriptor mcuxClKey_TypeDescriptor_t
Key type descriptor type.
Definition mcuxClKey_Types.h:107
uint32_t mcuxClKey_AlgorithmId_t
Type for algorithm based key id.
Definition mcuxClKey_Types.h:50
mcuxClKey_Descriptor_t *const mcuxClKey_Handle_t
Key handle type.
Definition mcuxClKey_Types.h:91
#define MCUX_CSSL_FP_PROTECTED_TYPE(resultType)
Based on a given base type, builds a return type with flow protection.
Definition mcuxCsslFlowProtection.h:138
Key agreement additional input pointers.
Definition mcuxClKey_Types.h:149