36 #ifndef MCUXCLCSS_KEYMANAGEMENT_H_ 37 #define MCUXCLCSS_KEYMANAGEMENT_H_ 59 #define MCUXCLCSS_KEYIMPORT_VALUE_KFMT_UDF ((uint32_t) 0u<< 6u) 60 #define MCUXCLCSS_KEYIMPORT_VALUE_KFMT_RFC3394 ((uint32_t) 1u<< 6u) 61 #define MCUXCLCSS_KEYIMPORT_VALUE_KFMT_PUF ((uint32_t) 2u<< 6u) 74 #define MCUXCLCSS_KEYIMPORT_KFMT_UDF ((uint32_t) 0x00u) 75 #define MCUXCLCSS_KEYIMPORT_KFMT_RFC3394 ((uint32_t) 0x01u) 76 #define MCUXCLCSS_KEYIMPORT_KFMT_PUF ((uint32_t) 0x02u) 78 #define MCUXCLCSS_RFC3394_OVERHEAD ((size_t) 16u) 90 #define MCUXCLCSS_RFC3394_CONTAINER_SIZE_128 ((size_t) 256u/8u) 91 #define MCUXCLCSS_RFC3394_CONTAINER_SIZE_256 ((size_t) 384u/8u) 210 uint8_t
const * pImportKey,
211 size_t importKeyLength,
#define MCUXCLCSS_API
Marks a function as a public API function of the mcuxClCss component.
Definition: mcuxClCss_Common.h:40
uint32_t value
Accesses the bit field as a full word; initialize with a combination of constants from MCUXCLCSS_KEYI...
Definition: mcuxClCss_KeyManagement.h:121
Type for CSS key store key properties.
Definition: mcuxClCss_Types.h:196
uint8_t mcuxClCss_KeyIndex_t
Type for CSS keystore indices.
Definition: mcuxClCss_Types.h:193
MCUXCLCSS_API mcuxClCss_Status_Protected_t mcuxClCss_KeyDelete_Async(mcuxClCss_KeyIndex_t keyIdx)
Deletes a key from keystore at the given index.
CSSv2 header for common functionality.
uint32_t revf
This field is managed internally.
Definition: mcuxClCss_KeyManagement.h:126
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.
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.
Command option bit field for mcuxClCss_KeyImport_Async.
Definition: mcuxClCss_KeyManagement.h:117
uint32_t kfmt
Defines the key import format, one of MCUXCLCSS_KEYIMPORT_KFMT_.
Definition: mcuxClCss_KeyManagement.h:128
#define MCUX_CSSL_FP_FUNCTION_DECL(id)
Declaration of a flow protected function.
Definition: mcuxCsslFlowProtection.h:119
uint64_t mcuxClCss_Status_Protected_t
Type for CSS driver protected status codes.
Definition: mcuxClCss_Types.h:183
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.