MCUX CLNS
MCUX Crypto Library Normal Secure
 
Loading...
Searching...
No Matches
mcuxClKey_Functions.h File Reference

Top-level API of the mcuxClKey component. More...

#include <mcuxClConfig.h>
#include <mcuxClSession.h>
#include <mcuxClSession_Types.h>
#include <mcuxClKey_Types.h>
#include <mcuxCsslFlowProtection.h>
#include <mcuxClCore_FunctionIdentifiers.h>
#include <mcuxClEls.h>

Go to the source code of this file.

Functions

mcuxClKey_Status_t mcuxClKey_init (mcuxClSession_Handle_t pSession, mcuxClKey_Handle_t key, mcuxClKey_Type_t type, const uint8_t *pKeyData, uint32_t keyDataLength)
 Initializes a key handle.
 
mcuxClKey_Status_t mcuxClKey_linkKeyPair (mcuxClSession_Handle_t pSession, mcuxClKey_Handle_t privKey, mcuxClKey_Handle_t pubKey)
 Establishes a key pair link between a private and public key handle.
 
mcuxClKey_Status_t mcuxClKey_setProtection (mcuxClSession_Handle_t pSession, mcuxClKey_Handle_t key, mcuxClKey_Protection_t protection, uint8_t *pAuxData, mcuxClKey_Handle_t parentKey)
 Configures they protection mechanism for to the given key handle.
 
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_loadMemory (mcuxClSession_Handle_t pSession, mcuxClKey_Handle_t key, uint32_t *dstData)
 Load key into destination memory buffer.
 
mcuxClKey_Status_t mcuxClKey_flush (mcuxClSession_Handle_t pSession, mcuxClKey_Handle_t key)
 Flush key from destination which can be a key slot of coprocessor or memory buffer.
 
mcuxClKey_Status_t mcuxClKey_setKeyproperties (mcuxClKey_Handle_t key, mcuxClEls_KeyProp_t *key_properties)
 Set the requested key properties of the destination key.
 

Detailed Description

Top-level API of the mcuxClKey component.

It is capable to load and flush keys into memory locations or coprocessors.