NXP Reader Library  v17.1.0.2535
Component : mbedTLS

mBedTLS Sub-Component ASymmetric Cryptography library. More...

Collaboration diagram for Component : mbedTLS:

Data Structures

struct  phCryptoASym_mBedTLS_ECC_KeyPair
 Data Structure to save details of ECC KeyPair information. More...
 
struct  phCryptoASym_mBedTLS_DataParams_t
 Data structure for ASymmetric Crypto mBedTLS layer implementation. More...
 

Functions

phStatus_t phCryptoASym_mBedTLS_Init (phCryptoASym_mBedTLS_DataParams_t *pDataParams, uint16_t wSizeOfDataParams, void *pKeyStoreDataParams, uint8_t *pBuffer, uint16_t wBufferSize)
 Initialize the CryptoASym with mBedTLS as sub-component. More...
 
phStatus_t phCryptoASym_mBedTLS_DeInit (phCryptoASym_mBedTLS_DataParams_t *pDataParams)
 De-Initialize the CryptoASym with mBedTLS as sub-component. More...
 

Detailed Description

mBedTLS Sub-Component ASymmetric Cryptography library.

Function Documentation

◆ phCryptoASym_mBedTLS_Init()

phStatus_t phCryptoASym_mBedTLS_Init ( phCryptoASym_mBedTLS_DataParams_t pDataParams,
uint16_t  wSizeOfDataParams,
void *  pKeyStoreDataParams,
uint8_t pBuffer,
uint16_t  wBufferSize 
)

Initialize the CryptoASym with mBedTLS as sub-component.

Returns
Status code
Return values
PH_ERR_SUCCESSOperation successful.
OtherDepending 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()

phStatus_t phCryptoASym_mBedTLS_DeInit ( phCryptoASym_mBedTLS_DataParams_t pDataParams)

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_SUCCESSOperation successful.
OtherDepending on implementation and underlying component.
Parameters
[in]pDataParams[In] Pointer to this layer's parameter structure.