NXP Reader Library  v17.1.0.2535
Component : Software

KeyStore implementation in Software. More...

Collaboration diagram for Component : Software:

Data Structures

struct  phKeyStore_Sw_KeyVersionPair_t
 Software KeyVersionPair structure for Symmetric and ASymmetric keys. More...
 
struct  phKeyStore_Sw_KeyEntry_t
 Software KeyEntry structure. More...
 
struct  phKeyStore_Sw_KUCEntry_t
 Software KeyUsageCounter structure. More...
 
struct  phKeyStore_Sw_DataParams_t
 Software parameter structure. More...
 

Macros

#define PH_KEYSTORE_SW_MAX_KEY_SIZE   48U
 Maximum size of a Symmetric and ASymetric Key.
 
#define PH_KEYSTORE_MAX_KEY_SIZE   PH_KEYSTORE_SW_MAX_KEY_SIZE
 Maximum size of a Symmetric and ASymetric Key.
 

Functions

phStatus_t phKeyStore_Sw_Init (phKeyStore_Sw_DataParams_t *pDataParams, uint16_t wSizeOfDataParams, phKeyStore_Sw_KeyEntry_t *pKeyEntries, uint16_t wNoOfKeyEntries, phKeyStore_Sw_KeyVersionPair_t *pKeyVersionPairs, uint16_t wNoOfVersionPairs, phKeyStore_Sw_KUCEntry_t *pKUCEntries, uint16_t wNoOfKUCEntries)
 Initializes the KeyStore component as software component. More...
 

Detailed Description

KeyStore implementation in Software.

Function Documentation

◆ phKeyStore_Sw_Init()

phStatus_t phKeyStore_Sw_Init ( phKeyStore_Sw_DataParams_t pDataParams,
uint16_t  wSizeOfDataParams,
phKeyStore_Sw_KeyEntry_t pKeyEntries,
uint16_t  wNoOfKeyEntries,
phKeyStore_Sw_KeyVersionPair_t pKeyVersionPairs,
uint16_t  wNoOfVersionPairs,
phKeyStore_Sw_KUCEntry_t pKUCEntries,
uint16_t  wNoOfKUCEntries 
)

Initializes the KeyStore component as software component.

Returns
Status code
Return values
PH_ERR_SUCCESSOperation successful.
Parameters
[in]pDataParams[In] Pointer to this layer's parameter structure.
[in]wSizeOfDataParams[In] Specifies the size of the data parameter structure.
[in]pKeyEntries[In] Pointer to a storage containing the key entries.
[in]wNoOfKeyEntries[In] Size of pKeyEntries.
[in]pKeyVersionPairs[In] Pointer to a storage containing the key version pairs.
[in]wNoOfVersionPairs[In] Amount of key versions available in each key entry.
pKUCEntriesKey usage counter entry storage, size = sizeof(KUC Entry) * wNoOfKUCEntries.
[in]wNoOfKUCEntries[In] Number of Key usage counter entries.