MCUX CLNS
MCUX Crypto Library Normal Secure
mcuxClCss_KeyManagement.h File Reference

CSSv2 header for key management. More...

#include <mcuxClCss_Common.h>

Go to the source code of this file.

Data Structures

union  mcuxClCss_KeyImportOption_t
 Command option bit field for mcuxClCss_KeyImport_Async. More...
 

Macros

#define MCUXCLCSS_KEYIMPORT_VALUE_KFMT_UDF
 Key format UDF with shares in RTL or memory. More...
 
#define MCUXCLCSS_KEYIMPORT_VALUE_KFMT_RFC3394
 Key format RFC3394 with shares in memory. More...
 
#define MCUXCLCSS_KEYIMPORT_VALUE_KFMT_PUF
 Key from PUF. More...
 
#define MCUXCLCSS_KEYIMPORT_KFMT_UDF
 Key format UDF with shares in RTL or memory. More...
 
#define MCUXCLCSS_KEYIMPORT_KFMT_RFC3394
 Key format RFC3394 with shares in memory. More...
 
#define MCUXCLCSS_KEYIMPORT_KFMT_PUF
 Key from PUF. More...
 
#define MCUXCLCSS_RFC3394_OVERHEAD
 Overhead between RFC3394 blob and key size. More...
 
#define MCUXCLCSS_RFC3394_CONTAINER_SIZE_128
 Size of RFC3394 container for 128 bit key. More...
 
#define MCUXCLCSS_RFC3394_CONTAINER_SIZE_256
 Size of RFC3394 container for 256 bit key. More...
 

Functions

MCUXCLCSS_API mcuxClCss_Status_Protected_t mcuxClCss_KeyDelete_Async (mcuxClCss_KeyIndex_t keyIdx)
 Deletes a key from keystore at the given index. More...
 
MCUXCLCSS_API mcuxClCss_Status_Protected_t mcuxClCss_KeyImport_Async (mcuxClCss_KeyImportOption_t options, uint8_t const *pImportKey, size_t importKeyLength, mcuxClCss_KeyIndex_t wrappingKeyIdx, mcuxClCss_KeyIndex_t targetKeyIdx)
 Imports a key from external storage to an internal key register. More...
 
MCUXCLCSS_API mcuxClCss_Status_Protected_t mcuxClCss_KeyExport_Async (mcuxClCss_KeyIndex_t wrappingKeyIdx, mcuxClCss_KeyIndex_t exportKeyIdx, uint8_t *pOutput)
 Exports a key from an internal key register to external storage, using a wrapping key. More...
 
MCUXCLCSS_API mcuxClCss_Status_Protected_t mcuxClCss_GetKeyProperties (mcuxClCss_KeyIndex_t keyIdx, mcuxClCss_KeyProp_t *pKeyProp)
 Exports the properties of the keys stored in the CSS internal keystore. More...
 

Detailed Description

CSSv2 header for key management.

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

  • Importing keys