40#ifndef MCUXCLOSCCASM2_FUNCTIONS_H_
41#define MCUXCLOSCCASM2_FUNCTIONS_H_
45#include <mcuxClConfig.h>
46#include <mcuxClCore_Platform.h>
52#ifdef MCUXCL_FEATURE_SM2_CIPHER
72#ifdef MCUXCL_FEATURE_SM2_INTERNAL
74#ifdef MCUXCL_FEATURE_SM2_KEYGEN
103#ifdef MCUXCL_FEATURE_SM2_CIPHER
116 uint32_t *
const pOutLength,
122#ifdef MCUXCL_FEATURE_SM2_KEYAGREEMENT
126 mcuxClKey_Agreement_t agreement,
129 mcuxClKey_Agreement_AdditionalInput_t additionalInputs[],
130 uint32_t numberOfInputs,
132 uint32_t *
const pOutLength
138 mcuxClKey_Agreement_t agreement
148 uint16_t identifierSize,
150 uint32_t *
const prehashSize
Top-level include file for the mcuxClBuffer component.
Type definitions for the mcuxClCipher component.
Type definitions for the mcuxClKey component.
Type definitions of mcuxClOsccaSm2 component.
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.
const uint8_t * mcuxCl_InputBuffer_t
Input buffer type.
Definition mcuxClBuffer_Pointer.h:58
uint8_t * mcuxCl_Buffer_t
Input/output buffer type.
Definition mcuxClBuffer_Pointer.h:67
struct mcuxClCipher_Context mcuxClCipher_Context_t
Cipher context type.
Definition mcuxClCipher_Types.h:120
const mcuxClCipher_ModeDescriptor_t *const mcuxClCipher_Mode_t
Cipher mode/algorithm type.
Definition mcuxClCipher_Types.h:81
uint32_t mcuxClCipher_Status_t
Cipher status code.
Definition mcuxClCipher_Types.h:128
uint32_t mcuxClKey_Status_t
Type for Key component error codes.
Definition mcuxClKey_Types.h:67
const mcuxClKey_GenerationDescriptor_t *const mcuxClKey_Generation_t
Key generation type.
Definition mcuxClKey_Types.h:245
mcuxClKey_Descriptor_t *const mcuxClKey_Handle_t
Key handle type.
Definition mcuxClKey_Types.h:108
uint32_t mcuxClOsccaSm2_Status_t
Type for SM2 status codes.
Definition mcuxClOsccaSm2_Types.h:69
mcuxClSession_Descriptor_t *const mcuxClSession_Handle_t
Type for mcuxClSession Handle.
Definition mcuxClSession_Types.h:133
#define MCUX_CSSL_FP_FUNCTION_DECL(...)
Declaration of a flow protected function.
Definition mcuxCsslFlowProtection.h:145
#define MCUX_CSSL_FP_PROTECTED_TYPE(resultType)
Based on a given base type, builds a return type with flow protection.
Definition mcuxCsslFlowProtection.h:101