14 #ifndef MCUXCLEXAMPLE_KEY_HELPER_H_ 15 #define MCUXCLEXAMPLE_KEY_HELPER_H_ 17 #include <mcuxClConfig.h> 18 #include <mcuxClCore_Platform.h> 19 #include <mcuxClCore_Buffer.h> 36 #define MCUXCLEXAMPLE_CONST_EXTERNAL_KEY 0U 37 #define MCUXCLEXAMPLE_CONST_INTERNAL_KEY 1U 43 uint32_t keyDataLength,
46 uint8_t key_loading_option)
71 if(MCUXCLEXAMPLE_CONST_EXTERNAL_KEY == key_loading_option)
const mcuxClKey_TypeDescriptor_t * mcuxClKey_Type_t
Key type handle type.
Definition: mcuxClKey_Types.h:111
#define MCUXCLKEY_STATUS_OK
Key operation successful.
Definition: mcuxClKey_Constants.h:39
Top-level include file for the mcuxClKey component.
#define MCUX_CSSL_FP_FUNCTION_CALLED(...)
Expectation of a called function.
Definition: mcuxCsslFlowProtection.h:730
mcuxClKey_Descriptor_t *const mcuxClKey_Handle_t
Key handle type.
Definition: mcuxClKey_Types.h:88
Provides the API for the CSSL flow protection mechanism.
mcuxClKey_Status_t mcuxClKey_setKeyproperties(mcuxClKey_Handle_t key, mcuxClEls_KeyProp_t *key_properties)
Set the requested key properties of the destination key.
#define MCUX_CSSL_FP_FUNCTION_CALL_BEGIN(...)
Call a flow protected function and check the protection token.
Definition: mcuxCsslFlowProtection.h:576
#define MCUX_CSSL_FP_FUNCTION_DEF(...)
Definition of a flow protected function.
Definition: mcuxCsslFlowProtection.h:159
Top-level include file for the mcuxClSession component.
Type for ELS key store key properties.
Definition: mcuxClEls_Types.h:224
mcuxClSession_Descriptor_t *const mcuxClSession_Handle_t
Type for mcuxClSession Handle.
Definition: mcuxClSession_Types.h:133
mcuxClKey_Status_t mcuxClKey_loadMemory(mcuxClSession_Handle_t pSession, mcuxClKey_Handle_t key, uint32_t *dstData)
Load key into destination memory buffer.
Definition of function identifiers for the flow protection mechanism.
mcuxClKey_Status_t mcuxClKey_loadCopro(mcuxClSession_Handle_t pSession, mcuxClKey_Handle_t key, uint32_t dstSlot)
Load key into destination key slot of a coprocessor.
mcuxClKey_Status_t mcuxClKey_init(mcuxClSession_Handle_t pSession, mcuxClKey_Handle_t key, mcuxClKey_Type_t type, mcuxCl_InputBuffer_t pKeyData, uint32_t keyDataLength)
Initializes a key handle.
#define MCUX_CSSL_FP_FUNCTION_CALL_END(...)
End a function call section started by MCUX_CSSL_FP_FUNCTION_CALL_BEGIN.
Definition: mcuxCsslFlowProtection.h:611
uint8_t *const mcuxCl_Buffer_t
Generic buffer typeThis type provides a pointer to the memory location that can be used for both read...
Definition: mcuxClCore_Buffer.h:51