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

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... | |
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:
| phStatus_t phCryptoSym_Sw_Init | ( | phCryptoSym_Sw_DataParams_t * | pDataParams, |
| uint16_t | wSizeOfDataParams, | ||
| void * | pKeyStoreDataParams | ||
| ) |
Initialize the CryptoSym with Software as sub-component.
| PH_ERR_SUCCESS | Operation successful. |
| PH_ERR_INVALID_DATA_PARAMS |
|
| [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). |