mBedTLS Sub-Component ASymmetric Cryptography library.
More...
mBedTLS Sub-Component ASymmetric Cryptography library.
◆ phCryptoASym_mBedTLS_Init()
Initialize the CryptoASym with mBedTLS as sub-component.
- Returns
- Status code
- Return values
-
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlying component. |
- 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). |
| [in] | pBuffer | [In] Size of global buffer. This buffer is for processing information internally. Should not be less than the default specified one (which is 256 bytes). |
| [in] | wBufferSize | [In] Size of bytes allocated for pBuffer parameter. |
◆ phCryptoASym_mBedTLS_DeInit()
De-Initialize the CryptoASym with mBedTLS as sub-component.
- Note
- Its must to call this interface to De-Initialize any used global context from other libraries. If not called, there might be unusual behavior for the next executions.
- Returns
- Status code
- Return values
-
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlying component. |
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |