This is only a wrapper layer to abstract the different CryptoSym implementations. With this wrapper it is possible to support more than one CryptoSym implementation in parallel, by adapting this wrapper. More...

Modules | |
| Component : Software | |
| Software implementation of the Symmetric Cryptography interface. | |
| Component : Stub | |
| Initialize the CryptoSym with Stub as sub-component. | |
| Component : mBedTLS | |
| Initialize the CryptoSym with mBedTLS as sub-component. | |
| Defines | |
| These are common definitions for most of the Crypto commands. | |
Functions | |
| phStatus_t | phCryptoSym_InvalidateKey (void *pDataParams) |
| Invalidate the currently loaded key. More... | |
| phStatus_t | phCryptoSym_Encrypt (void *pDataParams, uint16_t wOption, const uint8_t *pPlainBuffer, uint16_t wBufferLength, uint8_t *pEncryptedBuffer) |
| Perform Encryption with one of the supported crypto modes. More... | |
| phStatus_t | phCryptoSym_Decrypt (void *pDataParams, uint16_t wOption, uint8_t *pEncryptedBuffer, uint16_t wBufferLength, uint8_t *pPlainBuffer) |
| Perform Decryption with one of the supported crypto modes. More... | |
| phStatus_t | phCryptoSym_Decrypt_VariableIV (void *pDataParams, uint16_t wOption, uint8_t *pIv, uint8_t wIvSize, const uint8_t *pEncryptedBuffer, uint16_t wBufferLength, uint8_t *pPlainBuffer) |
| Perform Decryption with one of the supported crypto modes. More... | |
| phStatus_t | phCryptoSym_CalculateMac (void *pDataParams, uint16_t wOption, const uint8_t *pData, uint16_t wDataLength, uint8_t *pMac, uint8_t *pMacLength) |
| Calculate MAC with one of the supported MAC modes. More... | |
| phStatus_t | phCryptoSym_LoadIv (void *pDataParams, const uint8_t *pIV, uint8_t bIVLength) |
| Load Initialization vector. More... | |
| phStatus_t | phCryptoSym_LoadNonce (void *pDataParams, uint8_t bCipher, const uint8_t *pNonce, uint8_t bNonceLen) |
| Load Initialization vector (Nonce). More... | |
| phStatus_t | phCryptoSym_LoadAdditionalData (void *pDataParams, const uint8_t *pAddData, uint16_t wAddData_Len) |
| Load Additional Data Field. More... | |
| phStatus_t | phCryptoSym_LoadKey (void *pDataParams, uint16_t wKeyNo, uint16_t wKeyVersion, uint16_t wKeyType) |
| Load Key. More... | |
| phStatus_t | phCryptoSym_LoadKeyDirect (void *pDataParams, const uint8_t *pKey, uint16_t wKeyType) |
| Direct Load Key. More... | |
| phStatus_t | phCryptoSym_DiversifyKey (void *pDataParams, uint16_t wOption, uint16_t wKeyNo, uint16_t wKeyVersion, uint8_t *pDivInput, uint8_t bLenDivInput, uint8_t *pDiversifiedKey) |
| Diversify Key - Note: This function invalidates the currently loaded key. More... | |
| phStatus_t | phCryptoSym_DiversifyDirectKey (void *pDataParams, uint16_t wOption, uint8_t *pKey, uint16_t wKeyType, uint8_t *pDivInput, uint8_t bLenDivInput, uint8_t *pDiversifiedKey) |
| Diversify Direct Key - Note: This function invalidates the currently loaded key. More... | |
| phStatus_t | phCryptoSym_ApplyPadding (uint8_t bOption, const uint8_t *pDataIn, uint16_t wDataInLength, uint8_t bBlockSize, uint16_t wDataOutBufSize, uint8_t *pDataOut, uint16_t *pDataOutLength) |
| Apply Padding to a given data buffer. More... | |
| phStatus_t | phCryptoSym_RemovePadding (uint8_t bOption, const uint8_t *pDataIn, uint16_t wDataInLength, uint8_t bBlockSize, uint16_t wDataOutBufSize, uint8_t *pDataOut, uint16_t *pDataOutLength) |
| Remove Padding to a given data buffer. More... | |
| phStatus_t | phCryptoSym_SetConfig (void *pDataParams, uint16_t wConfig, uint16_t wValue) |
| Set configuration parameter. More... | |
| phStatus_t | phCryptoSym_GetConfig (void *pDataParams, uint16_t wConfig, uint16_t *pValue) |
| Get configuration parameter. More... | |
| phStatus_t | phCryptoSym_SetAuthenticationTag (void *pDataParams, const uint8_t *pTag, uint8_t bTag_Len) |
| Load Authentication Tag information. More... | |
| phStatus_t | phCryptoSym_GetAuthenticationTag (void *pDataParams, uint8_t *pTag, uint8_t *pTag_Len) |
| Get Authentication Tag information. More... | |
| phStatus_t | phCryptoSym_GetLastStatus (void *pDataParams, uint16_t wStatusMsgLen, int8_t *pStatusMsg, int32_t *pStatusCode) |
| Returns the status code and respective message. More... | |
| uint16_t | phCryptoSym_GetKeySize (uint16_t wKeyType) |
| Gets the size of the key. More... | |
This is only a wrapper layer to abstract the different CryptoSym implementations. With this wrapper it is possible to support more than one CryptoSym implementation in parallel, by adapting this wrapper.
Important hints for users of this component:
| phStatus_t phCryptoSym_InvalidateKey | ( | void * | pDataParams | ) |
Invalidate the currently loaded key.
Resets the key, the IV, the keep IV flag and the key Type.
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlying component. |
| [in] | pDataParams | [In] Pointer to this layer's parameter structure |
| phStatus_t phCryptoSym_Encrypt | ( | void * | pDataParams, |
| uint16_t | wOption, | ||
| const uint8_t * | pPlainBuffer, | ||
| uint16_t | wBufferLength, | ||
| uint8_t * | pEncryptedBuffer | ||
| ) |
Perform Encryption with one of the supported crypto modes.
The wOption word specifies the operation mode to use, Authentication Tag information for Encryption and the update behavior of the IV.
| PH_ERR_SUCCESS | Operation successful. |
| PH_ERR_INVALID_DATA_PARAMS |
|
| PH_ERR_INVALID_PARAMETER | An unsupported key is loaded (or no key is loaded) or wBufferLength is not a multiple of the current block size. |
| PH_ERR_UNSUPPORTED_PARAMETER | An unknown cipher option wOption is specified. |
| Other | Depending on implementation and underlying component. |
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | wOption | [In] Option byte specifying the cipher mode and the update behavior of the IV. Refer description for usage of this parameter. |
| [in] | pPlainBuffer | [In] Plain data buffer.
|
| [in] | wBufferLength | [In] Length of plain and encrypted data buffer - needs to be a multiple of the current block size |
| [out] | pEncryptedBuffer | [Out] Encrypted data buffer.
|
| phStatus_t phCryptoSym_Decrypt | ( | void * | pDataParams, |
| uint16_t | wOption, | ||
| uint8_t * | pEncryptedBuffer, | ||
| uint16_t | wBufferLength, | ||
| uint8_t * | pPlainBuffer | ||
| ) |
Perform Decryption with one of the supported crypto modes.
The wOption word specifies the operation mode to use, Authentication Tag information for Encryption and the update behavior of the IV.
| PH_ERR_SUCCESS | Operation successful. |
| PH_ERR_INVALID_DATA_PARAMS |
|
| PH_ERR_INVALID_PARAMETER | An unsupported key is loaded (or no key is loaded) or wBufferLength is not a multiple of the current block size. |
| PH_ERR_UNSUPPORTED_PARAMETER | An unknown cipher option wOption is specified. |
| Other | Depending on implementation and underlying component. |
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | wOption | [In] Option byte specifying the cipher mode and the update behavior of the IV. Refer description for usage of this parameter. |
| [in] | pEncryptedBuffer | [In] Encrypted data buffer.
|
| [in] | wBufferLength | [In] Length of plain and encrypted data buffer - needs to be a multiple of the current block size. |
| [out] | pPlainBuffer | [Out] Plain data buffer.
|
| phStatus_t phCryptoSym_Decrypt_VariableIV | ( | void * | pDataParams, |
| uint16_t | wOption, | ||
| uint8_t * | pIv, | ||
| uint8_t | wIvSize, | ||
| const uint8_t * | pEncryptedBuffer, | ||
| uint16_t | wBufferLength, | ||
| uint8_t * | pPlainBuffer | ||
| ) |
Perform Decryption with one of the supported crypto modes.
The option word specifies the operation mode to use and the update behavior of the IV. All modes of operation are coded in the LSB, the flags in the MSB.
Note: The input data length needs to be a multiple of the current block size
| PH_ERR_SUCCESS | Operation successful. |
| PH_ERR_INVALID_DATA_PARAMS |
|
| PH_ERR_INVALID_PARAMETER | An unsupported key is loaded (or no key is loaded) or wBufferLength is not a multiple of the current block size. |
| PH_ERR_UNSUPPORTED_PARAMETER | An unknown cipher option wOption is specified. |
| Other | Depending on implementation and underlying component. |
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | wOption | [In] Option byte specifying the cipher mode and the update behavior of the IV. |
| [in] | pIv | [In] The IV information to be used while decrypting the information. |
| [in] | wIvSize | [In] Length of bytes available in IV buffer. |
| [in] | pEncryptedBuffer | [In] Encrypted data buffer |
| [in] | wBufferLength | [In] Length of plain and encrypted data buffer - needs to be a multiple of the current block size |
| [out] | pPlainBuffer | [Out] Plain data buffer |
| phStatus_t phCryptoSym_CalculateMac | ( | void * | pDataParams, |
| uint16_t | wOption, | ||
| const uint8_t * | pData, | ||
| uint16_t | wDataLength, | ||
| uint8_t * | pMac, | ||
| uint8_t * | pMacLength | ||
| ) |
Calculate MAC with one of the supported MAC modes.
The option word specifies the MAC mode to use and the update behavior of the IV as well as the completion behavior. All modes of operation are coded in the LSB, the flags in the MSB.
Note: If PH_EXCHANGE_BUFFERED_BIT is set, the input length needs to be a multiple of the block length!
| PH_ERR_SUCCESS | Operation successful. |
| PH_ERR_INVALID_DATA_PARAMS |
|
| PH_ERR_INVALID_PARAMETER | An unsupported key is loaded (or no key is loaded) or wDataLength is not a multiple of the current block size and the option PH_EXCHANGE_BUFFERED_BIT is set. |
| PH_ERR_UNSUPPORTED_PARAMETER | An unknown mac option wOption is specified. |
| Other | Depending on implementation and underlying component. |
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | wOption | [In] Option byte specifying the MAC mode and the update behavior of the IV and the completion flag. |
| [in] | pData | [In] Input data on which the MAC needs to be computed. Input will be always be in multiple of current block size if wOption is |
| [in] | wDataLength | [In] number of input data bytes |
| [out] | pMac | [Out] Output MAC block; uint8_t[16] |
| [out] | pMacLength | [Out] Length of MAC |
| phStatus_t phCryptoSym_LoadIv | ( | void * | pDataParams, |
| const uint8_t * | pIV, | ||
| uint8_t | bIVLength | ||
| ) |
Load Initialization vector.
| PH_ERR_SUCCESS | Operation successful. |
| PH_ERR_INVALID_DATA_PARAMS |
|
| PH_ERR_INVALID_PARAMETER | bIVLength does not match the current block size. |
| Other | Depending on implementation and underlying component. |
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | pIV | [In] Initialization vector to use. Should of current block size. |
| [in] | bIVLength | [In] Length of bytes available in pIV buffer. |
| phStatus_t phCryptoSym_LoadNonce | ( | void * | pDataParams, |
| uint8_t | bCipher, | ||
| const uint8_t * | pNonce, | ||
| uint8_t | bNonceLen | ||
| ) |
Load Initialization vector (Nonce).
Can be used for below cipher modes
| PH_ERR_SUCCESS | Operation successful. |
| PH_ERR_INVALID_DATA_PARAMS |
|
| PH_ERR_INVALID_PARAMETER |
|
| Other | Depending on implementation and underlying component. |
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | bCipher | [In] One of the cipher modes mentioned in the description. |
| [in] | pNonce | [In] Initialization vector to use. Should based on cipher mode. |
| [in] | bNonceLen | [In] Length of bytes available in pNonce buffer. |
| phStatus_t phCryptoSym_LoadAdditionalData | ( | void * | pDataParams, |
| const uint8_t * | pAddData, | ||
| uint16_t | wAddData_Len | ||
| ) |
Load Additional Data Field.
This will be used by Encrypt and Decrypt when Cipher Mode is CCM and CCM*.
| PH_ERR_SUCCESS | Operation successful. |
| PH_ERR_INVALID_DATA_PARAMS |
|
| PH_ERR_INVALID_PARAMETER | pAddData is Null |
| PH_ERR_PARAMETER_SIZE | wAddData_Len is higher than the maximum allowed one. |
| Other | Depending on implementation and underlying component. |
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | pAddData | [In] Additional Data to use for CCM cipher mode. |
| [in] | wAddData_Len | [In] Length of bytes available in pAddData buffer. Maximum size should be less than 2^16 - 2^8 = 65280. |
| phStatus_t phCryptoSym_LoadKey | ( | void * | pDataParams, |
| uint16_t | wKeyNo, | ||
| uint16_t | wKeyVersion, | ||
| uint16_t | wKeyType | ||
| ) |
Load Key.
This function uses the key storage provided at component initialization to retrieve the key identified by wKeyNo and wKeyVersion. After retrieving the key is loaded into the internal key storage array to be prepared for subsequent cipher operations.
| PH_ERR_SUCCESS | Operation successful. |
| PH_ERR_INVALID_DATA_PARAMS |
|
| PH_ERR_UNSUPPORTED_PARAMETER | Key Type not supported. |
| Other | Depending on implementation and underlying component. |
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | wKeyNo | [In] Key number in KeyStore to be loaded. |
| [in] | wKeyVersion | [In] Key Version in KeyStore to be loaded. |
| [in] | wKeyType | [In] Type of Key to be loaded. Supported ones are |
| phStatus_t phCryptoSym_LoadKeyDirect | ( | void * | pDataParams, |
| const uint8_t * | pKey, | ||
| uint16_t | wKeyType | ||
| ) |
Direct Load Key.
The key provided in the pKey parameter is loaded into the internal key storage array to be prepared for subsequent cipher operations.
| PH_ERR_SUCCESS | Operation successful. |
| PH_ERR_INVALID_DATA_PARAMS |
|
| PH_ERR_UNSUPPORTED_PARAMETER | Key Type not supported. |
| Other | Depending on implementation and underlying component. |
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | pKey | [In] Key to be loaded. Number of bytes should be based on the key type mentioned in wKeyType parameter. |
| [in] | wKeyType | [In] Type of Key to be loaded. Supported ones are |
| phStatus_t phCryptoSym_DiversifyKey | ( | void * | pDataParams, |
| uint16_t | wOption, | ||
| uint16_t | wKeyNo, | ||
| uint16_t | wKeyVersion, | ||
| uint8_t * | pDivInput, | ||
| uint8_t | bLenDivInput, | ||
| uint8_t * | pDiversifiedKey | ||
| ) |
Diversify Key - Note: This function invalidates the currently loaded key.
Using the key stored in the KeyStore passed at initialization of the component and identified by wKeyNo and wKeyVersion this function calculates a diversified key according to the wOption specified that can be used in different applications.
| PH_ERR_SUCCESS | Operation successful. |
| PH_ERR_INVALID_DATA_PARAMS |
|
| PH_ERR_UNSUPPORTED_PARAMETER | Key Type not supported (for key diversification). |
| PH_ERR_LENGTH_ERROR | Length of diversification input is wrong. |
| Other | Depending on implementation and underlying component. |
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | wOption | [In] Option to specify the diversification method. One of the below mentioned information.
|
| [in] | wKeyNo | [In] Key number in KeyStore to be loaded |
| [in] | wKeyVersion | [In] Key Version in KeyStore to be loaded |
| [in] | pDivInput | [In] Diversification Input used to diversify the key. |
| [in] | bLenDivInput | [In] Length of diversification input used to diversify the key. If 0, no diversification is performed. |
| [out] | pDiversifiedKey | [Out] Diversified key. Will be of current block size. |
| phStatus_t phCryptoSym_DiversifyDirectKey | ( | void * | pDataParams, |
| uint16_t | wOption, | ||
| uint8_t * | pKey, | ||
| uint16_t | wKeyType, | ||
| uint8_t * | pDivInput, | ||
| uint8_t | bLenDivInput, | ||
| uint8_t * | pDiversifiedKey | ||
| ) |
Diversify Direct Key - Note: This function invalidates the currently loaded key.
Using the key passed in the pKey parameter this function calculates a diversified key according to the wOption specified that can be used in different applications.
| PH_ERR_SUCCESS | Operation successful. |
| PH_ERR_INVALID_DATA_PARAMS |
|
| PH_ERR_UNSUPPORTED_PARAMETER | Key Type not supported (for key diversification). |
| PH_ERR_LENGTH_ERROR | Length of diversification input is wrong. |
| Other | Depending on implementation and underlying component. |
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | wOption | [In] Option to specify the diversification method. One of the below mentioned information.
|
| [in] | pKey | [In] Key to be loaded. Number of bytes should be based on the key type mentioned in wKeyType parameter. |
| [in] | wKeyType | [In] Type of Key to be loaded. Supported ones are |
| [in] | pDivInput | [In] Diversification Input used to diversify the key. |
| [in] | bLenDivInput | [In] Length of diversification input used to diversify the key. If 0, no diversification is performed. |
| [out] | pDiversifiedKey | [Out] Diversified key. Will be of current block size. |
| phStatus_t phCryptoSym_ApplyPadding | ( | uint8_t | bOption, |
| const uint8_t * | pDataIn, | ||
| uint16_t | wDataInLength, | ||
| uint8_t | bBlockSize, | ||
| uint16_t | wDataOutBufSize, | ||
| uint8_t * | pDataOut, | ||
| uint16_t * | pDataOutLength | ||
| ) |
Apply Padding to a given data buffer.
| PH_ERR_SUCCESS | Operation successful. |
| PH_ERR_BUFFER_OVERFLOW | wDataOutBufSize is too small. |
| PH_ERR_INVALID_PARAMETER | Unsupported bOption. |
| Other | Depending on implementation and underlying component. |
| [in] | bOption | [In] Specifies padding mode |
| [in] | pDataIn | [In] Input data for which padding is required. |
| [in] | wDataInLength | [In] Length of bytes available in pDataIn buffer. |
| [in] | bBlockSize | [In] Block size to be used for padding. |
| [in] | wDataOutBufSize | [In] Size of output data buffer. |
| [out] | pDataOut | [Out] Output data containing the information with padded bytes added. |
| [out] | pDataOutLength | [Out] Length of bytes available in pDataOut buffer. |
| phStatus_t phCryptoSym_RemovePadding | ( | uint8_t | bOption, |
| const uint8_t * | pDataIn, | ||
| uint16_t | wDataInLength, | ||
| uint8_t | bBlockSize, | ||
| uint16_t | wDataOutBufSize, | ||
| uint8_t * | pDataOut, | ||
| uint16_t * | pDataOutLength | ||
| ) |
Remove Padding to a given data buffer.
| PH_ERR_SUCCESS | Operation successful. |
| PH_ERR_INVALID_PARAMETER | Unsupported bOption or wDataInLength is not a multiple of the bBlockSize parameter. |
| PH_ERR_FRAMING_ERROR | Padding byte wrong. Expected 80h as the first padding byte if bOption = Zero Padding with MSB Bit Set. |
| Other | Depending on implementation and underlying component. |
| [in] | bOption | [In] Specifies padding mode |
| [in] | pDataIn | [In] Input data from which padding should be removed. |
| [in] | wDataInLength | [In] Length of bytes available in pDataIn buffer |
| [in] | bBlockSize | [In] Block size to be used for padding |
| [in] | wDataOutBufSize | [In] Size of output data buffer |
| [out] | pDataOut | [Out] Output data containing the information with padded bytes removed. |
| [out] | pDataOutLength | [Out] Length of bytes available in pDataOut buffer |
| phStatus_t phCryptoSym_SetConfig | ( | void * | pDataParams, |
| uint16_t | wConfig, | ||
| uint16_t | wValue | ||
| ) |
Set configuration parameter.
| PH_ERR_SUCCESS | Operation successful. |
| PH_ERR_INVALID_DATA_PARAMS |
|
| PH_ERR_INVALID_PARAMETER | Valid wConfig but invalid wValue for that config. |
| PH_ERR_UNSUPPORTED_PARAMETER | Invalid (Unsupported) wConfig. |
| Other | Depending on implementation and underlying component. |
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | wConfig | [In] Configuration Identifier. One of the below mentioned ones, |
| [in] | wValue | [In] Configuration Value for the provided configuration identifier.
|
| phStatus_t phCryptoSym_GetConfig | ( | void * | pDataParams, |
| uint16_t | wConfig, | ||
| uint16_t * | pValue | ||
| ) |
Get configuration parameter.
| PH_ERR_INVALID_DATA_PARAMS |
|
| PH_ERR_INVALID_PARAMETER | Value behind wConfig not valid at the moment. |
| PH_ERR_UNSUPPORTED_PARAMETER | Invalid (Unsupported) wConfig. |
| Other | Depending on implementation and underlying component. |
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | wConfig | [In] Configuration Identifier. One of the below mentioned ones, |
| [out] | pValue | [Out] Configuration Value for the provided configuration identifier.
|
| phStatus_t phCryptoSym_SetAuthenticationTag | ( | void * | pDataParams, |
| const uint8_t * | pTag, | ||
| uint8_t | bTag_Len | ||
| ) |
Load Authentication Tag information.
This will be used by Decrypt when Cipher Mode is CCM and CCM*. Refer Decrypt for more information.
| PH_ERR_SUCCESS | Operation successful. |
| PH_ERR_INVALID_DATA_PARAMS |
|
| PH_ERR_INVALID_PARAMETER |
|
| Other | Depending on implementation and underlying component. |
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | pTag | [In] Authentication tag to use for CCM or CCM* decryption. |
| [in] | bTag_Len | [In] Length of bytes available in pTag buffer. |
| phStatus_t phCryptoSym_GetAuthenticationTag | ( | void * | pDataParams, |
| uint8_t * | pTag, | ||
| uint8_t * | pTag_Len | ||
| ) |
Get Authentication Tag information.
This will be used by Encrypt when Cipher Mode is CCM and CCM*. Refer Encrypt for more information.
| PH_ERR_SUCCESS | Operation successful. |
| PH_ERR_INVALID_DATA_PARAMS |
|
| PH_ERR_INVALID_PARAMETER | pTag and pTag_Len is Null |
| Other | Depending on implementation and underlying component. |
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | pTag | [In] Authentication tag generated for CCM or CCM* encryption. |
| [in] | pTag_Len | [In] Length of bytes available in pTag buffer. |
| phStatus_t phCryptoSym_GetLastStatus | ( | void * | pDataParams, |
| uint16_t | wStatusMsgLen, | ||
| int8_t * | pStatusMsg, | ||
| int32_t * | pStatusCode | ||
| ) |
Returns the status code and respective message.
This interfaces is supported only if CryptoSym component is initialized with mBedTLS Initialization.
| PH_ERR_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlying component. |
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | wStatusMsgLen | [In] Size of bytes allocated for pStatusMsg parameter. |
| [out] | pStatusMsg | [Out] The equivalent status message for the information available in pStatusCode. |
| [out] | pStatusCode | [Out] The status code returned by the underlying Crypto library. |