20#ifndef MCUXCLOSCCASM2_FUNCTIONS_H_
21#define MCUXCLOSCCASM2_FUNCTIONS_H_
25#include <mcuxClConfig.h>
26#include <mcuxClCore_Platform.h>
32#ifdef MCUXCL_FEATURE_SM2_CIPHER
46#ifdef MCUXCL_FEATURE_SM2_INTERNAL
48#ifdef MCUXCL_FEATURE_SM2_KEYGEN
77#ifdef MCUXCL_FEATURE_SM2_CIPHER
90 uint32_t *
const pOutLength,
96#ifdef MCUXCL_FEATURE_SM2_KEYAGREEMENT
100 mcuxClKey_Agreement_t agreement,
103 mcuxClKey_Agreement_AdditionalInput_t additionalInputs[],
104 uint32_t numberOfInputs,
106 uint32_t *
const pOutLength
112 mcuxClKey_Agreement_t agreement
122 uint16_t identifierSize,
124 uint32_t *
const prehashSize
Provides the API for the CL buffer types.
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:46
uint8_t * mcuxCl_Buffer_t
Input/output buffer type.
Definition mcuxClBuffer_Pointer.h:55
struct mcuxClCipher_Context mcuxClCipher_Context_t
Cipher context type.
Definition mcuxClCipher_Types.h:100
const mcuxClCipher_ModeDescriptor_t *const mcuxClCipher_Mode_t
Cipher mode/algorithm type.
Definition mcuxClCipher_Types.h:61
uint32_t mcuxClCipher_Status_t
Cipher status code.
Definition mcuxClCipher_Types.h:108
uint32_t mcuxClKey_Status_t
Type for Key component error codes.
Definition mcuxClKey_Types.h:47
const mcuxClKey_GenerationDescriptor_t *const mcuxClKey_Generation_t
Key generation type.
Definition mcuxClKey_Types.h:225
mcuxClKey_Descriptor_t *const mcuxClKey_Handle_t
Key handle type.
Definition mcuxClKey_Types.h:88
uint32_t mcuxClOsccaSm2_Status_t
Type for SM2 status codes.
Definition mcuxClOsccaSm2_Types.h:49
mcuxClSession_Descriptor_t *const mcuxClSession_Handle_t
Type for mcuxClSession Handle.
Definition mcuxClSession_Types.h:113
#define MCUX_CSSL_FP_FUNCTION_DECL(...)
Declaration of a flow protected function.
Definition mcuxCsslFlowProtection.h:125
#define MCUX_CSSL_FP_PROTECTED_TYPE(resultType)
Based on a given base type, builds a return type with flow protection.
Definition mcuxCsslFlowProtection.h:81