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

ELS header for key management. More...

#include <mcuxClConfig.h>
#include <mcuxClEls_Common.h>

Go to the source code of this file.

Data Structures

union  mcuxClEls_KeyImportOption_t
 Command option bit field for mcuxClEls_KeyImport_Async. More...
 

Macros

#define MCUXCLELS_KEYIMPORT_VALUE_KFMT_UDF
 Key format UDF with shares in RTL or memory.
 
#define MCUXCLELS_KEYIMPORT_VALUE_KFMT_RFC3394
 Key format RFC3394 with shares in memory.
 
#define MCUXCLELS_KEYIMPORT_VALUE_KFMT_PUF
 Key from PUF.
 
#define MCUXCLELS_KEYIMPORT_KFMT_UDF
 Key format UDF with shares in RTL or memory.
 
#define MCUXCLELS_KEYIMPORT_KFMT_RFC3394
 Key format RFC3394 with shares in memory.
 
#define MCUXCLELS_KEYIMPORT_KFMT_PUF
 Key from PUF.
 
#define MCUXCLELS_RFC3394_OVERHEAD
 Overhead between RFC3394 blob and key size.
 
#define MCUXCLELS_RFC3394_CONTAINER_SIZE_128
 Size of RFC3394 container for 128 bit key.
 
#define MCUXCLELS_RFC3394_CONTAINER_SIZE_256
 Size of RFC3394 container for 256 bit key.
 

Functions

MCUXCLELS_API mcuxClEls_Status_t mcuxClEls_KeyDelete_Async (mcuxClEls_KeyIndex_t keyIdx)
 Deletes a key from keystore at the given index.
 
MCUXCLELS_API mcuxClEls_Status_t mcuxClEls_KeyImport_Async (mcuxClEls_KeyImportOption_t options, uint8_t const *pImportKey, size_t importKeyLength, mcuxClEls_KeyIndex_t wrappingKeyIdx, mcuxClEls_KeyIndex_t targetKeyIdx)
 Imports a key from external storage to an internal key register.
 
MCUXCLELS_API mcuxClEls_Status_t mcuxClEls_KeyExport_Async (mcuxClEls_KeyIndex_t wrappingKeyIdx, mcuxClEls_KeyIndex_t exportKeyIdx, uint8_t *pOutput)
 Exports a key from an internal key register to external storage, using a wrapping key.
 
MCUXCLELS_API mcuxClEls_Status_t mcuxClEls_GetKeyProperties (mcuxClEls_KeyIndex_t keyIdx, mcuxClEls_KeyProp_t *pKeyProp)
 Exports the properties of the keys stored in the ELS internal keystore.
 

Detailed Description

ELS header for key management.

This header exposes functions that can be used to manage the keystore of ELS. This includes:

  • Importing keys