NXP Reader Library  v17.1.0.2535
Component : Software

Software implementation of the Symmetric Cryptography interface. More...

Collaboration diagram for Component : Software:

Modules

 Cipher : AES
 Software implementation of the AES algorithm.
 
 Cipher : DES
 Software implementation of the DES algorithm.
 
 Internals
 Internal Functions of the Symmetric Cryptography component.
 
 Compile Switch
 Compile switches used to find the optimum trade-off between performance, memory footprint and supported features.
 

Data Structures

struct  phCryptoSym_Sw_DataParams_t
 Data structure for Symmetric Crypto Software layer implementation. More...
 

Functions

phStatus_t phCryptoSym_Sw_Init (phCryptoSym_Sw_DataParams_t *pDataParams, uint16_t wSizeOfDataParams, void *pKeyStoreDataParams)
 Initialize the CryptoSym with Software as sub-component. More...
 

Detailed Description

Software implementation of the Symmetric Cryptography interface.

This implementation was designed to optimize the footprint of crypto libraries used in embedded systems. The following standards are implemented:

Hints for compiling the library:

Architecture of the Software Component:

Function Documentation

◆ phCryptoSym_Sw_Init()

phStatus_t phCryptoSym_Sw_Init ( phCryptoSym_Sw_DataParams_t pDataParams,
uint16_t  wSizeOfDataParams,
void *  pKeyStoreDataParams 
)

Initialize the CryptoSym with Software as sub-component.

Returns
Status code
Return values
PH_ERR_SUCCESSOperation successful.
PH_ERR_INVALID_DATA_PARAMS
  • If the input size do not match the DataParams size of this component.
  • If any of the DataParams are null.
Parameters
[in]pDataParams[In] Pointer to this layer's parameter structure.
[in]wSizeOfDataParams[In] Specifies the size of the data parameter structure.
[in]pKeyStoreDataParams[In] Pointer to a key store structure (can be null).